[Javascript] An image loader nearly working...
Flavio Gomes
flavio at economisa.com.br
Fri Jul 15 09:53:09 CDT 2005
Ok, version 2 on the way:
If JS is disabled the 'person' will see the image loading in the usual
way but without the div;
If has got css disabled it'll show everything, including the div.
Roger Roelofs wrote:
> Flavio,
>
> On Jul 15, 2005, at 9:19 AM, Flavio Gomes wrote:
>
>> Let me try to help too. ^^
>> People, take a look at my example (attached)
>>
>> I changed the image to smaller one, on somebody elses' website to
>> increase 'testing' speed. To retry the test 'fully' refresh the
>> page. (Ctrl+F5 for IE, Shift+Ctrl+R for Gecko) worked fine on
>> Mozilla and IE for me, please test it there.
>
>
> Thanks for joining the discussion. I like the simplicity of your
> approach. The only downside is that if javascript is turned off, but
> css is on, the image will never be seen.
>
> My original attempt was to put the image inside a noscript tag and
> use javascript to extract the contents, and remove the noscript tag.
> Unfortunately, some browsers don't write the noscript contents into
> the dom tree. So much for plan a!
>
> The script has gotten more complicated than I like because I'm trying
> to make sure the image always loads, no matter if css or js is on or
> off.
>
>
> Hope that makes sense.
>
>
> Roger
> -------------------------------------------------------
> Roger Roelofs web www.datacompusa.com
> Datacomp Appraisal Services Email rer at datacompusa.com
> 3215 Eaglecrest Drive, NE
> Grand Rapids, MI 49525-4593
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
--
Flavio Gomes
flavio at economisa.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20050715/700f9cbc/attachment.html>
More information about the Javascript
mailing list