I decided it was best to use something like object detection because JS can be disabled even in JS-capable browsers and I was having display issues if JS was turned off... so I wanted to set something up to work either way.

BUT I am running into really huge issues implementing this, because things seem to be working "not as advertised" in both Firefox and in Safari (I haven't even begun to attempt IE!)

There are two different problems here.

1] This does a test for javascript (inside a script tag), and if it works, writes out a variable

<pre>

<script language="javascript">
        if document.write {
                document.write("<@assign name=request$donext 
value=firstreview>");
        }       
</script>

</pre>

However if javascript is turned OFF in either Firefox or Safari, it still creates (writes out) the variable!! Huh?


2]

<pre>

<noscript><@assign name="request$donext" value=""></noscript>

</pre>

And this is supposed to null out the "donext" variable ONLY if javascript is not present/disabled. But the variable is nulled when JS is on OR off! What's going on here?
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to