Jump to content

princessdeia

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

princessdeia's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. That is what I need help with - writing the code to reference the image. Both the array and in the html
  2. I want to create an image/text rollover on my site, similar to [url=http://www.deeandjason.co.uk/shop/test.php]this[/url]. All the data is held in a mySQL table. I can get the text part to work, but not the image part. My code so far is, javascript function .... function change(html){   DESCRIPTION.innerHTML=html } .... php code .... echo "<a href=\"shop.php?c=$cat_id\" onMouseOver=\"change('$cat_description')\" onMouseOut=\"change('DESCRIPTION')\">$cat_name</a><br>"; .... html code .... <div id="DESCRIPTION">DESCRIPTION</div> .... Thanks in advance Dee
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.