SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
SI - Site Forums : Silicon Investor - Welcome New SI Members! -- Ignore unavailable to you. Want to Upgrade?


To: SI Brad who wrote (821)3/24/1998 10:27:00 PM
From: Michael Coley  Respond to of 32883
 
RE: Don't Know If You're Already Framed?

Brad,

>> If you are logging in using a browser bookmark, it won't appear because we don't know whether you already have it showing or not (and we don't want to give you a double-frame effect). <<

If you use JavaScript, you can determine whether or not you're in a frame. An example is worth 1000 words, so here's a web page that does something similar:

techstore.com

Notice that when you link directly to the page they detect that you're not in a frame (but should be) and redirect you to the frame. (Actually, the redirect to the wrong place, but that's beside the point.)

Here's the essential chunk of JavaScript:

if (top == self) {
top.location.href = "http://blah...blah...blah..."
}

- Michael Coley
- wwol.com

P.S. I really wish you would allow us to use < PRE> and < /PRE> tags in our documents when we only want part of our document in Fixed Font.



To: SI Brad who wrote (821)3/24/1998 10:35:00 PM
From: David Lawrence  Respond to of 32883
 
>>With the latest changes to the site, I'm starting to think our site surfs better without it.

I absolutely agree. The navigation bar appearing at the top of each message makes it extremely easy to move about. Once again, well done!



To: SI Brad who wrote (821)3/24/1998 11:12:00 PM
From: Nazbuster  Read Replies (2) | Respond to of 32883
 
From Michael Coley: I really wish you would allow us to use < PRE> and < /PRE> tags in our documents when we only want part of our document in Fixed Font.

I second the motion!