Redirection without breaking frame???

Discussion in 'HTML & Website Design' started by joshish, Sep 23, 2008.

  1. #1
    I need to do a redirection without breaking frame...does anyone know the code for this? I am using:

    <head>
    <script language="javascript"><!--
    location.replace("pagename.html")
    //-->
    </script>
    ...other head section stuff (Title, Description,etc.)...
    </head>

    Thanks!!!
     
    joshish, Sep 23, 2008 IP
  2. joshish

    joshish Guest

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If I redirect with a frame is that considered not breaking frame? Like this:

    <frameset rows="100%">
    <frame src="http://www.example.com/">
    </frameset>
    <noframes>
    <body>Please follow <a href="http://www.example.com/">link</a>!</body>
    </noframes>
     
    joshish, Sep 23, 2008 IP