Hi,
I'm trying to insert a flash menu in my layout in the Javascript section list in a box, i've done this using dreamweaver and have copied the code across over and pasted it in (i'm eventually going to be removing the other rows and leaving only the Flash). This results in a javascript error of 'object expected'. The line that is being highlited in red is:
Having looked at the code, I cant see where i'm going wrong, the flash file is called 'home-menu'.swf & the code looks like this:
Any idea?
Thx Steve
I'm trying to insert a flash menu in my layout in the Javascript section list in a box, i've done this using dreamweaver and have copied the code across over and pasted it in (i'm eventually going to be removing the other rows and leaving only the Flash). This results in a javascript error of 'object expected'. The line that is being highlited in red is:
Code:
<embed src="home-menu.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="170" height="286"></embed>
Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td valign="top" width="8%" bgcolor="<actinic:variable name="Palette2" />"><img src="theme_tab2_left.gif" /></td> <td valign="top" bgcolor="<actinic:variable name="Palette2" />"><td bgcolor="<actinic:variable name="Palette2" />" width="84%" height="20"><div align="center"> <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','170','height','286','src','home-menu','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','home-menu' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="170" height="286"> <param name="movie" value="home-menu.swf" /> <param name="quality" value="high" /> <embed src="home-menu.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="170" height="286"></embed> </object></noscript> <td valign="top" width="8%" align="right" bgcolor="<actinic:variable name="Palette2" />"><img src="theme_tab2_right.gif" /></td> </tr> <tr> <td colspan="3" class="thinborder2" style="padding: 3px;"> <script language="javascript" type="text/javascript"> document.write(YahooSections(section_tree)) </script> </td> </tr> </table>
Thx Steve
Comment