about NOT getting framed

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ricardo Garcia

    about NOT getting framed

    hi again, i have a page with frames, and my navigation frame uses XML with
    XSL, but the problem is that neither opera nor konqueror support XSL, so my
    wish is that at load, if the browser is opera or konqueror, goes to a page
    without the navigation frame
    my index.html has the frames: navFrame.xml and home.html

    so i put a script at startup:

    if (getBrowser()== "Opera" || getBrowser()==" Konqueror") //these methods work
    properly
    if (self != top)
    window.top.loca tion.href = "home.html" ;

    the problem seem that it gets into a circle, and the browser keeps loading
    index.html one and another time

    Could somebody help me??

    Thanks




  • kaeli

    #2
    Re: about NOT getting framed

    In article <GDn4d.142082$r 4.4538383@news-reader.eresmas. com>,
    thrawnny@wanado o.es enlightened us with...[color=blue]
    > hi again, i have a page with frames, and my navigation frame uses XML with
    > XSL, but the problem is that neither opera nor konqueror support XSL, so my
    > wish is that at load, if the browser is opera or konqueror, goes to a page
    > without the navigation frame
    > my index.html has the frames: navFrame.xml and home.html
    >
    > so i put a script at startup:
    >
    > if (getBrowser()== "Opera" || getBrowser()==" Konqueror") //these methods work
    > properly
    > if (self != top)
    > window.top.loca tion.href = "home.html" ;
    >
    > the problem seem that it gets into a circle, and the browser keeps loading
    > index.html one and another time
    >
    > Could somebody help me??[/color]

    Aside from the fact that is a very bad idea, as many more browsers exist than
    you could know about and they may not support XML/XSL either...

    Where is this script located? In the frameset, or in one of the pages that
    loads? If it's in the frameset, self will be equal to top and the location
    will never change.


    --
    --
    ~kaeli~
    Cthulhu saves our souls and redeems them for valuable
    coupons later.



    Comment

    Working...