tolster Posted March 24, 2006 Posted March 24, 2006 Hi I'm looking for a contribution which can achieve a category menu similar to the one below. Does anyone know a good solution? Each category level needs its own background image. Preferably 3 to 4 levels deep. Gr, Tolster
theone2k Posted April 30, 2006 Posted April 30, 2006 Hi Did you get an answer for this, find out how to do it. This is exactly what im looking for my self.
theone2k Posted April 30, 2006 Posted April 30, 2006 Hmm Well I have sort of worked out how to do what i want dont know if this will be a help to anyone but the code i have working atm is else { $cPath_new = 'cPath=' . $tree[$counter]['path']; } //*************** NEW CODE ********************* echo '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_BUTTON . $tree[$counter]['name'], $tree[$counter]['name']) . '</a></br>'; //*************** NEW CODE ********************* if ($tree[$counter]['next_id'] != false) { tep_show_category($tree[$counter]['next_id']); } This then looks in a folder i have made in images (image/buttons) and loads the image for the link that has the same name as it E.G you have a category Named: Hardware Image Name : Hardware.gif , Hardware.jpg OR Hardware.png Seems not to need to be a set File type so long as its an image it will load it. This is a Very Eairly test so i mite not work very well and so far it doesnt do anything diffrent for subcats but seems to work :D Dave.
jasonabc Posted May 1, 2006 Posted May 1, 2006 I got rollover images for top level categories working on this site I sent live last week: http://www.silverpcs.com I'll be releasing it as a contribution next week as there didn't seem to be any that did the same job when I was looking to achieve this effect when I built the store. Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
tmciff Posted May 24, 2006 Posted May 24, 2006 I got rollover images for top level categories working on this site I sent live last week: http://www.silverpcs.com I'll be releasing it as a contribution next week as there didn't seem to be any that did the same job when I was looking to achieve this effect when I built the store. I'm looking forward to seeing it. Congratulations!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.