Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:41
If statement
Poster: Maz
Dated: Saturday February 21 2004 - 18:24:03 GMT
I'm not very good at php and js, instead of going through php (like login), can I have an if statement to show menu item if a div style is present in the content as a simple workaround?
If I can do that what would it look like?
Thanks
maz
Poster: Maz
Dated: Saturday February 21 2004 - 18:57:50 GMT
I just realized these pages need pagematch if I want them highlighted in the menu.
Can I do an, if pagematch include with(milonic=new menuname("rate")){
?
Now I don't understand pagematch, because it doesn't match an item on the menu. The menu says type=1 but the selection takes you to id=*
url=/type/type=1;pagematch=includes /type/id=*;
then it would go something like, if pagematch includes show with(milonic
Does this make any sense?
Maybe Kevin knows what I'm talking about?
Thanks,
maz