PDA

View Full Version : Two errors: delHover & Google Analytics


Pupator
Jan-01-2007, 04:30 AM
I'm getting two errors when my site loads:

1)
missing ; before statement

******** src="http://www.google-analytics.com/urchin.js" type="text/javascript">\n -- Though google-analytics seems to be working.

2) delHover is not defined onload (http://www.dgrin.com/)(load (http://www.dgrin.com/)) - and the delHover function is (obviously) not working.


Any ideas?

www.paulsclicks.com (http://www.paulsclicks.com)

Andy
Jan-01-2007, 05:44 AM
I'm getting two errors when my site loads:

Errors in which browser?

DJKennedy
Jan-01-2007, 07:14 AM
Errors in which browser?

I'm not seeing any errors with FF2 or IE6 :dunno

Pupator
Jan-01-2007, 08:07 AM
I'm not seeing any errors with FF2 or IE6 :dunno

The error won't show up if you're just browsing. You have to look at the code. Apart from the errors, the real problem is that I can't get rid of the yellow "popup" information that appears when you mouse over a thumb nail. The code from the tutorial on how to do that is what's throwing up one of the errors.

http://paulsclicks.smugmug.com/photos/120227740-L.jpg

Andy
Jan-01-2007, 08:10 AM
? :scratch

Pupator
Jan-01-2007, 12:08 PM
Solved.

Problem 1: I had copied the "<head>" tags into the javascript field - that's a no-no.
Problem 2: I had copied the "<scr1pt>" tags into the javascript field - see above.

Reminder for me and every one - you can't have tags of any kind in a JS file!

devbobo
Jan-01-2007, 07:24 PM
Solved.

Problem 1: I had copied the "<head>" tags into the javascript field - that's a no-no.
Problem 2: I had copied the "<scr1pt>" tags into the javascript field - see above.

Reminder for me and every one - you can't have tags of any kind in a JS file!

good to see someone using Firebug :thumb

DJKennedy
Jan-01-2007, 09:41 PM
good to see someone using Firebug :thumb

I might not be able to fix the problems I find on others sites - but I'm more than happy to point them out! :deal