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

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Closed)
 V33 (.03) BUG + FIX: Go to Page menu
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Bear Skarky
Starting Member

USA
29 Posts

Posted - 31 August 2001 :  03:44:31  Show Profile
There seems to be a problem with the drop down 'Go to Page:' menu on the Members page. Doesn't go anywhere with Netscape or Opera, though it seems ok with IE. I downloaded the bug-fixed members.asp, but it still doesn't work except with IE.

http://www.poasters.com/forum/members.asp



Edited by - Davio on 31 August 2001 23:32:56

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 31 August 2001 :  22:00:28  Show Profile
This is the error that is produced in Netscape 4.7, when I go to your members page(also tested this on a clean members.asp page):
JavaScript Error: http://www.poasters.com/forum/members.asp,
line 113:

missing formal parameter.

function ChangePage(int){
....................^
This is the error that is produced when clicking the "Go to Page:" select box:
JavaScript Error: http://www.poasters.com/forum/members.asp,
line 134:

ChangePage is not defined.
I'm guessing that the int variable that is used in the javascript function might be a javascript reserved word. Not sure, just my guess. I'll test this out.

- David
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 31 August 2001 :  23:30:46  Show Profile
Ok, just tested this.

SUGGESTED FIX:
In the members.asp page, line 43 - 51, change this:
<script language="JavaScript">
function ChangePage(int){
if (int == 1) {
document.PageNum1.submit();
}
else {
document.PageNum2.submit();
}
}
</script>
to this:
<script language="JavaScript">
function ChangePage(i){
if (i == 1) {
document.PageNum1.submit();
}
else {
document.PageNum2.submit();
}
}
</script>
Basically, the int variable was a reserved javascript keyword. So changing the variable to anything else would fix it. IE is smart enough to know that the int is a variable and not the reserved keyword.
Well, that's my hypothesis anyway.

- David
Go to Top of Page

Bear Skarky
Starting Member

USA
29 Posts

Posted - 02 September 2001 :  10:24:14  Show Profile
I think you mean IE isn't standards-compliant enought to reject it.

Anyway, your fix is working and all is well. Thanks very much.

Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 07 November 2001 :  15:47:50  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
fix in 3.4

---------------
-Da_Stimulator
Stims Snitz Test area - Running 3.3.03, 4 beta, and Huw's modified code
Need a Mod? Check out the Mod Resource
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 24 November 2001 :  17:07:23  Show Profile
Fixed in [v40b03patch001]...

Think Pink
Test Site not ready yet | Post v40b03 Patches
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07