XFileSharing Pro - image download button works on every browser except on Opera

Message
Author
crownin
Posts: 47
Joined: Dec 26, 2010 12:23 pm

image download button works on every browser except on Opera

#1 Postby crownin » Feb 08, 2011 12:17 pm

Hello,

I have an image as download button on download0.html it works fine on every browser except opera and internet explorer. I managed to change the button to standard on internet exlorer with :
<!--[If IE]>
<input type="submit" name="method_premium" value="<TMPL_VAR lang_premium_download>">   
<input type="submit" name="method_free" value="<TMPL_VAR lang_free_download>">
<![endif]-->
this is the code I use for the image :
<input type="image" name="method_premium" value="<TMPL_VAR lang_premium_download>" src="<TMPL_VAR premium_download>/images/premiumdownload.png" onclick="javascript:document.formName.submit();">   
------------------------------------------------------------------------------
<input type="image" name="method_free" value="<TMPL_VAR lang_free_download>" src="<TMPL_VAR free_download>/images/freedownload.png"
onclick="javascript:document.formName.submit();">
is there a fix because it would be way better to show the image on internet explorer and opera to.

Thanks.