SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
-
Jun 18, 2002, 14:39 #1
- Join Date
- Jan 2002
- Location
- smelly armpit of Asia
- Posts
- 305
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Chromeless window 3.5 and tool tips
2 questions actually...
1)I'm trying to use the chromeless window 3.5 script to launch images on clicking some thumbnails. But I notice that upon launching the pop-up window, the browser goes back up to the top of the page. Is there any way to keep this from happening?
2) I'm also trying to get a dhtml tool tip script to work on the thumbnails. Basically I need to have the tool tip pop up on mouseover with a description of the thumbnail, somewhat like an image alt text but nicer. I've tried to make a couple of scripts run with the chromeless window but I'm getting errors. How do I add a onmouseover event to an existing script like the chromeless? And does anyone have a link to a nice, light (not a lot of code coz my pages are starting to get a bit portly) dhtml / js tool tips script?http://www.soapbox101.com
-
Jun 18, 2002, 15:01 #2
- Join Date
- Jan 2001
- Location
- Lawrence, Kansas
- Posts
- 2,066
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
For question 1, it sounds like you're using href="#" as part of your link without a return false; command at the edn of the onClick method. Change your links to look like this:
Code:<a href="#" onClick="chromelesswindowfunction(); return false;">
Code:<a href="noJS.html" onClick="chromelesswindowfunction(); return false;">
-
Jun 19, 2002, 01:52 #3
- Join Date
- Jan 2002
- Location
- smelly armpit of Asia
- Posts
- 305
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
thanks!!!!!
http://www.soapbox101.com
-
Jun 19, 2002, 02:48 #4
- Join Date
- Apr 2001
- Location
- Sydney Australia
- Posts
- 869
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
www.dynamicdrive.com have some nice tool tip scripts
affordable website design
:: sydney australia ::
Bookmarks