Page 1 of 1

when using a script with href="#" page jumps to top [solved]

Posted: Wed Feb 08, 2012 4:34 pm
by Nettie
Hello

I'm trying to implement a script on a custom form where i need to use href="#" to make an image appear as a link.

But when I click on it I get sent to the top of the page.

I'm sure there is an easy way around this I just haven't been able to figure it out or find it on the forum.

The script im trying to impement can be seen here:
http://aaronweyenberg.com/90/pretty-che ... ith-jquery

Thanks in advance!

Re: when using a script with href="#" page jumps to top

Posted: Wed Feb 08, 2012 4:39 pm
by Dr.CSS
A link to the page, etc., would Help...

Re: when using a script with href="#" page jumps to top

Posted: Wed Feb 08, 2012 4:44 pm
by Nettie
That was fast ;)

The page is here. I just pasted the form from the example and inserted it above the form im going to use it on.

http://test.primahost.dk/index.php?side ... -produkter

Re: when using a script with href="#" page jumps to top

Posted: Wed Feb 08, 2012 5:20 pm
by Nettie
Never mind - I got it solved. But thank you :)

How do I mark this post as soved?

Re: when using a script with href="#" page jumps to top

Posted: Wed Feb 08, 2012 9:03 pm
by Dr.CSS