Changeset 8568
- Timestamp:
- May 31, 2009, 5:05:22 PM (14 years ago)
- Location:
- trunk/web
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/index.html
r8567 r8568 12 12 <link media="only screen and (max-device-width: 480px)" href="./stylesheets/iphone.css" type= "text/css" rel="stylesheet" /> 13 13 <link media="screen and (min-device-width: 481px)" href="./stylesheets/common.css" type="text/css" rel="stylesheet" /> 14 <!--[if IE]><link media="screen" href="./stylesheets/common.css" type="text/css" rel="stylesheet" /><![endif]--> 15 <!--[if IE 6]><link media="screen" href="./stylesheets/ie6.css" type="text/css" rel="stylesheet" /><![endif]--> 16 <!--[if IE 7]><link media="screen" href="./stylesheets/ie7.css" type="text/css" rel="stylesheet" /><![endif]--> 14 17 <script type="text/javascript" src="./javascript/jquery/jquery.transmenu.min.js"></script> 15 18 <script type="text/javascript" src="./javascript/jquery/jquery.contextmenu.min.js"></script> -
trunk/web/javascript/common.js
r8501 r8568 34 34 35 35 $(document).ready( function() { 36 // Initialise a torrent controller to handle events37 38 36 // Initialise the dialog controller 39 37 dialog = new Dialog(); … … 41 39 // Initialise the main Transmission controller 42 40 transmission = new Transmission(); 41 42 // IE specific fixes here 43 if ($.browser.msie) { 44 try { 45 document.execCommand("BackgroundImageCache", false, true); 46 } catch(err) {} 47 $('.dialog_container').css('height',$(window).height()+'px'); 48 } 43 49 44 50 if ($.browser.safari) { -
trunk/web/javascript/transmission.js
r8546 r8568 21 21 initialize: function() 22 22 { 23 // IE specific fixes here24 if ($.browser.msie) {25 try {26 document.execCommand("BackgroundImageCache", false, true);27 } catch(err) {}28 $('head').append('<link media="screen" href="./stylesheets/common.css" type="text/css" rel="stylesheet" />');29 $('head').append('<link media="screen" href="./stylesheets/ie'+$.browser.version.substr(0,1)+'.css" type="text/css" rel="stylesheet" />');30 $('.dialog_container').css('height',$(window).height()+'px');31 }32 33 23 // Initialize the helper classes 34 24 this.remote = new TransmissionRemote(this);
Note: See TracChangeset
for help on using the changeset viewer.