Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 javascript errors
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

weeweeslap
Senior Member

USA
1077 Posts

Posted - 01 June 2007 :  03:44:02  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
I just updated my site's looks and well I managed to break the javascript that is used to pop windows open. I click and receive a jscript error in the bottom left of internet explorer. Here is a copy of inc_header.asp in text format. ~Link~
My forum version is: 3.4.03
Website: http://www.weeweeslap.com
test account: SnitzTest
test password: test
Error:
------------------
Line: 1
Char: 1
Error: Object Expected
Code: 0
URL: weeweeslap.com
------------------

Can you please point me in the right direction in to getting the javascript back to working condition? I looked through the file line by line several times without luck. Thanks for your help.

<moved from="Help: General / Current Version (v3.4.xx)" by="Shaggy" />

coaster crazy

Edited by - Shaggy on 01 June 2007 04:37:53

Podge
Support Moderator

Ireland
3776 Posts

Posted - 01 June 2007 :  04:07:59  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
I'm not getting any errors with IE6.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 01 June 2007 :  04:40:04  Show Profile
The problem is with the following functions, which I'm guessing are related to the Hover Colour Mod:
function mOvr(src,clrOver) {if (!src.contains(event.fromElement))  {src.bgColor = clrOver;}}
function mOut(src,clrIn)   {if (!src.contains(event.toElement))    {src.style.cursor = 'default'; src.bgColor = clrIn;}}
Appareently, "event" is undefined.

For future reference, you're much better off using Firefox's Error Console to help you debug Javascript errors.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 01 June 2007 :  11:48:54  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
Hi Shaggy. I checked in FireFox and I did not manage to get the error. It seems to be only happening in Internet Explorer. It happens for example when I click the delete button or lock forum icon, anything that requires a pop up page. I checked the above and can't seem to find anything wrong.

coaster crazy
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 01 June 2007 :  18:24:49  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
fixed!
problem was a missing -->
<!--
body,td,th {font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 11px;color: #FFFFFF;}
a:link {color: #FFFFFF;}
a:visited {color: #FFFFFF;}
a:hover {color: #B5C3EA;}
a:active {color: #FFFFFF;}
-->

the one at the bottom was missing

coaster crazy
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07