Page 1 of 1

javascript (open custom window) for buttons?

Posted: Wed Mar 03, 2004 8:04 am
by malcolmboston
hi everyone basically i have written a custom javascript script that will open new windows without any extras, just the window, taskbar scroller anything

now ive never really liked JavaScript so im not really upto speed on it but i can code in it, as i previously stated i created the and using the code

Code: Select all

<a href="javascript:registrationpopup();">
will open it up no problem in a new window

however i now have a use for it when im using buttons however im not sure to go about it, it is a standard input button but edited heavily with CSS, is there anyway of applying this behaviour to a button

eagerly awaiting answer
Thanks In Advance

Posted: Wed Mar 03, 2004 8:20 am
by JayBird
something like this buddy

Code: Select all

<input name="" type="button" onClick="registrationpopup();">
Mark

Posted: Wed Mar 03, 2004 8:21 am
by malcolmboston
oooooooooh sounds obvious

thank you bech, always come to my help :roll:

Posted: Wed Mar 03, 2004 5:38 pm
by tim
if u fiddle with flash actionscript, the answers with links dealing with buttons are clear.

theres a ton of javascript in flash actionscript (onClick, onRollover, etc)