What do you mean by 'applets'? To me, it means java, not javascript. In which case, your question is quite confusing.
Do you mean how can you tell if a browser has javascript enabled? You can't. That's why there are "" tags == to place some text in them that will advise the user that the page they are viewing uses javascript. (Something that makes no sense to me since the user will realize that as soon as s/he tries to do something and nothing happens)
Or, do you mean 'plug-ins', like adobe's acrobat, etc?
Vinny
Where the world once stood
the blades of grass cut me still
I meant, just like with JavaScript you can use the tags if someone's turned off, or doesn't support Javascript, is there a way to do this with an Applet, or maybe ActiveX, like say or a JavaScript command that can do the test i.e. if (document.applet.enabled) etc...
thanks.
Vincent Puglia posted this at 16:27 — 25th November 2000.
well, in my book (The Complete Reference HTML, an Osborne book) it has this:
<APPLET CODE="game.class" ALIGN="LEFT" HEIGHT="250" WIDTH="350" <PARAM NAME=DIFFICULTY" VALUE="EASY"> <b>Sorry, you need Java to play this game.</b> </APPLET>
'
so I guess only 's can go between tags, and everything else will be ignored. Then, if the applet isn't supported, the 'everything else' will be displayed instead.
Good Luck,
Mark Hensler
If there is no answer on Google, then there is no question.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.
Vincent Puglia posted this at 01:45 — 25th November 2000.
They have: 634 posts
Joined: Dec 1999
Hi David,
What do you mean by 'applets'? To me, it means java, not javascript. In which case, your question is quite confusing.
Do you mean how can you tell if a browser has javascript enabled? You can't. That's why there are "" tags == to place some text in them that will advise the user that the page they are viewing uses javascript. (Something that makes no sense to me since the user will realize that as soon as s/he tries to do something and nothing happens)
Or, do you mean 'plug-ins', like adobe's acrobat, etc?
Vinny
Where the world once stood
the blades of grass cut me still
davidg posted this at 12:21 — 25th November 2000.
They have: 19 posts
Joined: Feb 2000
Hi,
I meant, just like with JavaScript you can use the tags if someone's turned off, or doesn't support Javascript, is there a way to do this with an Applet, or maybe ActiveX, like say or a JavaScript command that can do the test i.e. if (document.applet.enabled) etc...
thanks.
Vincent Puglia posted this at 16:27 — 25th November 2000.
They have: 634 posts
Joined: Dec 1999
Hi David,
I'm a little shaky here (just woke & don't have my books), but...
As far as I know, there is no . You might try:
if (document.object[classID])
for ActiveX. But I would go to the source to be sure
http://msdn.microsoft.com/workshop
If I come up with anything else, later in the weekend I'll let you know.
Vinny
Where the world once stood
the blades of grass cut me still
Mark Hensler posted this at 17:12 — 25th November 2000.
He has: 4,048 posts
Joined: Aug 2000
well, in my book (The Complete Reference HTML, an Osborne book) it has this:
<APPLET CODE="game.class"
ALIGN="LEFT"
HEIGHT="250" WIDTH="350"
<PARAM NAME=DIFFICULTY" VALUE="EASY">
<b>Sorry, you need Java to play this game.</b>
</APPLET>
so I guess only 's can go between tags, and everything else will be ignored. Then, if the applet isn't supported, the 'everything else' will be displayed instead.
Good Luck,
Mark Hensler
If there is no answer on Google, then there is no question.
davidg posted this at 13:30 — 26th November 2000.
They have: 19 posts
Joined: Feb 2000
great, thanks for all the help.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.