Search this site!
CSBSupport Home
>
Sample Code
>
Misc Scripts
>
Open up your CD drive!
|
Page Counters
|
Convert WORD document
|
Download Counter
|
Form Mailer1
|
Form Mailer2
|
Display special characters
|
Display subscript & superscripts
|
Random Password Generator
|
Progress Bar Generator
Open up your CD drive!
Description:
OK, this is just for fun and games!
How to use:
Simply copy and paste the code at the end of this page onto your CSB page using the Insert > HTML Code function.
Code can be found at several web sites, including:
http://www.waxy.org/archive/2003/03/27/open_cdr.shtml
http://www.mrbrdo.net/stuff/eng/hacking.html
http://www.sloppycode.net/fso/?o=11
Example:
Download the code
right click on link, then click on 'Save target (or frame) as'
Other information:
Source code:
<SCRIPT LANGUAGE="VBScript">
<!--
Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
End If
-->
</SCRIPT>