[thelist] javascript pop-up problem

Beau Hartshorne beau at members.evolt.org
Mon Jul 23 16:28:28 CDT 2001


Hey Rachel,

It looks like this is what's causing  your problem:

<a href="#"
onClick="openPictureWindow_Fever('gallery/rec_single.jpg','283','355','Water
Jogger Single','0','0')">water jogger single</a>

The "#" is what's sending you back to the top of the page. What you could do
is name some anchors for each photo or each set of photos and use something
like <a href="#gallery" ... > instead of <a href="#" ... > for each
javascript reference.

Good luck,

Beau

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Rachel Starr
Sent: July 23, 2001 2:03 PM
To: thelist at lists.evolt.org
Subject: [thelist] javascript pop-up problem


I'm using  javascript  to open popup picture windows that close when you
click outside of them.  I have a list of links to photos that extends down
the page.  When you click on a photo, the photo window pops up fine, but the
main page moves up to the top.   Then you have to scroll down to get to the
next item in the list.  Why is this happening?   I would like the main page
to remain its place while calling the popups.  You can view this problem at:
http://pinkcandyproductions.com/test/gallery_test.html

Any suggestions?
Cheers,

Rachel


---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list