vadertech Posted November 10, 2002 Posted November 10, 2002 Here is the code for my image below. <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'home.jpg', HEADER_TITLE_HOME) . '</a>'; ?> I need some help adding some code to make rollover effect on that image.
Guest Posted November 12, 2002 Posted November 12, 2002 have you tired using your style sheet?? Im not 100% what you are doing, so this may not work,but basically if you add this to the html it should work! Try this <!--a { color: #666600; text-decoration: none; } a:hover { color: #999900; text-decoration: underline; } //--> Or indeed add it to the style sheet, and then call it. (dont ask me how I dont know enough about php or os to help)
dahammer2 Posted November 12, 2002 Posted November 12, 2002 That would change the style for a text link but not a image. If you do a search for "javascript rollover" you will find heaps of sources on how to make them. You would also need a source for the second image (which OS doesn't provide, you could just hard code.. ) Its not a easy one to answer without taking some time to write the mod.. But if you have some basic php/html skills search for "javascript rollover" in google
vadertech Posted November 16, 2002 Author Posted November 16, 2002 i found the answer.....DREAMWEAVER :!: 8) 8) 8)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.