[WEB4LIB] onClick without creating a "button"

Michael Sauers msauers at bcr.org
Fri Feb 4 16:23:10 EST 2000


> we would like to be able to open a new window instead of simply linking to
> a new page.  I have tried adding the "onClick" to the <A HREF>. 

Create a function that uses window.open 
Then on the link have href="javascript:function();"

-------------------------------------------------------------------------
Michael Sauers, Internet Trainer
Bibliographical Center for Research (BCR)
Aurora, CO :: msauers at bcr.org :: http://www.bcr.org/~msauers
The WWW Library Directory is @ http://www.webpan.com/msauers/libdir/
Buy books, music or videos online? http://www.dealpilot.com/?partner=1307

"I want to know what good is a Web search engine that returns 324,909,188
'matches' to my key word. That's like saying, 'Good news, we've located
the product you're looking for. It's on Earth.'"
--W. Bruce Cameron

Opinions expressed are my own unless otherwise noted.
-------------------------------------------------------------------------



More information about the Web4lib mailing list