JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 20th, 2001, 09:09 PM
sammasati sammasati is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 18 sammasati User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Help! JavaScript Nightmare!

I have spent four days on this little nightmare. Does anyone have suggestions for a JS newbie?

The following URL

http://www.huntartsweb.com/shared/untitled1.shtml

has a script which activates a rollover. The buttons in the purple area swap images on rollover, and an image in the grey bar under it swaps out for white text.

The problem is when the mouse is out of the button area why doesn't the text flip the blank image up as the MouseOut state?

Please help if you can!

Ryan

Reply With Quote
  #2  
Old August 20th, 2001, 09:21 PM
DJdrenaline DJdrenaline is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2001
Location: Toronto, Ontario, Canada
Posts: 631 DJdrenaline User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 19 sec
Reputation Power: 12
You have two different sources. When the page loads, this is the source for your 'remote' image:
infobarStatic.src = "../images/infobar_image.gif"

Then in the javascript you have:
infobarStatic.src = "/images/infobar_image.gif"

Make sure your paths are right.

Reply With Quote
  #3  
Old August 20th, 2001, 10:07 PM
sammasati sammasati is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 18 sammasati User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I tried unifying the paths.

first try:

http://www.huntartsweb.com/shared/untitled1.shtml

second try;

http://www.huntartsweb.com/shared/untitled2.shtml

neither seems to work.

Any suggestions?

ryan

Reply With Quote
  #4  
Old August 20th, 2001, 11:53 PM
evildj evildj is offline
Beelzebub
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Location: The nether regions...ok, San Diego
Posts: 164 evildj User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
Ryan, your first example...
http://www.huntartsweb.com/shared/untitled1.shtml
seems to work perfectly. The text image swaps and then becomes blank on rolloff. Win2K IE6

Reply With Quote
Closed Thread

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > Help! JavaScript Nightmare!

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap