The specification says that the onLoad() method is to be invoked in the <BODY> tag. Can I declare the onLoad within the JavaScript instead? The following is giving me an error.
function init()
{
var s = document.getElementsByTagName("A");
for(var i = 0; i <...
This will open a popup window at the location of a mouse click, hope this helps.
var a = event.screenX;
var b = event.screenY;
var max_width = screen.width - 600;
var max_height = screen.height - 150;
if(a >= max_width)
a = a - 600;
if(b >= max_height)
b = b - 150...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.