- Dumb Help - ALT for no java + Others
- Posted by Stig Bronson on September 9th, 2003
It's been a few years since I had to throw a site together and despite all
my best intentions of keeping a copy of the code I wrote back then on a cdr,
hell knows where I put it.
Need a few tint bits of help from you guys and gals if you don't mind.
First of all - java applets - I cannot remember how the hell to display an
alternative image where no java exists on the browser.
I seem to recall it was simple but cannot find reference to it in any of my
little ole books.
Anyone know what I need to add around this to get a non java image
(nojava.gif) to display?
<applet codebase="classes" code=Marquee width=399 height=35 VIEWASTEXT>
<param name=cabbase value="Marquee.CAB">
<param name=BGColor value=#FFFFFF>
<param name=BGImage value="classes/images/lg_smudger.gif">
<param name=BGRate value=150>
<param name=Text0 value="I'd love an alternative for no java">
</applet>
Finally a Flash Specific problem. Well more a Flash V ASP problem.
I do my editing with interdev (call me old fashioned) and i'm reasonably new
to flash. Like many fools before me
i overlooked that many browsers or users don't have or want it. This means I
want an alternative image to display
for non flash browsers. No problem I hear you all say - Flash's publish
settings allow for this and write a nice chunk of java/vb script to deal.
This is where the problem begins - asp will not allow these embeded vb
scripts - it fires off a 500 internal server error.
I know that javascript cannot detect flash with IE and it falls to vb script
to do the job so it seems like a catch 22.
I also know that asp offers the browser capability component but in real
terms most hosts never update the browsercap.ini file which was written many
years ago.
Apart from using a non asp page to check for flash and redirect is there an
alternative method - I like to write one script that outputs one page, not
have a server full of different versions to maintain - any input here gladly
received.
TIA
- Posted by Jim Ley on September 9th, 2003
On Tue, 9 Sep 2003 07:56:03 +0100, "Stig Bronson"
<spamme@someplace.com> wrote:
Javascript can do everything vbscript can on IE, it can detect Flash
every bit as much as VBScript can - if you have a problem with the
incompetent flash script (and it is incompetent) I'd talk to
macromedia. Most of the js newsgroups have stopped even attempting to
debug the mess that is macromedia's javascript for them.
Jim.


