<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>
I’ll add, I’m running Opera 7.02 on XP Pro and I got the “Image” place holder tag and nothing happened. Naturally, I did a C&P to IE and jumped when both my drives opened.
What OS/browser version is this picture supposed to open the CD-ROMs on? Which one is supposed to open the drives? The trippy colors or the big cup holder? Neither of my drives ejected with either of the pictures. I’m using Windows 2000 SP2 with IE 5.5.
It didn’t do anything for me, and I’m using XP Pro with IE’s security settings on all the defaults. Looking at the code, it makes sense that it wouldn’t do anything – I don’t think a web page should be allowed to create and call the methods of a WMPlayer object. Maybe this was a security hole that got plugged up.
Oh, and for the record, the functionality has nothing to do with the jpg file itself. The picture doesn’t need to be there, and is probably just there as a distraction to make the whole thing seem a little more mysterious. The url, even though it ends in “.jpg”, points to a text file which has the script and an <img> tag in it pointing to a seperate .jpg file which is the actual picture of the cupholder.