Page 1 of 1

change pictures under menue dynamically

Posted: Thu 20. Sep 2007, 04:09
by egerlach
I've realised a picture under menu navigation by inserting <img src="picture/upload/pin_bl.jpg" width="158" height="202" border="0" />

Now I want to change pictures when the visitor klicks to somewhat menu item. How can I realise that?
Look at http://www.alfs.de - its realised on that phpwcms-Homepage!

thx
Eckard

Posted: Thu 20. Sep 2007, 05:27
by DeXXus
Maybe this "random" method can be used with your menu CSS classes:
http://www.phpwcms.de/forum/viewtopic.php?t=14342

KH_Bilder / KH_images

Posted: Thu 20. Sep 2007, 06:49
by flip-flop
Please have a look:

- Image for every category (php snippet) - http://www.phpwcms.de/forum/viewtopic.php?t=1818
- Image for every toplevel {SHOW_CAT_IMAGE} - http://www.phpwcms.de/forum/viewtopic.php?p=62716
- RT - Special Or Random Image For Every Menu {MENU_IMG} - http://www.phpwcms.de/forum/viewtopic.php?t=9899

And the same in German language: http://www.phpwcms.de/forum/viewtopic.php?p=84020#84020

Knut

Posted: Thu 20. Sep 2007, 07:32
by nekket
http://www.alfs.de is my baby :-)
I created that site 2005 ... the script flip-flop posted is ok.
But by using a custom content block you can place an image using the backend too.