[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SAT-3 / WASC
On Thursday, May 29, 2003, at 06:29 AM, Lenias Malatji (LA) wrote:
> The information you need is obtainable from the SAT3/WASC/SAFE
> website. The address is www.safe-sat3.co.za
The safe-sat3.co.za site is broken on Mozilla and IE / OS X and
probably linux too. The reason is that it uses VBScript! This is a
microsoft windows only scripting language ... Javascript/ECMAscript
does the same thing and works on all platforms as a standard.
The most major problem is that it's impossible to navigate using the
buttons to the different sections. Here is a fix for that, I just
switched the VBscript to javascript equivalent. Although, it would be
better to use <form action="../foo/bar.asp"><input type="submit"
value="bar"></form> as that would work in browsers that don't have
javascript support or have it turned off.
Below is a patch.
simon
--- SAT3_WASC_SAFE_Home.asp.orig Sat May 31 15:56:14 2003
+++ SAT3_WASC_SAFE_Home.asp Sat May 31 15:56:15 2003
at at -144,32 +144,32 at at
<TR>
<TD><INPUT class="buttonclass" type="button" style = "WIDTH:150;"
- onclick="GoToPage('../Awareness/Awareness.asp')"
+
onclick="javascript:window.location.href='../Awareness/Awareness.asp'"
value="Cable Awareness" id=button1 name=button1>
</TD>
<TD><INPUT class="buttonclass" type="button" style = "WIDTH:130;"
- onclick="GoToPage('../Configuration/Configuration.asp')"
+
onclick="javascript:window.location.href='../Configuration/Configuration.asp'"
value="Configuration">
</TD>
<TD><INPUT class="buttonclass" type="button" style = "WIDTH:100;"
- onclick="GoToPage('../ContactUs/ContactUs.asp')"
+
onclick="javascript:window.location.href='../ContactUs/ContactUs.asp'"
value="Contact Us">
</TD>
<TD><INPUT class="buttonclass" type="button"
- onclick= "GoToPage('../Members/MemberLogin.asp')"
+ onclick=
"javascript:window.location.href='../Members/MemberLogin.asp'"
value="Members">
</TD>
<TD><INPUT class="buttonclass" type="button" style = "WIDTH:140;"
- onclick="GoToPage('../MediaReleases/MediaReleases.asp')"
+
onclick="javascript:window.location.href='../MediaReleases/MediaReleases.asp'"
value="Media Releases">
</TD>
<TD><INPUT class="buttonclass" type="button" style =
"WIDTH:180;"
-
onclick="GoToPage('../SystemInformation/SystemInformation.asp')"
+
onclick="javascript:window.location.href='../SystemInformation/SystemInformation.asp'"
value="System Information" id=button2 name=button2>
</TD>
=====
www.simonwoodside.com
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
-----
This is the afnog mailing list, managed by Majordomo 1.94.5
To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)
This list is maintained by owner-afnog at afnog.org