Hi, been trying to make a banner for a website, and when I put the mouse over the coloured circles, the background becomes the colour of the circle I hovered, this image:
I have this code:
Display All
but it not be working I managed to get a function to document.write("whatever") but I can't get it to change BG colour...
What am I missing?
Thanks :)
---------- Post added at 05:48 PM ---------- Previous post was at 05:45 PM ----------
Lolfail
Never even started the function... :blush:
so never mind
I have this code:
HTML Source Code
- <html>
- <body>
- <img src ="http://i37.tinypic.com/29olnyr.jpg" width ="468" height ="60" alt="Colours"
- usemap="#colourmap" />
- <map name="colourmap">
- <area shape ="circle" coords ="27,23,12" // Circulo vermelho
- onMouseOver="javascript:changeBGC('FF0000')" // mudar côr para vermelho
- href ="" target ="_blank" alt="Sun" />
- </map>
- <p id="desc"></p>
- </body>
- </html>
but it not be working I managed to get a function to document.write("whatever") but I can't get it to change BG colour...
What am I missing?
Thanks :)
---------- Post added at 05:48 PM ---------- Previous post was at 05:45 PM ----------
Lolfail
Never even started the function... :blush:
so never mind
The post was edited 1 time, last by Dexter. ().