just have a look at your first line ... that is invalid according to the examples i showed you:
[code=javascript]var menu = "<b><a style="color:#C 11B17">Introduc tion</a></b>"[/code]
the second double-quote terminates the string-literal and a js-error will be raised since everything afterwards couldn't be evaluated correctly. so the following would be correct:
or even:
[CODE=javascript]var menu = "<b><a style=\"color:# C11B17\">Introd uction</a></b>"[/CODE]
would be correct ... unless that is fixed it will not work.
kind regards
[code=javascript]var menu = "<b><a style="color:#C 11B17">Introduc tion</a></b>"[/code]
the second double-quote terminates the string-literal and a js-error will be raised since everything afterwards couldn't be evaluated correctly. so the following would be correct:
Code:
var menu = '<b><a style="color:#C11B17">Introduction</a></b>'
[CODE=javascript]var menu = "<b><a style=\"color:# C11B17\">Introd uction</a></b>"[/CODE]
would be correct ... unless that is fixed it will not work.
kind regards
Comment