Text link for pop up window

  murgle 21:13 18 Sep 2006
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 2006

<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 2006

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

  murgle 19:11 19 Sep 2006

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.

Elsewhere on IDG sites

Xiaomi Mi Mix 2 review

What went wrong at the Designs of the Year 2017

iPhone X news: Release date, price, new features & specs

Comment créer, modifier et réinitialiser un compte Apple ?