Hi
I'm completely new to Javascript and was trying to achieve the desired effect with VBScript. However, I'm given to understand that VBScript is
A) Considered insecure (so may not run) and
B) Doesn't run under Firefox (probably because of A))
...and therefore, I'm given to understand, Javascript is a better bet all round for at least these reasons alone. So, here I am, on the scrounge.
What we're trying to achieve an index.html file on a CD which tests the version of the OS (Windows XP, Vista, 7 or MAC OS) then shows ONLY the link for the correct version of the software (Cisco VPN if you must know!) for the computer's OS.
Currently our Index.html file is dumb and shows all four options, which of course then offers the user the opportunity of clicking on the wrong one!
Normally I'd happily research this a little more and learn Javascript while I'm at it, but time is short, and all I've found so far wasn't very helpful.
Can anyone help or at least point me to an FAQ which has this info in?
JJ
[small][purple]Variables won't. Constants aren't[/purple]
There is no apostrophe in the plural of PC (or PST, or CPU, or HDD, or FDD, or photo, or breakfast...and so on)[/small]
I'm completely new to Javascript and was trying to achieve the desired effect with VBScript. However, I'm given to understand that VBScript is
A) Considered insecure (so may not run) and
B) Doesn't run under Firefox (probably because of A))
...and therefore, I'm given to understand, Javascript is a better bet all round for at least these reasons alone. So, here I am, on the scrounge.
What we're trying to achieve an index.html file on a CD which tests the version of the OS (Windows XP, Vista, 7 or MAC OS) then shows ONLY the link for the correct version of the software (Cisco VPN if you must know!) for the computer's OS.
Currently our Index.html file is dumb and shows all four options, which of course then offers the user the opportunity of clicking on the wrong one!
Normally I'd happily research this a little more and learn Javascript while I'm at it, but time is short, and all I've found so far wasn't very helpful.
Can anyone help or at least point me to an FAQ which has this info in?
JJ
[small][purple]Variables won't. Constants aren't[/purple]
There is no apostrophe in the plural of PC (or PST, or CPU, or HDD, or FDD, or photo, or breakfast...and so on)[/small]