Bring to top Code

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.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 17th, 2008, 12:12
Junior Member
Join Date: Feb 2007
Location: canada
Age: 40
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
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">&loz;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
Reply With Quote

  #2 (permalink)  
Old Jan 17th, 2008, 12:18
welshstew's Avatar
Lead Administrator

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,485
Blog Entries: 13
Thanks: 1
Thanked 20 Times in 18 Posts
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">&loz;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)
Reply With Quote
  #3 (permalink)  
Old Jan 17th, 2008, 12:22
Junior Member
Join Date: Feb 2007
Location: canada
Age: 40
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #4 (permalink)  
Old Jan 17th, 2008, 12:30
welshstew's Avatar
Lead Administrator

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,485
Blog Entries: 13
Thanks: 1
Thanked 20 Times in 18 Posts
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)
Reply With Quote
  #5 (permalink)  
Old Jan 17th, 2008, 12:33
Junior Member
Join Date: Feb 2007
Location: canada
Age: 40
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #6 (permalink)  
Old Jan 17th, 2008, 12:50
Junior Member
Join Date: Feb 2007
Location: canada
Age: 40
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #7 (permalink)  
Old Jan 17th, 2008, 13:47
Junior Member
Join Date: Feb 2007
Location: canada
Age: 40
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Bring to top Code

Does anyone know how to bring the index page up when clicking on a link that displayes in a frame?

thank you ,

Elaine
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 20:00.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43