frame/iframe offsite

Discussion in 'Web Design, HTML And CSS' started by sujith.it, Jul 16, 2008.

  1. sujith.it

    sujith.it New Member

    Joined:
    Jul 16, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    hey guys,

    not sure if this could be fixed with html,js or what. dont care either
    whatever code can make this happen would be a great help.

    my issue is like this.. got my site, lets call it example0.html

    From that site i use framesets to link 2 other sites, example1.html
    example2.html.

    example1.html is ment to be just like a return to home button wile example2.html the other, displays the site.

    the idea behind all this is allow ppl to return to the main page wile in kiosk mode in IE and without a keyboard needed

    right now it works like it should except that some offsite links cause the frames to disapear leaving ppl stuck at that site with no way home or to close the browser. and im stumped.

    some way to force links into a frame would fix me up real quick.

    any help at all would be great

    the site looks like this;
    <html>
    <head>
    <META HTTP-EQUIV="Refresh"
    CONTENT="3600; URL="example0.html">
    <title>Drug And Health Facts</title>
    </head>
    <frameset rows="25,*" border="0">
    <frame src="example1.html" scrolling=no marginwidth=0 marginheight=0 onload="var d = frames[0].document;var l = d.links[0];if (d.getElementById &&d.getElementById('logo')) {l = d.getElementById('logo');}l.target='_top';">
    <frame src="example2.html">
    <noframes>
    </frameset>
    </html>

    ive been playing with naming and iframes vs framesets and nothing has changed. Plz help.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice