• Welcome to WebsiteBaker Community Forum. Please log in or sign up.
Welcome, Guest
News
Support WebsiteBaker
Your donations will help to:
PayPal
  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!
You can donate by clicking on the button below.

Taking image rollover to its extreme

Started by ngcat, March 13, 2006, 11:28:00 PM

ngcat

My first WB Project.
This has been a challenge as the designer wanted a graphic menu.
Since WB convinced me as one of the best CMS around I wanted to use it for this site.
Note: the Main- and Submenu are dynamically created - no hardcoding there.

Code snippet:
<img src="<?php echo TEMPLATE_DIR; ?>/img/<?php echo stripslashes($page['menu_title']); ?>_s.png"

See what i mean?

Transparent png's for IE has been the challenge but it works, sort of (you see the gray transparent png before the fix applies).
http://www.feldmusikhochdorf.ch

/Martin

    rabsaul

    Hm.. I must be missing something, because I don't see why you needed transparency to accomplish that look....

    ?

      \n\n