What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Javascript Help

Javascript Help
Author: Message:
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: Javascript Help
code:
<html>
<HEAD>
<SCRIPT language="javascript">
<!--
function getversion(){
if(navigator.appName.indexOf("Netscape")>-1){
document.write("press ctrl+d to bookmark this page");
}
else if((navigator.appName.indexOf("Microsoft")>-1) || (navigator.appName.indexOf("MSIE")>-1)){
document.write("blah firefox owns IE");

}
else if(navigator.appName.indexOf("Opera")>-1){
document.write("if opera write something");
}
else{
document.write("if its anything else");
}

}
// -->
</SCRIPT>
</HEAD>
<BODY>
<SCRIPT language="javascript">
getversion();
</script>
</BODY>
</HTML>
here you go ive done it for you :) hope thats what you wanted 

This post was edited on 08-04-2004 at 08:56 AM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
08-04-2004 08:53 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Javascript Help - by king_of_cool_kids on 08-04-2004 at 02:23 AM
RE: Javascript Help - by -dt- on 08-04-2004 at 06:12 AM
RE: Javascript Help - by king_of_cool_kids on 08-04-2004 at 07:34 AM
RE: Javascript Help - by -dt- on 08-04-2004 at 08:53 AM
RE: Javascript Help - by king_of_cool_kids on 08-04-2004 at 09:01 AM
RE: Javascript Help - by -dt- on 08-04-2004 at 09:53 AM
RE: Javascript Help - by king_of_cool_kids on 08-05-2004 at 01:28 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On