TinyPortal
Development => Support => Topic started by: Cornell on May 04, 2007, 09:45:53 PM
Hi guys. Say i want to add the
Displays your Browser and system info block when i add this code in a html box
Quote<script>
/*Displaying a user's browser type script
*/
if (document.all)
var version=/MSIE \d+.\d+/
if (!document.all)
document.write("You are using "+navigator.appName+" "+navigator.userAgent)
else
document.write("You are using "+navigator.appName+" "+navigator.appVersion.match(version))
</script>
That doesnt form a block on my site. That text gets displayd on the main page.
From the opening and ending of your code, I might suggest using a script box instead of html.
terry
Ok let me try that. Thanks. BRB\
works