473,388 Members | 1,209 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

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.location.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


Jul 23 '05 #1
1 1114
In article <GD*********************@news-reader.eresmas.com>,
th******@wanadoo.es enlightened us with...
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.location.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??


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.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Tim Tyler | last post by:
The content from Google's web sites can no longer be displayed in frames :-( If anyone has a PHP screen-scraper and filter that rectifies this problem - by allowing "unframable" sites to be...
5
by: Erik Meyer | last post by:
Greetings, I was wondering how to open a framed pdf document correctly. We have a pdf file that is called in a framed document. When the person clicks on a link in our site to the pdf, the...
37
by: ajay | last post by:
How to make a web page getting refreshed after a given time interval automatically. HTML Code plz. Tx Ajay
2
by: Daniel Déchelotte | last post by:
Hi crowd, Please have a look at this page, where I try to have a framed block next to a floated one: http://yo.dan.free.fr/float_n_div.html Above is the best result I got so far. Works in...
1
by: Dennis Allen | last post by:
Hi. I was wondering if someone here could help. I'm working with a simple framed web site, www.stargazing.net/mas/index.htm. A left side called frame.htm, and the right side called home.htm. In...
11
by: annie | last post by:
Hello all. I am writing an XSL stylesheet that automatically converts a page with frames to a noframes equivalent of this page, using tables. I can get the positioning of each frame write in the...
97
by: Cameron Laird | last post by:
QOTW: "Python makes it easy to implement algorithms." - casevh "Most of the discussion of immutables here seems to be caused by newcomers wanting to copy an idiom from another language which...
1
by: Reb | last post by:
Hi all, I have not successfully found a Javascript sample for getting next and previous links from a file... I figured that someone must have solved this problem already! ... here is what I'm...
5
by: sudidelaravi | last post by:
I have two frames in a frameset.Left frame has treeview.Right frame has the aspx pages w.r.t nodes of treeview control. When i perform some operation in the right frame, left frame(treeview...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.