• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Help with script, please!

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is how I personally would do it...

Eric
 
Charlie Hustles
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nevermind, I got it working. Thanks.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic