49 users online (0 members and 49 guests)  

Thread: META tags


  Results 1 to 7 of 7

Related

  1. Capital letters in meta tags    Forum: Search Engine Optimization - SEO - Forum
    Replies: 0
  2. meta tags    Forum: Search Engine Optimization - SEO - Forum
    Replies: 9
  3. Meta tags    Forum: HTML Forum
    Replies: 3
  4. no frames and meta tags    Forum: Search Engine Optimization - SEO - Forum
    Replies: 4
  1. #1
    BanzaiRun's Avatar
    New User

    Status
    Offline
    Join Date
    May 2003
    Posts
    6

    META tags

    Hi everyone,

    Is it posible to supply a 'target' in an:-

    <META http-equiv="Refresh" content="1; URL=../index.html">

    statement?

    I'm presently using:-

    <FORM method="POST" action="../index.html" target="_top">
    <P align="center"><INPUT type="submit" value="Return to homepage" name="B1">

    But I would rather have it autoforwarded.

    I am using nested frames which I would like the request returned out of, once an HttpSession object is timed out and/or 'invalidated'.

    Thanks,

    Matt.

  2. #2
    benzden's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Feb 2002
    Location
    San Antonio, Texas
    Posts
    652
    Try it and see if it works. I know I use the ...htm#sub1 process to go to a specific place on a page and think I did use the TARGET=_top successfully in the past to break out of frames or a redirected "framed" URL. In other words, the META redirection pseudo anchor tag may work just like any other anchor tag.

  3. #3
    BanzaiRun's Avatar
    New User

    Status
    Offline
    Join Date
    May 2003
    Posts
    6
    Well, I've tried every possible tag and string combination within the META tag and I cant get it to work.

    (

    Looks like I'll have to stick with the static forwarding.

    Thanks anyway.

  4. #4
    Enigma's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Nov 2000
    Posts
    426
    What about putting some Javascript in the file that you're forwarding to which will detect if the page is being displayed in a frame and if so, then break out of the frame?

  5. #5
    BanzaiRun's Avatar
    New User

    Status
    Offline
    Join Date
    May 2003
    Posts
    6
    That sounds like a good idea Enigma.

    I'll have a little surf and see what I can find.

    Thanks.

  6. #6
    BanzaiRun's Avatar
    New User

    Status
    Offline
    Join Date
    May 2003
    Posts
    6
    Yep,

    Thanks Enigma.

    <script language="JavaScript" type="text/javascript">
    <!--
    function framebreakout()
    {
    // Generated by thesitewizard Frame Breakout JavaScript Wizard 2.0
    // Visit http://www.thesitewizard.com/ to get your own
    // frame breakout script FREE!
    if (top.location != location) {
    top.location.href = document.location.href ;
    }
    }
    //-->
    </script>





  7. #7
    Enigma's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Nov 2000
    Posts
    426
    You're welcome.



Tags for this Thread