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
: 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
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
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
4 matches
Mail list logo