problem with javascript

I'm currently moving my Prado application to Yii…

In Prado my js menu it's still working:

But, in Yii my menu is stop working:

I can't insert PHP code to javascript. How to fix this?


You should use <?php echo … ?>

I did it. But, it doesn't work… and with another Yii short PHP tags too

Btw, I just found another js menu with the same affect but it doesn't need to put ULR in js code.

Jquery solved the problem again…

Thanks Qiang…