Need help with highlight table cell script

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Need help with highlight table cell script
soloknight
CZ Newbie
soloknight has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jan 21, 2005
0.00 posts per day
Posts: 2
Points: 425
   
Trying to change the background color of a cell for easier reading with a rollover script for members(Story_home html). I have tried everything to get it to work with no luck here is the code [ Register or login to view links on this board.]
then click on view source.I hope someone here can help me out.



Back to top Reply with quote
#2   re: Need help with highlight table cell script
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
According to the instructions on DD, you just put the script code into the header of your page and then add
<table onMouseover="changeto(event, 'lightgreen')" onMouseout="changeback(event, 'white')">


into the table that you're wanting to apply the effect to.

Maybe if you post the code that you can't get to work, it'd help to see where it's going wrong?


Back to top Reply with quote
#3   re: Need help with highlight table cell script
soloknight
CZ Newbie
soloknight has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jan 21, 2005
0.00 posts per day
Posts: 2
Points: 425
   
well I first part of the java script into the header.html part of my theme. and the second part of the code in the content table in the home_story.html page of my theme. When I go to the frontpage IE get an error. and firefox does nothing.



Back to top Reply with quote
#4   re: Need help with highlight table cell script
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
Sounds like the page is not finding the script. Try putting the script into header.php instead of header.html and see if that works.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum