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

Content keeps going back to top

Reply to Message Icon

Original Message
Name: Zenno
Date: July 29, 2006 at 11:25:43 Pacific
Subject: Content keeps going back to top
OS: Windows XP SP2
CPU/Ram: P4 3.0 Ghz / 1 Meg DDR
Model/Manufacturer: 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.


Report Offensive Message For Removal

Response Number 1
Name: smbotans
Date: July 29, 2006 at 20:05:38 Pacific
Subject: Content keeps going back to top
Reply: (edit)

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


Report Offensive Follow Up For Removal

Response Number 2
Name: Zenno
Date: July 30, 2006 at 05:04:06 Pacific
Subject: Content keeps going back to top
Reply: (edit)

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.


Report Offensive Follow Up For Removal

Response Number 3
Name: smbotans
Date: July 30, 2006 at 20:05:34 Pacific
Subject: Content keeps going back to top
Reply: (edit)

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


Report Offensive Follow Up For Removal

Response Number 4
Name: Michael J (by mjdamato)
Date: July 31, 2006 at 00:41:38 Pacific
Subject: Content keeps going back to top
Reply: (edit)

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


Report Offensive Follow Up For Removal

Response Number 5
Name: Zenno
Date: July 31, 2006 at 12:07:45 Pacific
Subject: Content keeps going back to top
Reply: (edit)

GREAT !!!

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


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Content keeps going back to top

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software