jgla
asked on
onClick for exit and other stuff
Am I using onClick the right way to use this button to close the browser? I have the rollovers OK, so I know I'm good to where I start onClick. I have to use the API calls that are there.
<A HREF="#" ONMOUSEOUT="MM_swapImgRest ore()"
ONMOUSEOVER="MM_swapImage( 'exit button','','images/exitcrs eRd.gif',1 )"><IMG
NAME="exit button" BORDER="0" SRC="images/exitcrseRo.gif " WIDTH="70"
HEIGHT="100" onMouseOver="MM_controlSou nd('play', 'document. CS99591975 7220','aud io/idg_per c-intermed -280.wav') "
onClick = function Exit(){
API.LMSCommit();
API.LMSFinish();
setTimeout( "parent.self.close()", 1000 );</A>
<A HREF="#" ONMOUSEOUT="MM_swapImgRest
ONMOUSEOVER="MM_swapImage(
NAME="exit button" BORDER="0" SRC="images/exitcrseRo.gif
HEIGHT="100" onMouseOver="MM_controlSou
onClick = function Exit(){
API.LMSCommit();
API.LMSFinish();
setTimeout( "parent.self.close()", 1000 );</A>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I'm glad this step worked for you and I would be happy to help out more if you like.
-corey
-corey
ASKER
Great - I'll post another question...
ASKER
Data: the web page sits in an invisible frameset that holds an API object. The web page makes function calls to the API to do things like get student name, set bookmarks, etc.
Just a review to see if I did anything real dumb would be cool.