[thelist] Frustrating problem
Peter Small
peter at genps.demon.co.uk
Fri Apr 5 15:35:00 CST 2002
I've had another thought as to what the problem might be.
Originally, I used several parameter in the query line and the code in the
SRC read:
//PARSING QUERY STRING - & VARIABLES
var qStr= location.search.substring(1);
var parsedQString=qStr.split("&");
var mrAddress= parsedQString[0];
var agentName= parsedQString[1];
var epw= parsedQString[2];
Then I didn't need two of the parameters so I opened up the page with:
ctwsee.html?aa (I only needed the "aa")
and (lazily) reduced the code to:
var qStr= location.search.substring(1);
var parsedQString=qStr.split("&");
var mrAddress= parsedQString[0];
Could this cause a problem with some browsers?
Anyway, I've now changed it to:
var mrAddress = location.search.substring(1);
Does this cure the problem?
http://www.avatarnets.com/ctwd/
peter
>Not sure, but in your code you have this:
>=========================================
><script language="Javascript" src="jsagentcontrolspv.js">
>
>function checkArrivals() {
>if (typeof srcv == "undefined") {
>setTimeout("location.reload()",4000);
>}
>}
></Script>
>=========================================
>
>Try replacing that with this:
>
>=========================================
><script language="Javascript" src="jsagentcontrolspv.js"></script>
><script language="javascript">
>function checkArrivals() {
>if (typeof srcv == "undefined") {
>setTimeout("location.reload()",4000);
>}
>}
></Script>
>=========================================
>
>It may be that it doesn't like the external reference and the local
>functions within the same <script></script> tags.
>
>-Ken (IE6/XP)
>
>> Buttons work on my Mac with IE 5, but my client on a PC can't
>> get them to work.
>
>--
>For unsubscribe and other options, including
>the Tip Harvester and archive of thelist go to:
>http://lists.evolt.org Workers of the Web, evolt !
More information about the thelist
mailing list