HighDots Forums  

how to keep page from jumping to top?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss how to keep page from jumping to top? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ryhtymman
 
Posts: n/a

Default how to keep page from jumping to top? - 11-08-2005 , 08:20 PM






Hi,

I am fairly knew to html and dreamweaver...

recently designed a website...here's my issue... I created a picture link, and
placed thumbnails on the page, which when clicked upon open a new browser
window showing the large image... when you scroll down the main page, and you
click on the thumbnail image, the main page "jumps" back to the top... Is there
any way to make the page stay at the point that the user scrolled down to ?

any help would be appreciated...
here's the link http://www.shiloh-band.com/pictures.html

thanks

PG



Reply With Quote
  #2  
Old   
Yves G
 
Posts: n/a

Default Re: how to keep page from jumping to top? - 11-08-2005 , 09:53 PM






In the Link field, use:

javascript:;

instead of the # sign

Reply With Quote
  #3  
Old   
bones
 
Posts: n/a

Default Re: how to keep page from jumping to top? - 11-09-2005 , 02:01 PM



<a href="##" onClick="MM_openBrWindow('Plantpics/400/#catalog.Image#','LargePlant','scrollbars=yes,widt h=450,height=450');return false">

The trick is the return false at the end

Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: how to keep page from jumping to top? - 11-09-2005 , 02:14 PM



A much better way that doesn't involve such trickery (AND that will work
even with js turned off) -

<a href="Plantpics/400/#catalog.Image#"
onClick="MM_openBrWindow'Plantpics/400/#catalog.Image#','LargePlant','scrollbars=yes,widt h=450,height=450');return
false">


--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"bones" <jsamoly (AT) hotmail (DOT) com> wrote

Quote:
a href="##"
onClick="MM_openBrWindow('Plantpics/400/#catalog.Image#','LargePlant','scrollbars=yes,widt h=450,height=450');return
false"

The trick is the return false at the end



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.