Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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:

www.isupport.srpcs.com_rev_sample1.jpg

Hope this helps…

[email protected] SRP Computer Solutions, Inc.


At 14 DEC 2006 01:20AM [email protected]'s Frank Tomeo wrote:

Robert,

Sorry, correct link to the sample output below:

isupport.srpcs.com_rev_sample1.jpg

[email protected] SRP Computer Solutions, Inc.


At 02 JAN 2007 02:40AM Robert Lee wrote:

Hi Frank

Thanks for that. All good.

Cheers

R

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/31214aa4a8c3331d85257244000579b2.txt
  • Last modified: 2024/01/04 21:00
  • by 127.0.0.1