Thursday, December 15, 2005

adventures with IFRAME--delayed load

Norm and I have always had a conflict. I wanted the sflogo at the bottom of the page, and he wanted the cursor positioned at the command line. He had to wait for the logo to be downloaded on every page before the cursor was positioned.

Resolving this conflict was my first use of IFRAME. I put the logo image html in a separate file, sflogo.html and an empty iframe at the bottom of the advanced interface template--advanced.html. Then on load, instead of positioning the cursor, I called an init function which (1) positioned the cursor and (2) replaced the content of the iframe with "/sflogo.html".

Bingo! No more conflict.

Hey, this stuff is all new to me. Gotta start simple.

0 Comments:

Post a Comment

<< Home