Changeset 7922
- Timestamp:
- Feb 19, 2009, 11:02:22 PM (12 years ago)
- Location:
- trunk/web
- Files:
-
- 2 added
- 3 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/index.html
r7920 r7922 31 31 <li id="open"><div id="open_link"><div class="toolbar_image"></div>Open</div></li> 32 32 <li id="remove" class="disabled"><div id="remove_link"><div class="toolbar_image"></div>Remove</div></li> 33 <li class="divider"> </li>34 33 <li id="removedata" class="disabled"><div id="removedata_link"><div class="toolbar_image"></div>Remove Data</div></li> 35 34 <li class="divider"> </li> … … 333 332 </ul> 334 333 </div> 335 336 <div id="unsupported_browser" style="display:none;">337 <div class="dialog_window">338 <img class="logo" src="images/graphics/logo.png" alt="Transmission Logo" />339 <h2>Sorry, your browser is not supported.</h2>340 <p>We currently support the following browsers:</p>341 <a href="http://www.mozilla.com/en-US/firefox/" title="Firefox"><img src="images/graphics/browser_firefox.gif" alt="Firefox" /></a>342 <a href="http://www.apple.com/safari/" title="Safari"><img src="images/graphics/browser_safari.gif" alt="Safari" /></a>343 <a href="http://www.opera.com/download/" title="Opera"><img src="images/graphics/browser_opera.gif" alt="Opera" /></a>344 </div>345 </div>346 334 347 335 <div class="contextMenu" id="torrent_context_menu"> -
trunk/web/javascript/transmission.js
r7881 r7922 21 21 initialize: function() 22 22 { 23 // Before we do anything, browser compatability test23 // IE specific fixes here 24 24 if ($.browser.msie) { 25 $('div.torrent_footer').hide(); 26 $('div#unsupported_browser').show(); 27 return; 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'); 28 31 } 29 32 … … 1033 1036 1034 1037 showFilter: function( ) { 1035 var container_top = parseInt($('#torrent_container'). css('top')) + $('#torrent_filter_bar').height() + 1;1038 var container_top = parseInt($('#torrent_container').position().top) + $('#torrent_filter_bar').height() + 1; 1036 1039 $('#torrent_container').css('top', container_top + 'px'); 1037 1040 $('#torrent_filter_bar').show(); -
trunk/web/stylesheets/common.css
r7881 r7922 850 850 /*-------------------------------------- 851 851 * 852 * U N S U P P O R T E D B R O W S E R853 *854 *--------------------------------------*/855 856 div#unsupported_browser {857 position: absolute;858 top: 0px;859 left: 0px;860 margin: 0px;861 width: 100%;862 height: 100%;863 z-index: 3;864 text-align: center;865 background: #fff;866 }867 868 div#unsupported_browser div.dialog_window {869 position: relative;870 top: 150px;871 width: 450px;872 height: 250px;873 margin: 0 auto;874 border: 1px solid #979797;875 }876 877 div#unsupported_browser div.dialog_window img {878 margin: 10px;879 }880 881 div#unsupported_browser div.dialog_window img.logo {882 display: block;883 margin: 20px auto 0;884 }885 886 div#unsupported_browser div.dialog_window h2 {887 margin: 40px auto 0;888 width: 305px;889 }890 891 div#unsupported_browser div.dialog_window p {892 clear: both;893 font-size: 1.4em;894 }895 896 /*--------------------------------------897 *898 852 * T R A N S M E N U 899 853 *
Note: See TracChangeset
for help on using the changeset viewer.