Let I've an image:
<img src="URL1"/>
I want that the src attribute will be URL1
only for Firefox
browsers but URL2
for others browser. Is it possible to do?
Let I've an image:
<img src="URL1"/>
I want that the src attribute will be URL1
only for Firefox
browsers but URL2
for others browser. Is it possible to do?
yes it's possible. Try this.
if (!(window.mozInnerScreenX == null); ) {
// Change your image
}
Check your browser agent by using Jquery
if(jQuery.browser.mozilla){
// Change your image for URL1
}else{
// Change your image for URL2
}