2014-09-28 2 views
0

У меня есть два вопроса это мой JS. документ Отключить Chrome (доступность-> Изменить размер текста)

// JavaScript Document 
 
$(document).ready(function(){ 
 
     $(window).height(); 
 
     $(window).width(); 
 
}) 
 

 
$(document).ready(function(){ 
 
\t \t 
 
\t \t $(".logo").css("height", ((($(window).height()*37.38)/100))); 
 
\t \t $(".logo").css("width", "auto"); 
 
\t \t 
 
     
 
\t \t \t 
 
\t \t $(".immaginefesta").css("height", ((($(window).height()*25)/100))); 
 
\t \t $(".immaginefesta").css("width", ((($(window).height()*25)/100))); 
 
\t \t $(".immaginefesta").css("border-radius", ((($(window).height()*40)/100))); 
 
\t \t 
 
\t \t 
 
\t \t $(".testievento").css("font-size", ((($(window).height()*2)/100))); 
 
\t \t 
 
\t \t $(".testinavbar").css("font-size", ((($(window).height()*3)/100))); 
 
\t \t $(".testinavbar").css("margin-left", ((($(window).height()*5)/100))); 
 
\t 
 

 

 
      $(".titlebar").css("font-size", ((($(window).height()*3)/100))); 
 
\t \t 
 
\t \t 
 
\t \t 
 
\t 
 
\t \t 
 
\t \t 
 
}) 
 

 
$(window).resize(function(){ 
 
\t 
 
\t 
 
\t \t $(".logo").css("height", ((($(window).height()*37.38)/100))); 
 
\t \t $(".logo").css("width", "auto"); 
 
\t \t 
 
     
 
\t \t \t 
 
\t \t $(".immaginefesta").css("height", ((($(window).height()*25)/100))); 
 
\t \t $(".immaginefesta").css("width", ((($(window).height()*25)/100))); 
 
\t \t $(".immaginefesta").css("border-radius", ((($(window).height()*40)/100))); 
 
\t \t 
 
\t \t 
 
\t \t $(".testievento").css("font-size", ((($(window).height()*2)/100))); 
 
\t \t 
 
\t \t $(".testinavbar").css("font-size", ((($(window).height()*3)/100))); 
 
\t \t $(".testinavbar").css("margin-left", ((($(window).height()*5)/100))); 
 
\t 
 

 

 
      $(".titlebar").css("font-size", ((($(window).height()*3)/100))); 
 
\t \t 
 
\t \t 
 
})

с Internet Explorer, Firefox, Safari Anche хром для ПК нет никаких проблем, но с Google Chrome я имею проблему, если я иду (Accessibility, и поместить текст изменения размера до 60%), он отлично выглядит, как я могу решить эту проблему автоматически?

2-есть ли способ изменить значок, когда я сохраняю страницу из Safari для iphone в приложении или из Android?

ответ

Смежные вопросы