Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

External playlist: page to top on click

3 replies [Last post]

Hi,

I'm using the external JS playlist seen here: http://home5.inet.tele.dk/nyboe/flash/mediaplayer4/JW_API_xmpl_5-2-1-0.html

The problem I have is, when I click on any link, the movie loads, but the page goes to top (like if I have long page, I'll have to scroll back down to see the video). Is this normal, or can I fix it?

The problems disappears if I use

href="javascript: xxx"

instead of href="#" onclick="xxx"

Strange.

But of course, I'd prefer to use "#", so if anyone has a clue, shoot.

Your probleme is that the web page is trying tu find the anchor with a null tag, that why the page go to top when you make the click, but there's a solution, you can do

href="javascript:void()" onclick="xxx"

thanks buddy.