Undesired pop-ups on own web site

I’m not particularly skilled at HTML, but I have a bit of experience with WYSIWYG web design software and administration of web sites , so I said yes when the law professor for whom I’m student assistant asked me to do the internet presence of his chair. I’ve been doing this for abit more than a semester now; it’s mainly putting lecture notes (in PDF or DOC format) online for download.

Recently, there are pop-up ads appearing from time to time when one enters that site, and I don’t know the reason for this. We used to use FreeFind, an online service providing search tools for other people’s sites, and as this is financed through advertising, I supposed that was the source of the pop-ups. I removed the FreeFind link, but they continue. Anybody care to give me a hint what’s wrong?

The site is [http://www.uni-bayreuth.de/departments/zivilrecht8/]here.

My coding used to be better too. It’s here.

(URL: http://www.uni-bayreuth.de/departments/zivilrecht8)

I don’t get a pop up. Perhaps it’s something in your browser. Many browser ad-ons, like the Yahoo search bar, can lead to more ads.

I do. It has something to do with the left frame.

It’s that little ‘webstats4u’ graph at the bottom.

The html code is an image link to


http://v1.nedstatbasic.net/stats?ABS8eAHoiR2FzUJvLx1nhFQRUIHA

, which forwards to webstats4u. If you check your cookies and delete the one named ‘webstats4u’, you’ll get a popup the next time you visit the page. (It uses the cookie to try to display only one popup per visitor).

Nanoda seems to have found the culprit, but I think it’s the related JavaScript code and not the IMG itself that opens the popup. A plain image should not be able to open popup windows.

Basically, it’s the stuff between <!-- Begin Nedstat Basic code --> and <!-- End Nedstat Basic code -->.

Actually, please ignore my last comment. I was mistaken.

Just adding that I didn’t know that it was possible for an embedded image to launch a popup. I thought you actually had to have client-side code inside an HTML page. An embedded image can run server-side code sure, but not client-side – right??

I see; this webstat thing is a counter so for the number of hits our site gets. Maybe I’ll get a PHP reference book and try to install a self-made counter so we can get rid of the pop-ups.

Thanks, guys (especially Nanoda) for your help!