Board Logo

menu_item.js file syntax for links
Dean32766 - 1/11/2010 at 08:10 PM

I have some code that I would like to use for a link within the menu. How can I recode it for the menu_items.js file?

my working code:

<a href="http://www.mywebsite.com/video2.swf" rel="vidbox 640 525">TestVideo2</a>

How do I code it for the menu_items.js file:

['TestVideo2', 'http://www.mywebsite.com/video2.swf', 'javascript:rel=("vidbox 640 525")',

This doesn't work.


tigra - 1/27/2010 at 11:58 PM

try:

['TestVideo2', 'http://www.mywebsite.com/video2.swf" rel="vidbox 640 525',

it's a hack, but it can work


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/