dcsimg
www.webdeveloper.com
Results 1 to 6 of 6

Thread: Frames

  1. #1
    Join Date
    Jan 2003
    Location
    UK
    Posts
    6

    Question Frames

    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

  2. #2
    Join Date
    Jan 2003
    Location
    UK
    Posts
    6
    The HTML is :


    <OBJECT classid="clsid27CDB6E-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

  3. #3
    Join Date
    Nov 2002
    Posts
    984
    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/

  4. #4
    Join Date
    Jan 2003
    Location
    UK
    Posts
    6
    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

  5. #5
    Join Date
    Nov 2002
    Posts
    984
    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

  6. #6
    Join Date
    Jan 2003
    Location
    UK
    Posts
    6
    i see, thanks alot Stefan
    I appreciate it

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles