that are well done, and properly optimised. Same as for shopped images. But people see it as an excuse to post any old crap - it's the equivalent of if someone decided 'Oh, lets make today 30 second paintmash Sunday'
(,
Sun 12 Feb 2006, 21:59,
archived)
that's at least a 5 minute paintmash though
oooh, can I ask you a geeky question?
What html code do I need to make "image a" appear in Firefox/Opera, and "image b" appear in IE?
(,
Sun 12 Feb 2006, 22:03,
archived)
oooh, can I ask you a geeky question?
What html code do I need to make "image a" appear in Firefox/Opera, and "image b" appear in IE?
you need to identify the browser accessing the page hosting the image; this can be done with server side code and testing the HTTP user agent, or by client side code (JavaScript)
the javascript route may be easiest and is probably the more dependable way of doing things
have a squizz here for browser detection scripts
you can test what the browser SAYS it is (some browsers can spoof and pretend to be others) using app.name or test things like the DOM (document object model) properties - these are implemented differently between browsers)
you can then use an if..then..else constuct to document.write the correct code to the page depending on your if..then (assuming javascript is actually turned on)
(,
Sun 12 Feb 2006, 22:10,
archived)
the javascript route may be easiest and is probably the more dependable way of doing things
have a squizz here for browser detection scripts
you can test what the browser SAYS it is (some browsers can spoof and pretend to be others) using app.name or test things like the DOM (document object model) properties - these are implemented differently between browsers)
you can then use an if..then..else constuct to document.write the correct code to the page depending on your if..then (assuming javascript is actually turned on)
you can`t really do it if e.g. the image was going to be posted here
in that case you`d need to <img src="...."> to a script on your server that generates / returns the image, and then you`d need to depend on the user agent being OK
(,
Sun 12 Feb 2006, 22:19,
archived)
in that case you`d need to <img src="...."> to a script on your server that generates / returns the image, and then you`d need to depend on the user agent being OK

