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=", where out.php contains CountIt(). Bogdan Douglas Harter wrote: > Maybe I should have mentioned that CountIt is a ph

RE: [PHP] Can you fake a onClick?

2001-12-27 Thread Matt Friedman
this way. Well, that's one way to do it anyway. Perhaps it will give you an idea... Matt Friedman -Original Message- From: Douglas Harter [mailto:[EMAIL PROTECTED]] Sent: Thursday December 27, 2001 8:14 PM To: Bogdan Stancescu Cc: PHP Mailing List Subject: Re: [PHP] Can you fake

Re: [PHP] Can you fake a onClick?

2001-12-27 Thread Douglas Harter
uglas Harter" <[EMAIL PROTECTED]> Cc: "PHP Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, December 27, 2001 9:09 PM Subject: Re: [PHP] Can you fake a onClick? > Yes: Text > > And in ClickIt you'll have to append > if (goto) { > window.location=goto;

Re: [PHP] Can you fake a onClick?

2001-12-27 Thread Bogdan Stancescu
Yes: Text 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 have to change the JavaScript code to "parent.win

[PHP] Can you fake a onClick?

2001-12-27 Thread Douglas Harter
I have checked the archives and not really found an answer, so here goes. My form contains a function called CountIt which increments a counter file on the site. I mainly use it to count the hits on the page. I also have multiple links to .zip & .txt files which can be accessed or downloaded.