View Single Post
  #192  
Old August 1st, 2003, 08:27 AM
Jack Simth's Avatar

Jack Simth Jack Simth is offline
Major General
 
Join Date: Oct 2002
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
Jack Simth is on a distinguished road
Default Re: this is a thread to attract SE4 forumers to the first Dungeon Oddessy roleplay thread

Quote:
Originally posted by narf poit chez BOOM:
huh?
What an iframe does is produce a window inside your browser that opens a web page in that window. If the web page the iframe points to is the same one the iframe is in, then (unless there is a safety measure I am unaware of) your computer opens the page, sees the iframe statement, and opens the page the iframe refers to - which contains the iframe; in opening that page, your coputer sees the iframe statement, and opens the page the iframe refers to - which contains the iframe; in opening that page, your coputer sees the iframe statement, and opens the page the iframe refers to - which contains the iframe; in opening that page, your coputer sees the iframe statement, and opens the page the iframe refers to - which contains the iframe; in opening that page, your coputer sees the iframe statement, and ... gets stuck in an infinite loop until it can no longer open the page the iframe it is currently working on refers to due to memory problems or the user goes to a different page. Fortunately, I'm not your computer, and don't fall for the same trap.

In short, the iframe refers to itself, and your computer dilligently follows the circle to the limit of it's resources. Hence, it's called a circular reference.

[ August 01, 2003, 07:28: Message edited by: Jack Simth ]
__________________
Of course, by the time I finish this post, it will already be obsolete. C'est la vie.
Reply With Quote