Help, I changed userIsMember, now i don't want an else item, what do I do now?
if( userIsMember){ aI("text=MEMBER AREA;showmenu=memberarea;status=member area;"); }
else{('');}
Thanks,
maz
switch menu item
Excellent guess John! It'll drop through to the next line of code whether the conditional is true or false; if it's true, it'll execute the aI() function then continue to the next line, if it's false, it'll skip the aI() function and continue to the next line.jgillett wrote:I'll take one of my famous (or infamous) guesses...
Maz, you can also drop the curly braces if you like:
Code: Select all
if(userIsMember) aI("text=MEMBER AREA;showmenu=memberarea;status=member area;");
Cheers,
Kevin
Hey, good for you!maz wrote:The sites going really well, I've been in US & UK time zones.
Congrats I'll be polite and won't ask the obvious question... But if I can get rid of the sleepies you might find me on your doorstep.maz wrote:Might be time for a break, my birthday Saturday
As for a break, I agree. From all your posts here lately I know you've really been working hard on the site. Step back - have fun. You deserve it.
I'm coming up on 13 straight days (and nights) of working, and I'm pooped. We have Monday off, so that gives me a 4-day weekend. Me and the wolf are staying home and we're just going to waste the whole weekend - I can't wait
John