PDA

View Full Version : how do you do the onclick thing


mists0fdeath
08-09-2002, 08:50 PM
like, there is a link and we click on it and music starts on the same page or an image appears

ShdwStal
08-09-2002, 09:38 PM
<a href="#" onClick="myJSfunction()"> link </a>

That should do it ;)
Also remember to change the function there.

hairynugs6382
09-07-2002, 06:17 AM
<a href="javascript:void(null)" onclick="window.open('Blah.html' 'blahwin')">Window</a>

joh6nn
09-07-2002, 07:16 AM
i think maybe mistsofdeath is asking us how to make his page make music start playing when he clicks.

if that's what you're asking, then we need to see the page you're talking about.