Forums
This topic is locked
Dreamweaver and FLASH Dropdown Menu
13 Apr 2005 03:00:16 J Beebout posted:
Hi, I'm having a serious problem, I'm building a website in Dreamweaver that has frames, my problem is I used the Dropdown Menu from GUISTUFF.com (under TOOLS) and adapted it, but I can't get the buttons to target the Main Frame.Any help would be appreciated, here is the code of my FLASH menu:
style type="text/css"
<!--
#floatmenu1{position:absolute; width: 220px; top: 07px; left: 10px; z-index:5; visibility:visible;}
-->
/style
div id="floatmenu1"
object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width=220 height=350
param name=movie value="flashmenu.swf?tarframe=main&makenavfield0=Sales&makenavurl0=salesdep.htm&makenavfield1=Trade&makenavurl1=www.jbb.com&makenavfield2=Financing&makenavurl2=financing.htm&makenavfield3=CarFax&makenavurl3=http://www.carfax.com&makenavfield4=Product&makenavurl4=product.htm&makenavfield5=Insurance&makenavurl5=www.progressive.com&makenavfield6=Reviews&makenavurl6=http://autos.msn.com/"
param name=loop value=false>
param name=menu value=false>
param name=quality value=high>
param name=scale value=noborder>
param name=wmode value=transparent>
param name=bgcolor value=#FFFFFF>
embed src="flashmenu.swf?tarframe=main&makenavfield0=Sales&makenavurl0=salesdep.htm&makenavfield1=Trade&makenavurl1=www.jbb.com&makenavfield2=Financing&makenavurl2=financing.htm&makenavfield3=CarFax&makenavurl3=http://www.carfax.com&makenavfield4=Product&makenavurl4=product.htm&makenavfield5=Insurance&makenavurl5=www.progressive.com&makenavfield6=Reviews&makenavurl6=http://autos.msn.com/" loop=false menu=false quality=high scale=noborder wmode=transparent bgcolor=#FFFFFF width=220 height=350 type="application/x-shockwave-flash" pluginspage="www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" /embed
/object
I thought adding the tarframe=main would work as that's worked with
my other Flash buttons, but for some reason it still changes the Navbar
frame that the dropdown menu is in.
Edited by - The Predator on 13 Apr 2005 03:06:58
Replies
Replied 13 Apr 2005 12:25:12
13 Apr 2005 12:25:12 Matt Bailey replied:
I'm not an expert, but I can see two references to target="_blank" in your code. This would make the target pages of the links open in new windows. It may be that you need to change these so they target your main frame. The default would be target="mainFrame", but it sounds like you've changed the main frame name to 'main' so you would need to use target="main".
Hope that helps.
___________________________________
* Sorry... how do you do that again?... *
Hope that helps.
___________________________________
* Sorry... how do you do that again?... *
Replied 13 Apr 2005 20:01:09
13 Apr 2005 20:01:09 J Beebout replied:
Ok, this is odd, I have NO clue where those BLANK frames showed up from.
I started looking through my code and they aren't there, so somewhere in my copying
and pasting I screwed it up.
Here is the correct code (I hope)
#floatmenu1{position:absolute; width: 220px; top: 07px; left: 10px; z-index:5; visibility:visible;}
-->
/style
div id="floatmenu1"
object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase=
"download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
width=220 height=350
param name=movie value="flashmenu.swf?tarframe=main&makenavfield0=Sales&makenavurl0=
salesdep.htm&makenavfield1=Trade&makenavurl1=www.jbb.com&makenavfield2=
Financing&makenavurl2=financing.htm&makenavfield3=CarFax&makenavurl3=www.carfax.com&
makenavfield4=Product&makenavurl4=product.htm&makenavfield5=Insurance&makenavurl5=
www.progressive.com&makenavfield6=Reviews&makenavurl6=http://autos.msn.com/"
param name=loop value=false
param name=menu value=false
param name=quality value=high
param name=scale value=noborder
param name=wmode value=transparent
param name=bgcolor value=#FFFFFF
embed src="flashmenu.swf?tarframe=main&makenavfield0=Sales&makenavurl0=
salesdep.htm&target=main&makenavfield1=Trade&makenavurl1=www.jbb.com&makenavfield2=
Financing&makenavurl2=financing.htm&makenavfield3=CarFax&makenavurl3=www.carfax.com&
makenavfield4=Product&makenavurl4=product.htm&makenavfield5=Insurance&makenavurl5=
www.progressive.com&makenavfield6=Reviews&makenavurl6=http://autos.msn.com/"
loop=false menu=false quality=high scale=noborder wmode=transparent bgcolor=#FFFFFF
width=220 height=350 type="application/x-shockwave-flash" pluginspage=
"www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
/embed
/object
I started looking through my code and they aren't there, so somewhere in my copying
and pasting I screwed it up.
Here is the correct code (I hope)
#floatmenu1{position:absolute; width: 220px; top: 07px; left: 10px; z-index:5; visibility:visible;}
-->
/style
div id="floatmenu1"
object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase=
"download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
width=220 height=350
param name=movie value="flashmenu.swf?tarframe=main&makenavfield0=Sales&makenavurl0=
salesdep.htm&makenavfield1=Trade&makenavurl1=www.jbb.com&makenavfield2=
Financing&makenavurl2=financing.htm&makenavfield3=CarFax&makenavurl3=www.carfax.com&
makenavfield4=Product&makenavurl4=product.htm&makenavfield5=Insurance&makenavurl5=
www.progressive.com&makenavfield6=Reviews&makenavurl6=http://autos.msn.com/"
param name=loop value=false
param name=menu value=false
param name=quality value=high
param name=scale value=noborder
param name=wmode value=transparent
param name=bgcolor value=#FFFFFF
embed src="flashmenu.swf?tarframe=main&makenavfield0=Sales&makenavurl0=
salesdep.htm&target=main&makenavfield1=Trade&makenavurl1=www.jbb.com&makenavfield2=
Financing&makenavurl2=financing.htm&makenavfield3=CarFax&makenavurl3=www.carfax.com&
makenavfield4=Product&makenavurl4=product.htm&makenavfield5=Insurance&makenavurl5=
www.progressive.com&makenavfield6=Reviews&makenavurl6=http://autos.msn.com/"
loop=false menu=false quality=high scale=noborder wmode=transparent bgcolor=#FFFFFF
width=220 height=350 type="application/x-shockwave-flash" pluginspage=
"www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
/embed
/object