Do you have any objections just to scrolling diagonally instead of the unnecessary tedium of doing both planes separately?
Similarly why do you want to bore the user by scrolling back to the centre...
Simply running that code in isolation exposes the problem. It doesn't like inserting divs inside an inline element like <span>. Change it to a div and there is no error.
If as it appears you're reading the querystring, here's a function to extract its parameter values:
function readParamValue( wanted )
{
var params =...
I presume we are talking about automatic popups here rather than user-requested, in which case you can assume they'll be blocked.
I don't know if there's a spec for this but not all browsers return...
There is no built-in function setCookie. You could code:
document.cookie = 'abcdefo=' + x;, which would create a session cookie, but to set expiry time and possibly other parameters, a function...
What do you define as a failure - not opening the window, not loading the document or an error in the loaded document?
Nothing in your code is monitoring for any error, and there is nothing to...
My routine acted on the array. If you want to display it schematically, then you need to write a formatting function.
<html>
<head>
<title> Remove all but last duplicate in 2d array at specified...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Test Page</title>
<meta http-equiv="content-type" content="text/html;...