Removing Extranious PHP from index file and Javascript. Add Conditional CSS links to iphone css.

This commit is contained in:
Malcolm Jarvis
2008-07-30 00:13:51 +00:00
parent 9006f75edb
commit c1688e3f90
2 changed files with 3 additions and 23 deletions

View File

@@ -15,26 +15,6 @@ var Safari3 = testSafari3();
var iPhone = RegExp("(iPhone|iPod)").test(navigator.userAgent);
if (iPhone) var scroll_timeout;
/* (is this used?)
function updateLayout()
{
if (iPhone) {
switch(window.orientation) {
case -90:
$('body').addClass('landscape');
break;
case 90:
$('body').addClass('landscape');
break;
default:
$('body.landscape').removeClass('landscape');
break;
}
transmission.hideiPhoneAddressbar(0.4);
}
};
*/
function testSafari3()
{
var minimum = new Array(521,0);