Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Alternative Image


  • From: java.script at seacrets.com (Cutter (JS))
  • Subject: [Javascript] Alternative Image
  • Date: Tue May 17 12:29:34 2005

Well, none that I truly know of...I use server side code to check for 
the existence of an image and then place a generic if the image called 
is not present. I don't use this for every image within my sites, only 
for images called as the result of a dynamic content request (example: 
event calendar/band schedule - new band plays on tuesday night. Does a 
band pic exist on the server? [yes - put it there, no - place generic] 
Does a band logo exist? [yes - place logo, no - write name in plain 
text]) Generally JS is a client side language, whereas you would want a 
server side language for directory access...

Cutter

Innerlab wrote:

>Hi. Is there a way with Javascript to use a generic image if the one I want
>is not found?
>I'd appreciate if someone can post a code sample, or poit me to one. Thanks
>in advance.
>
>
>_______________________________________________
>Javascript mailing list
>Javascript@xxxxxxxxxx
>https://lists.LaTech.edu/mailman/listinfo/javascript
>  
>