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 (Open)
 v3.3 MINOR bug + FIX include_jump_to.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Aaron S.
Average Member

USA
985 Posts

Posted - 02 April 2002 :  18:51:01  Show Profile  Visit Aaron S.'s Homepage
Small bug in include_jump_to.asp... it should not jump anywhere if you choose:



... but it does (default.asp). This would also happen if you choose "Select Forum".

The fix is around line 42 on inc_jump_to.asp.

Change:

Response.Write	"	    <select name=""SelectMenu"" size=""1"" onchange=""jumpTo(this)"">" & vbNewline & _



To:

Response.Write	"	    <select name=""SelectMenu"" size=""1"" onchange=""if (this.value != ''){jumpTo(this);}"">" & vbNewline & _



The reason I didn't change it in the jumpTo function is because that function is on many different pages (active.asp, forum.asp, etc.).

Another suggestion would be to make common Javascript functions into .js files and add them as javascript include files to the needed pages.










Edited by - aaron s. on 02 April 2002 18:52:54

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 02 April 2002 :  20:58:42  Show Profile
This is what we have in v3.4 already:

Response.Write	"          <select name=""SelectMenu"" size=""1"" onchange=""if(this.options[this.selectedIndex].value != '' ){ jumpTo(this) }"">" & vbNewline & _
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 02 April 2002 :  21:07:44  Show Profile  Visit Aaron S.'s Homepage
Looks pretty darn similar... good job.



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.11 seconds. Powered By: Snitz Forums 2000 Version 3.4.07