Re: [PHP] Can you fake a onClick?

2001-12-27 Thread Bogdan Stancescu
Yes: a href=javascript:CountIt('actual link here')Text/a And in ClickIt you'll have to append if (goto) { window.location=goto; } Obviously, you'll have to redefine ClickIt() to ClickIt(goto) I don't know if all the code is 100% accurate, but that's definitely the direction to go. You may

Re: [PHP] Can you fake a onClick?

2001-12-27 Thread Douglas Harter
: PHP Mailing List [EMAIL PROTECTED] Sent: Thursday, December 27, 2001 9:09 PM Subject: Re: [PHP] Can you fake a onClick? Yes: a href=javascript:CountIt('actual link here')Text/a And in ClickIt you'll have to append if (goto) { window.location=goto; } Obviously, you'll have to redefine

RE: [PHP] Can you fake a onClick?

2001-12-27 Thread Matt Friedman
Stancescu Cc: PHP Mailing List Subject: Re: [PHP] Can you fake a onClick? Maybe I should have mentioned that CountIt is a php function. Does that make a difference? It is declared at function CountIt($filename) where $filename is the file containing the count. - Original Message - From: Bogdan

Re: [PHP] Can you fake a onClick?

2001-12-27 Thread Bogdan Stancescu
Uh, ok. You said my form contains a function, so... Well, yes, you can do that too -- in the ugly way: http://www.clipart.com/ (take a look at the links -- using out.php?un=location, where out.php contains CountIt(). Bogdan Douglas Harter wrote: Maybe I should have mentioned that CountIt is