javascript - jquery: have a certain css on mac safari only -
There is some kind of F on the page, where a div is shown in a way, it is only on Mac Safari Understand, instead of doing the whole thing again, jquery hacks will be easy to use.
This code is used to target Mac Safari, but it does not work. Can someone, please, indicate the mistake?
if ((Navigator.pl.index ("MAC")! = -1) & amp; amp; (Navigator.UGGent.Match (/ msie | trident / i)) { $ (". Hiddengg img") CSS ('display', 'none');
Thanks!
Try using Navigator platform.indexOf ("MAC")
. See quotation marks there?
You have not used ""
and ""
.
Comments
Post a Comment