Article View: adobe.web.design
Article #371Re: what to do about these overly large header images
From: Jim_Jordan
Date: Tue, 03 Mar 2009 15:22
Date: Tue, 03 Mar 2009 15:22
17 lines
1585 bytes
1585 bytes
Don is not mistaken. The lowsrc idea is admittedly a magic feather. Any site visitor needing the feature is probably on dial-up, using a 10 year old Netscape browser.
We'd produce a similar effect today with CSS layering.
<style type="text/css" media="screen"><!--
#header { background-image: url(header2a.jpg); height: 414px; width: 950px; left: 5px; top: 5px; position: absolute; z-index: 2; visibility: visible; }
#headerlow { background-image: url(header2a_low.jpg); height: 414px; width: 950px; left: 5px; top: 5px; position: absolute; z-index: 1; visibility: visible; }
--></style>
...
<div id="header"></div>
<div id="headerlow"></div>
The smaller image will load first and then be covered by the larger image once it has loaded.
And supposing that you prefer tables over CSS, you can still achieve this technique by placing the low quality image as the cell background image and then place the high quality image as the cell content.
Technical Details
Message-ID:
<59b80fd3.12@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b80fd3.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: ffb7c,6a76502ef4fa6fd3 X-Google-Attributes: gidffb7c,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Jim_Jordan@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.web.design Subject: Re: what to do about these overly large header images Message-ID: <59b80fd3.12@webcrossing.la2eafNXanI> Date: Tue, 3 Mar 2009 07:22:54 -0800 References: <59b80fd3.-1@webcrossing.la2eafNXanI> Lines: 26 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit