Page jumping

Permalink
Hello
Can anyone please assist ?
When user clicks on "on demand" music file, the page jumps to the top everytime. Very annoying.
My coding for external files:
<div class="cc_ondemand_content" data-username="myusername">Loading ...</div>
<script language="javascript" type="text/javascript" src="http://myfiles.js"></script>


Many thanks if anyone can help. ( I've tried " nojump " everywhere btw )

tjbphoto
 
hutman replied on at Permalink Reply
hutman
Can you provide a link to a page where we can see this in action? It sounds like something in the js file isn't using preventDefault to stop the page from jumping when the href of the link is #.
tjbphoto replied on at Permalink Reply
tjbphoto
Hi
http://www.apokoronas365.com
On demand.
Thanks
jero replied on at Permalink Reply
jero
You're likely to need to hack the filehttp://cp10.serverse.com:2199/system/ondemand.js... since it's responsible for adding the code to the page.