This is a discussion on "Bring to top Code" within the Web Page Design section. This forum, and the thread "Bring to top Code are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Bring to top Code
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Bring to top Code
Hi there,
Hope someone can help me out! i got a page that i am working on , and i have a frame in it which the links on the side of the page displays the contents of that link inside the frame box, now these links run from top to bottom of the page, which extend farther down than the frame box, i need a code that will bring the index page to the top of the page, but also open the frame of that link also, what i have is : <td width="150" height="20"><a href="toys.html" target="MainFrm">◊Toys and Games</a> this opens the toys.html in the frame but since this is the last link on the left side it is far down the page, and when you click it you dont even see that the frame changed, is there a way to place a code somewhere so that when someone clicks on it , it will actually bring the page up in the frame, AND move the scroll bar up so they can see the frame, page is : http://www.busybeeretail.com/test thanks, Elaine |
|
|
|
||||
|
Re: Bring to top Code
The simpliest way would be to place an anchor tag at the top of each page and link to that directly.
ie. <a name="top"></a> then change your left hand links to be <a href="toys.html#top" target="MainFrm">◊Toys and Games</a>
__________________
WelshStew Lead Administrator tierney rides tboard - uk site | xtreme wales - extreme clothing If you think I've helped, click the "Thanks" webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
|
|
|||
|
Re: Bring to top Code
I tried, it doesnt work it only executes the display in frame part it doesnt bring it up!
you see the code though on the bottom bar that it is pointing to the top, but it doesnt actually bring it up Elaine its like it is skipping the #top tag |
|
||||
|
Re: Bring to top Code
I'm geting a 404 (page not found) for the page toys.html.
Does this page exist?
__________________
WelshStew Lead Administrator tierney rides tboard - uk site | xtreme wales - extreme clothing If you think I've helped, click the "Thanks" webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
|
|
|||
|
Re: Bring to top Code
not yet, the only ones that work so far is Jewelry and a few others at the top, im not there yet ,
but the pages that go inside the frame is the same all the time just the pictures change Elaine |
|
|||
|
Re: Bring to top Code
The code i need is to bring the index page up, not all the other framed pages, they stay the same,
that #top code is telling the toys.html page to go to the top which that already does automatically in the frame, its just the index page, the main page that doesnt go back up it stays down.... Elaine |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I bring this site up again because, I have no idea how to make this site pull in. | TheSealPortalTeam | Free Web Site Critique | 4 | Jun 10th, 2008 12:46 |
| code behind code doesnt work | skat | ASP.NET Forum | 4 | Feb 18th, 2008 10:05 |
| live search code and styleswitcher code | hebel | JavaScript Forum | 0 | May 12th, 2007 06:16 |
| Can anyone help me with this code? | KOinMotion | Web Page Design | 3 | Nov 14th, 2006 17:33 |
| Can somebody give me the code to hide the source code? | renren | JavaScript Forum | 7 | Mar 7th, 2006 12:27 |