A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Targeting frames

  1. #1
    Junior Member
    Join Date
    Jun 2001
    Posts
    9

    Arrow

    Hi I'm new to flash. And I'm trying to target frames so that my links open on the same page but on the right. so the person viewing them never has to leave the page. Right now when they push a link a new window opens. Which I dont want happen lol.

    Could someone help me with this?

    Right now I have my links like this
    on release
    -->www.url.com/join.html
    target_join.html.

    Is there something i'm doing wrong?


    if you would like you can view my site in question
    http://www20.brinkster.com/heavenlyf...lan/index.html


    ty in advance

  2. #2
    Bamboozled snoop_doug's Avatar
    Join Date
    Apr 2001
    Posts
    1,278
    im presuming your page on the right is called 'main' unless you have altered its name, in which case you should try

    on (release) {
    getURL ("http://www.domain.com/subdir/name.htm", "main");
    }


  3. #3
    Junior Member
    Join Date
    Sep 2000
    Posts
    17

    target frames

    Hey Flamingfoxxx,
    First make sure that you have the frame you are wanting to send the info to named join. The "frame name" and page name are two different things. Second under target, where you have join.html....drop the html.
    Below is an example of what your HTML source should look like. Notice: <base target"join">

    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <base target"join">
    </head>

    <body bgcolor="#FFFFFF">
    </body>
    </html>
    Hope that helps.

  4. #4
    Junior Member
    Join Date
    Sep 2000
    Posts
    17
    One last thing that often saves time. Instead of having your action look like this:
    on release:
    -->www.url.com/join.html
    target_join.html.

    Try:
    On release:
    --> join.html
    target_join

    As long as you have the html files all in the same root folder, you can exclude the http://www.url.com. But all of your files must be located in the same folder as your index.html or the page you are linking them from.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center