Text link for pop up window

  murgle 21:13 18 Sep 06
Locked

Hi,

I have the below script on a page which allows a pop up to appear. The problem is that this is a button. How can I change the script so that it is a text hyperlink.

Many thanks for your help.

input type="button" value="Click here" onclick="javascript:popUp('click here;formname=webmail')">

  Forum Editor 21:51 18 Sep 06

<a href="#" onClick="crush=window.open('yourpagedetailshere.htm', 'popup', 'toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=no, width=NUMBER,height=NUMBER'); return false;">LINK TEXT GOES HERE</a>


Just alter the parameters to suit your needs.

  ade.h 22:17 18 Sep 06

If you're interested in JS, Murgle, have a look at this book: click here

  murgle 19:11 19 Sep 06

Thanks Forum Editor. I've tried it and it works a treat. I'll have a play around with it.

Thanks also for the book recomendation ade.h

Kind regards

This thread is now locked and can not be replied to.

Surface Pro (2017) vs Surface Pro 4

20 groundbreaking 3D animation techniques

How to mine Bitcoin on Mac