Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > ActiveX & JavaScript

ActiveX & JavaScript
Thread Tools
Mac Elite
Join Date: Oct 1999
Location: Brooklyn, New York, USA
Status: Offline
Reply With Quote
Dec 16, 2001, 01:11 PM
 
Where in the following code would an "onclick" tag go? I'm trying to get the OBJECT version of it to work - the EMBED version seems to work fine.

The goal is to have a JS timer start as the QT mov poster is clicked.

Obviously, carats have been replaced with parenthesis.

Thanks.

(OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="202"HEIGHT="26"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab")
(PARAM name="SRC" VALUE="http://mysite/playsong.mov")
(PARAM name="HREF" VALUE="http://mysite/singsingsing.mp3" onclick="javascript:Start()")
(PARAM name="ENABLEJAVASCRIPT" VALUE="true")
(PARAM name="NAME" VALUE="movie1")
(PARAM name="TARGET" VALUE="myself")
(PARAM name="AUTOPLAY" VALUE="false")
(PARAM name="CONTROLLER" VALUE="false")
(embed src="http://mysite/playsong.mov" name="movie1" width="202" height="26" enablejavascript="true" href="http://mysite/singsingsing.mp3" target="myself" onclick="javascript:Start()" AUTOPLAY="false" CONTROLLER="false" PLUGINSPAGE="http://www.apple.com/quicktime/download/")
(/EMBED)
(/OBJECT)
[ 12-16-2001: Message edited by: TheJoshu ]
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:42 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2