Oasis Online

The swf files for oasis banners are stored on the crew2000 server.

OPTION 1: You can add the crew hosted code to your own pages by adding the code (see option 1 below) to your web page

Or

OPTION 2: Download the zip file from http://www.crew2000.org.uk/oasis_swf.zip

You can then upload the relevant files to use on your own server and adjust html code on your pages accordingly to your server paths.

OPTION 1:

To call the files hosted on crew server.
Script part 1.
Copy the following code between the opening and closing head tags. ( Use this on every banner page)

<head>

<script type="text/javascript" src="http://www.crew2000.org.uk/oasis_swf/swfobject.js"></script>
<script type="text/javascript"> swfobject.registerObject("myId", "9.0.0", "http://www.crew2000.org.uk/oasis_swf/expressInstall.swf");
</script>


</head>

Paste this code between the head tags of your own website. Note: the head tags are added as a guide. They will already be on your html page. Do not add them twice.

Script part 2a.

To add the Cocaine banner

Add the following code to the section of the page you want the banner to appear.It must go between the opening and closing body tags.

<body>

<div>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="http://www.crew2000.org.uk/oasis_swf/Cocaine-English.swf" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://www.crew2000.org.uk/oasis_swf/Cocaine-English.swf">
<!--<![endif]-->
<div>
<a href="http://www.oasisonline.co.uk">
Now there's an alternative way to check your cocaine usage online
</a>
<p><a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a></p> </div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>


</body>

Note: the body tags are added as a guide. They will already be on your html page. Do not add them twice.

Or

Script part 2b:

To add the alcohol bannerYou will need to add the following code to the section of the page you want the banner to appear. It must be between the opening and closing body tags.

<body>

<div> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="468">
<param name="movie" value="http://www.crew2000.org.uk/oasis_swf/Alcohol-English.swf" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://www.crew2000.org.uk/oasis_swf/Alcohol-English.swf" width="468"> <!--<![endif]-->
<div>
<a href="http://www.oasisonline.co.uk">Now there's an alternative way to check your alcohol usage online</a>
<p><a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a></p> </div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>

</body>

Note: the body tags are added as a guide. They will already be on your html page. Do not add them twice.

OPTION 2:

Hosting the files on your own server

Download all of the files on http://www.crew2000.org.uk/oasis_swf.zip

Unzip the contents to your desktop.

Upload them to your own server root in a suitably named directory. Eg / oasis_swf

Inside the zip file there are two sample files: Alcohol-english.html and cocaine-english.html, they both contain the code you should alter for your own website.

Refer to the cut and paste guide in option 1but be sure to alter any website domain and path that refers to

http://www.crew2000.org.uk/oasis_swf/

You should change these paths to your own server path.

http://www.mydomain.com/mydirectory/

For extra reference.We are using the standards friendly open source code to embed our banner swf files http://code.google.com/p/swfobject/

 


Share this article google   yahoo   del.icio.us   digg.com   stumbleupon   myspace   facebook   twitter