javascript (open custom window) for buttons?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

javascript (open custom window) for buttons?

Post 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
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

something like this buddy

Code: Select all

<input name="" type="button" onClick="registrationpopup();">
Mark
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

oooooooooh sounds obvious

thank you bech, always come to my help :roll:
User avatar
tim
DevNet Resident
Posts: 1165
Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio

Post 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)
Post Reply