Click to See Complete Forum and Search --> : Frames


gazzadude56
01-01-2003, 02:26 PM
OK I'll copy and paste the HTML I have for the contents frame.
In the frame is a flash menu bar but when I click on one of the links the page opens in that frame.. how do I get it to open on the main part? needs something like TARGET="main" doesn't it? well didn't seem to work for me.

Thanks

gazzadude56
01-01-2003, 02:27 PM
The HTML is :


<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=162 HEIGHT=367>
<param name="_cx" value="4286">
<param name="_cy" value="8652">
<param name="FlashVars" value="0">
<param name="Movie" value="http://www.geocities.com/bloo_cheese/bubbles.swf?tarframe=_self&exbackground=808080&makenavfield0=Home&makenavurl0=http://www.geocities.com/bloo_cheese/main.html&makenavfield1=Band Description&makenavurl1=http://www.geocities.com/bloo_cheese/banddescription.html&makenavfield2=Band Information&makenavurl2=http://www.geocities.com/bloo_cheese/bandinfo.html&makenavfield3=Band Instruments&makenavurl3=http://www.geocities.com/bloo_cheese/bandinstruments.html&makenavfield4=Downloads&makenavurl4=http://www.geocities.com/bloo_cheese/downloads.html TARGET=" Us&amp;makenavurl8=http://www.geocities.con/bloo_cheese/contactus.html" main"&amp;makenavfield5="Images&makenavurl5=http://www.geocities.con/bloo_cheese/images.html&makenavfield6=Lyrics&makenavurl6=http://www.geocities.com/bloo_cheese/lyrics.html&makenavfield7=Links&makenavurl7=http://www.geocities.com/bloo_cheese/links.html&makenavfield8=Contact">
<param name="Src" value="http://www.geocities.com/bloo_cheese/bubbles.swf?tarframe=_self&amp;exbackground=808080&amp;makenavfield0=Home&amp;makenavurl0=http://www.geocities.com/bloo_cheese/main.html&amp;makenavfield1=Band Description&amp;makenavurl1=http://www.geocities.com/bloo_cheese/banddescription.html&amp;makenavfield2=Band Information&amp;makenavurl2=http://www.geocities.com/bloo_cheese/bandinfo.html&amp;makenavfield3=Band Instruments&amp;makenavurl3=http://www.geocities.com/bloo_cheese/bandinstruments.html&amp;makenavfield4=Downloads&amp;makenavurl4=http://www.geocities.con/bloo_cheese/downloads.html&amp;makenavfield5=Images&amp;makenavurl5=http://www.geocities.con/bloo_cheese/images.html&amp;makenavfield6=Lyrics&amp;makenavurl6=http://www.geocities.com/bloo_cheese/lyrics.html&amp;makenavfield7=Links&amp;makenavurl7=http://www.geocities.com/bloo_cheese/links.html&amp;makenavfield8=Contact Us&amp;makenavurl8=http://www.geocities.com/bloo_cheese/contactus.html">
<param name="WMode" value="Transparent">
<param name="Play" value="0">
<param name="Loop" value="0">
<param name="Quality" value="High">
<param name="SAlign" value="LT">
<param name="Menu" value="0">
<param name="Base" value>
<param name="AllowScriptAccess" value="always">
<param name="Scale" value="NoBorder">
<param name="DeviceFont" value="0">
<param name="EmbedMovie" value="0">
<param name="BGColor" value="000000">
<param name="SWRemote" value><embed src="bubbles.swf?tarframe=_self&amp;exbackground=808080&amp;makenavfield0=Home&amp;makenavurl0=http://www.geocities.con/bloo_cheese/main.html&amp;makenavfield1=Band Description&amp;makenavurl1=http://www.geocities.com/bloo_cheese/banddescription.html&amp;makenavfield2=Band Information&amp;makenavurl2=http://www.geocities.com/bloo_cheese/bandinfo.html&amp;makenavfield3=Band Instruments&amp;makenavurl3=http://www.geocities.com/bloo_cheese/bandinstruments.html&amp;makenavfield4=Downloads&amp;makenavurl4=http://www.geocities.con/bloo_cheese/downloads.html&amp;makenavfield5=Images&amp;makenavurl5=http://www.geocities.com/bloo_cheese/images.html&amp;makenavfield6=Lyrics&amp;makenavurl6=http://www.geocities.com/bloo_cheese/lyrics.html&amp;makenavfield7=Links&amp;makenavurl7=http://www.geocities.com/bloo_cheese/links.html&amp;makenavfield8=Contact Us&amp;makenavurl8=http://www.geocities.com/bloo_cheese/contactus.html" loop="false" menu="false" quality="high" scale="noborder" salign="LT" wmode="transparent" bgcolor="#000000" WIDTH="124" HEIGHT="216" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">

</OBJECT>

&nbsp;&nbsp;



<a href="http://www.guistuff.com/"><img border="0" src="../Images/11dot.gif" width="1" height="1"></a>
</body>


The guistuff link is where I got the flash menu from

Stefan
01-01-2003, 06:12 PM
Please don't use proprietary IE markup to add flash to pages.

There is a perfectly fine way to add it using nothing but valid code.

Read here for how to do it.
http://www.alistapart.com/stories/flashsatay/

gazzadude56
01-01-2003, 06:54 PM
As I said, the code came from the GUISTUFF site so I'm guessing it's all ****ed up..

I looked at the site but as far as I could see it doesn't explain the frame and hyperlink part? which was my main problem

Stefan
01-02-2003, 02:49 AM
Originally posted by gazzadude56
I looked at the site but as far as I could see it doesn't explain the frame and hyperlink part? which was my main problem

Sorry, yes your problem is that you are missing the correct targeting.

If you look at the code you have you see that at the end of your links in the params you have eg this
.swf?tarframe=_self

Change/add to
.swf?tarframe=main
instead if your have named your larger frame "main"

BTW, another nonrelated issue, when you have links with ? in them you must escape all your & with &amp;amp;
You might as well fix that when you are adding the correct tarframe values :)

gazzadude56
01-02-2003, 04:27 PM
i see, thanks alot Stefan
I appreciate it