Reputation: 1
$(window).load(function(e) {
var winswidth = $(".span63").css("width");
if ($(".wrapper").width() < 350) {
$(".wrapper .yazi").hide(0);
}else if ($(".wrapper").width() > 350) {
$(".wrapper .yazi").show(0);
}
var sayi=2;
winswidth=parseInt(winswidth)-sayi;
$(".wrapper .options-wrapper").css("width: " + winswidth);//not working
});
other phones is working. but the iPhone is not working. Please help me. Thanks!
Upvotes: 0
Views: 566
Reputation: 25527
use
$(".wrapper .options-wrapper").css("width", winswidth + "px");
Upvotes: 1