 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
grcci
Joined: 09 Jan 2008
Posts: 2
|
| Posted: Mon Jan 21, 2008 9:05 pm Targeting anchor's in frames from another frame |
|
|
Hey, great site. Love it.
He's one for you, I'm new to alot of HTML but I have programed in a couple of other languages before. BASIC 'n' Turbo Pascal (Similar to C+)
Ok I have a framed site that has 5 frames. four frames with one frame having another frame inside it.
<FRAME NORESIZE>
<FRAMESET ROWS="*" COLS="*">
<Frameset COLS="20%,*" rows="30%, *">
<FRAME SRC="SET1.HTM" NORESIZE MARGINWIDTH=0 MARGINHEIGHT=0 NAME=GRCCI SCROLLING=NO>
<FRAME SRC="SET2.HTM" NORESIZE MARGINWIDTH=0 MARGINHEIGHT=0 NAME=HEADER SCROLLING=NO>
<FRAME SRC="SET3.HTM" NORESIZE MARGINWIDTH=5 MARGINHEIGHT=5 NAME=SIDEBAR>
<FRAMESET col="*" rows="*,8%">
<FRAME SRC="SETX.HTM" MARGINWIDTH=1 MARGINHEIGHT=1 NAME=MAIN SCROLLING=YES>
<FRAME SRC="SET6.HTM" NO RESIZE MARGINWIDTH=1 MARGINEHEIGHT=1 NAME=FOOTER SCROLLING=NO>
</frameset>
</FRAMESET>
<NOFRAMES>NOFRAMES stuff
</NOFRAMES>
</FRAMESET>
</FRAME>
In frame footer I have a link
called TOP OF PAGE
When clicked I want the CURRENT page that is being displayed in the Main frame to return to the top of the page. <a name="top">
I want to know how to target name anchors in another frame |
|
|
grcci
Joined: 09 Jan 2008
Posts: 2
|
| Posted: Tue Jan 22, 2008 4:22 pm STEP 2 |
|
|
Well no help as of yet but I have figured out how to target an anchor in another frame
<a href="source.htm#top">top of page</A>
but how do you get the href to automatically find out which htm page is currently being displayed so that if a different page is being displayed like current.htm it know to put current.htm in front of the #top tag???
Is there even a way? |
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|