Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001032

Re: [PHP] Active-X From: Adrian Murphy (adrian.murphy <email protected>)
Date: 03/28/01

allegedly this works,but i haven't tried it and can't remember where i got
it but i used google,of course:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0
,0"
 id=ebusiness width=191 height=174>
        <param name=movie value="movie.swf">
        <param name=quality value=high>
        <param name=bgcolor value=#000000>
  <SCRIPT LANGUAGE="JavaScript">
<!--

file://If this browser understands the mimeTypes property and recognizes the
MIME Type file://"application/futuresplash"...
if (navigator.mimeTypes &&
navigator.mimeTypes["application/x-shockwave-flash"]){

   file://...write out the following <EMBED> tag into the document.
   document.write('<embed src="movie.swf" quality=high bgcolor=#000000
width=191 height=174 type="application/x-shockwave-flash"></embed> ');
}

file://Otherwise,...
else {

   file://...write out the following <IMG> tag into the document. The image
need
   file://not be the same size as the Flash movie, but it may help you lay
out the

   document.write('<img src="images/log1.gif" width="50" height="50" alt=""
border="0">');
}
-->

</SCRIPT>

      </object>
----- Original Message -----
From: Simon Ould <Simon <email protected>>
To: 'AJDIN BRANDIC' <abrandic <email protected>>
Cc: <php-general <email protected>>
Sent: Wednesday, March 28, 2001 3:36 PM
Subject: RE: [PHP] Active-X

> The following code snippet was copied from
> http://javascript.internet.com/miscellaneous/check-mimes.html
> Looking at it, I guess that it only works with Netscape.
> Maybe for a less UA specific solution you could have a start page that
> contains a small flash movie that redirects the user to the flash enhanced
> version of your site.
> If they aren't redirected then they don't have a flash enabled UA:
redirect
> them to a standard HTML version of your site.
>
> Regards,
>
> Simon.
> <!-- ONE STEP TO INSTALL CHECK MIMES:
>
> 1. Add the specified coding into the BODY of your HTML document -->
>
> <!-- STEP TWO: Put this code into the BODY of your HTML document -->
>
> <BODY>
>
> <CENTER>
> <SCRIPT LANGUAGE="JavaScript">
>
> <!-- This script and many more are available free online at -->
> <!-- The JavaScript Source!! http://javascript.internet.com -->
>
> <!-- Begin
> document.writeln("<TABLE BORDER=1><TR VALIGN=TOP>",
> "<TH ALIGN=left>i",
> "<TH ALIGN=left>type",
> "<TH ALIGN=left>description",
> "<TH ALIGN=left>suffixes</TR>")
> for (i=0; i < navigator.mimeTypes.length; i++) {
> document.writeln("<TR VALIGN=TOP><TD>",i,
> "<TD>",navigator.mimeTypes[i].type,
> "<TD>",navigator.mimeTypes[i].description,
> "<TD>",navigator.mimeTypes[i].suffixes,
> "</TR>")
> }
> document.writeln("</TABLE>")
> // End -->
> </SCRIPT>
> </CENTER>
>
> <p><center>
> <font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
> by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
> </center><p>
>
> <!-- Script Size: 0.87 KB -->
>
> > -----Original Message-----
> > From: AJDIN BRANDIC [mailto:abrandic <email protected>]
> > Sent: Wednesday, March 28, 2001 14:46
> > To: elias
> > Cc: php-general <email protected>
> > Subject: Re: [PHP] Active-X
> >
> >
> > Thanks Elias but have you got a url that I could look at.
> > I have tried www.javascript.com and www.javascripts.com but could not
> > find anything.
> >
> > Ajdin
> ... snip ...
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>