Linne Posted December 7, 2005 Share Posted December 7, 2005 on my site http://www.musta-surma.savedme.com when you enter my site there is a link on the left side that ses PROJEKT and I have made the pictures so they open in a new window but directly when you press a picture the projekt side scrolls up to the top automatically pleas help me so it wont scroll when picture is pressed????? Link to comment Share on other sites More sharing options...
Linne Posted December 7, 2005 Author Share Posted December 7, 2005 oh by the way FEEL FREE TO COPY MY SOURCE CODE to try helping me out Link to comment Share on other sites More sharing options...
Chocolate570 Posted December 7, 2005 Share Posted December 7, 2005 The problem is that you've put # as the url. That automatically scrolls the frame. Link to comment Share on other sites More sharing options...
hacknsack Posted December 7, 2005 Share Posted December 7, 2005 Linne,Chocolate570 is dead on.This is what you can do with those links to stop that. <html><head> <title></title><script type="text/javascript">function MM_openBrWindow(URL,name,specs,replace) { //v2.0 window.open(URL,name,specs,replace);}</script></head><body><a href="http://w3schools.invisionzone.com/style_emoticons/default/smile.gif" onclick="MM_openBrWindow(this.href,'','width=681,height=515'); return false;"> Open Image</a></body></html> The "return false" makes it work like you want.Thanks, Link to comment Share on other sites More sharing options...
Linne Posted December 8, 2005 Author Share Posted December 8, 2005 thanks now it is working =) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now