Computing.Net > Forums > Web Development > Content keeps going back to top

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Content keeps going back to top

Reply to Message Icon

Name: Zenno
Date: July 29, 2006 at 11:25:43 Pacific
OS: Windows XP SP2
CPU/Ram: P4 3.0 Ghz / 1 Meg DDR
Product: Abit
Comment:

Hello, i'm doing this page for a client. He's a singer. When i click on a song to hear it, no problem for the pop-up flash player but, the content keeps going back to the top of the page. Very unconvenient for the surfer that always lost track of where he/she was.

HERE'S WHAT I MEAN: Please go to: http://www.familleboutet.com/DC/bienvenue.html

- click on CHANSONS ET MUSIQUES on top of the page.

- Then click on SOLOS on the left menu

- You now have a list of songs on the right, scroll wayyyy down and choose one of the last songs by clicking on the little yellow musical note.

I know it must be very easy to fix, i just don't know how.

Thank you very much.



Sponsored Link
Ads by Google

Response Number 1
Name: smbotans
Date: July 29, 2006 at 20:05:38 Pacific
Reply:

i notice your link is # which is a bookmark that points nowhere and may be it takes you to the top because of that

use # as a proper bookmark and see what happens

you have to look up on the net how to use bookmarks in HTML

serge

SEO Resources

Target the right Keywords

FREE SEO Report


0

Response Number 2
Name: Zenno
Date: July 30, 2006 at 05:04:06 Pacific
Reply:

That # was in the original script i use to open the pop up windows. If i remove it, the script just doesn't work so i have to keep it.

thanks anyway.


0

Response Number 3
Name: smbotans
Date: July 30, 2006 at 20:05:34 Pacific
Reply:

i understand that ... you need a link for the popup ... my idea is make the song title a bookmark and then use #song_title instead of # ... this way when someone clicks on it, the popup will appear and the browser will scroll down to the same part they clicked from ... i think this will work

serge

SEO Resources

Target the right Keywords

FREE SEO Report


0

Response Number 4
Name: Michael J (by mjdamato)
Date: July 31, 2006 at 00:41:38 Pacific
Reply:

In the onClick event for each link add "return false;" (sans the quote marks).

Like this:

OnClick="window.open('../MP3/Daniel Casavant_Solo_IM FREE.html', 'titre', 'height=100, width=630'); return false;"

Michael J


0

Response Number 5
Name: Zenno
Date: July 31, 2006 at 12:07:45 Pacific
Reply:

GREAT !!!

Thank you for your help, it's really appreciated.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Content keeps going back to top

Free Alternative To Dreamweaver www.computing.net/answers/webdevel/free-alternative-to-dreamweaver/3503.html

Net Me Know www.computing.net/answers/webdevel/net-me-know/1793.html

Form to email page link... www.computing.net/answers/webdevel/form-to-email-page-link/3161.html