Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 08:03:41 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155551 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Using Nested If Statements in Showmenu2 function  (Read 308 times)
ddombadoh

Offline Offline

Posts: 24


« on: September 01, 2011, 11:54:05 PM »

Dear All,

I need help on how to use nested if statements in the showmenu2 function. I have about three conditions to test on the class of the <li> menu item, and apply an appropriate style.

Any help on this will be much appreciated.

Thank you.
Logged
DarkViper
Development Team
*****
Offline Offline

Posts: 1253


« Reply #1 on: September 02, 2011, 01:05:07 AM »

CONDITIONAL FORMATTING in show_menu2():
it does not support nested conditions.

Quote from: README.en.txt
The conditional test is a combination of one or more boolean tests.
If more than one test is supplied, it must be combined with other tests
using either || (boolean OR) or && (boolean AND).
Logged

Anleitungen lesen und selber nachdenken ist anstrengend...  Da lass ich doch lieber andere für mich denken...

In 1984:  Nineteen Eighty-Four is a unrealistic utopia!!
In 2012:  Nineteen Eighty-Four is a little piece only of our reality!!
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!