Re: Off Topic: Frames Killer?
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16687
interpreted = N
texte = Britt T. wrote:> I know, I know, its off topic, but...> > Does anyone know of a way to kill frames? I have some sites that are> framing us, making it look like our site is part of theirs.> > Britt T.> --------------------------------------------------------> || Britt@fishingworld.com || Britt@easttexas.com ||> --------------------------------------------------------> || World Masters - || P.O. Box 1989 ||> || Graphic Designs, || Lindale, TX 75771 ||> || Web Site Development, || Phone: (903) 882-8877 ||> || Web Site Hosting. || Fax: (903) 882-3110 ||> --------------------------------------------------------Britt, I don't know if this will help or not, but I wrote the following hunkof JavaScript to force the main.html page (which has been named main) toopen within the home.html frameset, in case someone tries to load just themain.html document, which would appear without navigational aids. The scriptexecutes only if the name of the topmost document (which is the framesetdocument) is not main.Perhaps if you knew the name of the frame that is framing you, you couldcheck to see if that frame exists and take some action:I'm guessing that if this script came up with a matching frame name, it wouldforce a redraw and load only your page in the same window. Just a thought.-- Gil Poulsen, Webmaster*************************************************************** AltiM@c * Phone: (732) 469-2567 ** 429 St. Giles Court * FAX: (732) 469-5823 ** Somerset, NJ * e-mail: help@altimac.com ** 08873-4839 * WWW: http://www.altimac.com ***************************************************************
Associated Messages, from the most recent to the oldest:
Britt T. wrote:> I know, I know, its off topic, but...> > Does anyone know of a way to kill frames? I have some sites that are> framing us, making it look like our site is part of theirs.> > Britt T.> --------------------------------------------------------> || Britt@fishingworld.com || Britt@easttexas.com ||> --------------------------------------------------------> || World Masters - || P.O. Box 1989 ||> || Graphic Designs, || Lindale, TX 75771 ||> || Web Site Development, || Phone: (903) 882-8877 ||> || Web Site Hosting. || Fax: (903) 882-3110 ||> --------------------------------------------------------Britt, I don't know if this will help or not, but I wrote the following hunkof JavaScript to force the main.html page (which has been named main) toopen within the home.html frameset, in case someone tries to load just themain.html document, which would appear without navigational aids. The scriptexecutes only if the name of the topmost document (which is the framesetdocument) is not main.Perhaps if you knew the name of the frame that is framing you, you couldcheck to see if that frame exists and take some action:I'm guessing that if this script came up with a matching frame name, it wouldforce a redraw and load only your page in the same window. Just a thought.-- Gil Poulsen, Webmaster*************************************************************** AltiM@c * Phone: (732) 469-2567 ** 429 St. Giles Court * FAX: (732) 469-5823 ** Somerset, NJ * e-mail: help@altimac.com ** 08873-4839 * WWW: http://www.altimac.com ***************************************************************
Gil Poulsen
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Search Engines (2002)
question: webmerchant connection (1997)
Non-repeating Random Numbers - CORRECTION (2002)
Webcat2, WebCommerce, Mod 10 etc. (1997)
Associative lookup style? (1997)
View order not right (1997)
Subtotal help (1997)
populating a [table] (2004)
trouble with [shownext] (2000)
Document Contains No Data! (1997)
Help! Missing [showif] or [hideif] (2000)
WebCat2b12 CGI Mac -- Problems propagating the cart through (1997)
DRC (2004)
WebCat2: multiple currency support (1997)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
[isfile] ? (1997)
mac hack (1997)
Form based Redirect (2001)
case number with spaces. (2000)
GuestBook example (1997)