Mariano,
John, first of all, thanks for the help :)
Ok, this is a good solution, but I still have some problems:
- I don't want to have my css images in Pier, but in library.
- I have 2 images per menu item: the unslected one and the selected one (hoover). I need to set this trought CSS.
- I think I need to set width for each menu item
- The href I want it for the whole menu ul li (the whole div) not only the text. I mean, I want that the user can click all over the menu background image.
For this effect I make the menu a table as in: | *Home>/* | *Contact Us>/contact* | etc ), with the same fancy background image for each cell. Then, in the CSS I use .menu td a { width:100%; padding-left: 3em; padding-right: 3em; } where the amount of padding will vary depending on how may menu items you have. CSS is one of my weak points so I usually have to fiddle with padding and margins to make everything "fit" nicely, and I usually make the left or right border solid 1px to get the visual separation. I have no idea if this is the best way to do it.
John, I didn't understood. I need to have different background images for each menu item. Does that help me?
Sorry, but I am very nowbie with CSS (and also with pier and seaside haha).
Thanks
Hope this helps
John
_______________________________________________
Now, the question is, can I do this with PRMenuWidget ? If true, how ? If not, what should I do ? make my own menu seaside component ?
Thanks in advance for the help.
Mariano
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki