Javascript question
-
Hi all,
I wondered if anyone could guide me here.
I have this code:
‘<? if ($theme_options[‘auto_rotate’]){ ?>var autoRotate = 1;<? } else { ?>var autoRotate = 0;<? } ?>’but I don’t want to use theme options, I just want to auto-rotate without have to set in options.
What do I need to change? I’m very weak on JavaScript.
Thanks
The topic ‘Javascript question’ is closed to new replies.