Created
August 8, 2009 13:19
-
-
Save anonymous/164410 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Also das in den Head: | |
<% if iphone_user_agent? %> | |
<script type="text/javascript" language="JavaScript"> | |
<!-- Original: Gilbert Davis --> | |
<!-- Begin | |
function LadeInfo() { | |
if (document.getElementById) { // DOM3 = IE5, NS6 | |
document.getElementById('hidepage').style.visibility = 'hidden'; | |
} | |
else { | |
if (document.layers) { // Netscape 4 | |
document.hidepage.visibility = 'hidden'; | |
} | |
else { // IE 4 | |
document.all.hidepage.style.visibility = 'hidden'; | |
} | |
} | |
} | |
// End --> | |
</script> | |
<% end %> | |
Und das in innerhalb des Body: | |
<% if iphone_user_agent? %> | |
<script type="text/javascript"> | |
jQuery(window).load(LadeInfo); | |
</script> | |
<% end %> | |
Richtig? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment