Reloading Images (OpenInsight 32-bit Specific)
At 13 DEC 2006 07:59:48PM Robert Lee wrote:
Hi all
I have a nice dynamic web app running that uses the same .gif image at the top of every page. When the clients are navigating through the site, it is reloading the image every time. Is there any way to prevent this?
Cheers all
Robert
At 14 DEC 2006 01:16AM [email protected]'s Frank Tomeo wrote:
Robert,
Try using CSS (Cascading Style Sheets). CSS files get load once and can be referred to by every page on your site. If you need to make a change to the image, you'll only have to change it in one spot. Take a little more setup, but works better in the end. Here is a sample:
Sample CSS:
.academy-logo { background: url(../images/academy.jpg) no-repeat; }[/color][/size]Sample HTML:
Officer Safety & Training List of current officer safety issues [list] [*][url=index.htm]Issue 1[/url] [*][url=index.htm]Issue 2[/url] [*][url=index.htm]Issue 3[/url] [/list] [/color][/size]Sample Output:
Hope this helps…
At 14 DEC 2006 01:20AM [email protected]'s Frank Tomeo wrote:
Robert,
Sorry, correct link to the sample output below:
At 02 JAN 2007 02:40AM Robert Lee wrote:
Hi Frank
Thanks for that. All good.
Cheers
R