Re: Determining if an image exists
Re: Determining if an image exists
- Subject: Re: Determining if an image exists
- From: Chuck Hill <email@hidden>
- Date: Thu, 17 Feb 2005 16:06:32 -0800
Nice solution!
On Feb 17, 2005, at 3:47 PM, Olav Anderson wrote:
I use it to prevent a "broken image" icon if there isn't an image to
load.
I add: onError="this.style.display='None'"
to the WOImage in the wod attributes.
If there is no image then nothing is displayed.
This seems to work fine for all browsers.
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden