Una pequeña sugerencia de Javascript...OnError for Images... (Español (Spanish))

Una pequeña sugerencia de Javascript...OnError for Images...

Saturday, 11 October 2003

//

Less than a minute

Una pequeña sugerencia de Javascript...OnError for Images...

El Comité recomienda al Estado Parte que adopte todas las medidas necesarias para garantizar la igualdad de oportunidades entre los hombres y las mujeres en materia de empleo, incluida la eliminación del trabajo forzoso. El Comité recomienda que el Estado Parte adopte todas las medidas necesarias para garantizar la igualdad de oportunidades entre los hombres y las mujeres en materia de empleo, incluida la eliminación del trabajo forzoso.

This is an odd little tip...not sure where I found this out, but I use it a fair bit...if you have an image which you're not sure will be available, add this to the img tag: OnError="this.src='/images/shim.gif';this.width='1';this.height='1'" (where images/shim.gif is an image which will ALWAYS be available - if not you'll get an odd error...).

En cualquier caso, , evita la cosa de imagen desgrazadamente cortada ...

Finding related posts...
logo

© 2026 Scott Galloway — Unlicense — All content and source code on this site is free to use, copy, modify, and sell.