Forum Moderators: open

Message Too Old, No Replies

<body checkCount()>

Anyone use this?

         

Bowdii

2:52 pm on Sep 11, 2003 (gmt 0)

10+ Year Member



From what I have read, it is a built in function that will count the number of pop ups, and if the pop up has been displayed, the checkcount() will not show it....

Is that it?

There are some pages that have this fucntion, that are getting errors on this line, as soon as I take the checkcount() out, no more errors..

So, I need some help on how the checkcount() works...

Thanks for any help/commnets!

tedster

4:06 pm on Sep 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's only a built-in function if you build it in - either in the head or in an external file. checkcount() is not a native part of javascript, but a specific bit of code that's available for free on some of the dedicated javascript sites, such as javascript.internet.com (Javascript Source).

The one I looked at works with cookies, which is probably the sanest approach - change the cookie with each pop-up and check the cookie before sending another one. I found the scripts by searching for "checkcount javascript" on a web search engine.