change pictures under menue dynamically

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
egerlach
Posts: 74
Joined: Thu 25. Aug 2005, 21:29
Location: Karlsruhe (Germany)

change pictures under menue dynamically

Post 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
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Maybe this "random" method can be used with your menu CSS classes:
http://www.phpwcms.de/forum/viewtopic.php?t=14342
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

KH_Bilder / KH_images

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
nekket
Posts: 613
Joined: Tue 18. Nov 2003, 15:46
Location: Baden-Baden
Contact:

Post 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.
pixelpublic GmbH | Agentur für Neue Medien und Gestaltung
Post Reply