Something like this should do ya: <script> myURL = "http://www.yadda-dadda.com/"; if (top.location.href != document.location.href ) top.location.href = myURL; </script>
Or you could wrap that in a function and call it from the onLoad parameter of your body tag: <script> function escapeFrames() { var myURL = "http://www.web-relevant.com/"; if (top.location.href != document.location.href ) top.location.href = myURL; } </script> <body onload="escapeFrames()"> Either way, should do ya. Laterz, J On Sun, 20 Mar 2005 14:45:29 -0600, Mark A Kruger <[EMAIL PROTECTED]> wrote: > Javscript or site config gurus: > > I have a site we manage "cardavenue.com". We found another site called > "giftcardbuy.com" that actually frames OUR site - in other words, the title > and URL address all say "giftcardbuy" but the content frame is our site. go > there and check out "view source" from the menu if you want to see. > > My question is A) why would someone do this - what purpose could there be? > and B) how do I circumvent this? I can add a "_top" to every link I > suppose - but that doesn't help the home page. does anyone else have any > ideas? > > -Mark > > -- Continuum Media Group LLC Burnsville, MN 55337 http://www.web-relevant.com http://www.web-relevant.com/blogs/cfobjective ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199492 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54