Portal Home > Knowledgebase > Articles Database > Simple if else statement made me crazy
Posted by cannibal, 06-15-2010, 02:29 AM Hi, I am using an ad script and now I am trying to modify it. I just have one line of contains reference from style sheet were originally appears like this How can I add else statment to get .normalad style ?? I tried to do this but it didn't work
Posted by Driver01, 06-15-2010, 04:26 AM Difficult to say but try this: as long as the $v.highlited and $v.featured variables return false the div class will return adnormalad Last edited by Driver01; 06-15-2010 at 04:33 AM.
Add to Favourites Print this Article