IntelliJ Java IDE
The moose likes HTML, CSS and JavaScript and the fly likes Help with script, please! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Help with script, please!" Watch "Help with script, please!" New topic
Author

Help with script, please!

Charlie Hustles
Greenhorn

Joined: Apr 12, 2004
Posts: 4
I can't seem to get this to work no matter how hard I try.
Here is the page I am working on (go to products):
http://www.nightmareskate.com/
And the frame itself:
http://www.nightmareskate.com/products.html
What I am trying to do is make it so that there is a set of colors under each shirt, and when you mouseover a color, it changes the shirt that color. I was able to get the first one working, but when I try to do it for the others, I can't seem to get it right.
Please help, I'm going crazy trying to figure it out.
Thanks.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
This is how I personally would do it...

Eric
Charlie Hustles
Greenhorn

Joined: Apr 12, 2004
Posts: 4
Thanks man that worked perfectly. But for some reason it will work by itself ( http://www.nightmareskate.com/products.html ) but not in the iFrame when you click products on the main menu ( http://www.nightmareskate.com ). Do you have any idea why?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
There is something getting in the way with your menu on the right I think..
Try this
add a break <br> after the image and the table
Add a div tag around the tag, give it a width of 100% and center it
<div style="text-align:center;width:100%">
see if that makes a difference....Not sure...
Eric
Charlie Hustles
Greenhorn

Joined: Apr 12, 2004
Posts: 4
I tried changing it to http://www/nightmareskate.com/products.html , sorry I don't know how to post code on this forum yet)and messing around with that a little. Not sure if that's exactly what you meant, but I still can't get it to work when it's in the frame.
Charlie Hustles
Greenhorn

Joined: Apr 12, 2004
Posts: 4
Nevermind, I got it working. Thanks.
 
 
subject: Help with script, please!
 
Threads others viewed
how to protect viewing source code of class file or jar file from client
SCEA and UML Success Guaranteed : Now with lifetime offer
softSCBCD opinions?
If anybody knows any (text) processor with converting capabilities to/from UNICODE?
OOAD-486 Exam Guide Release: Guaranteed Success or Money Back
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture