I have a menu that is dynamically positioned. The problem is when the user resizes the browser, I want the page to reload so the menu moves accordingly. It's not refreshing automatically, and what I tried doesn't work, can someone tell me what I'm doing wrong?
This is what I tried:
<script language="JavaScript">
function testresize()
{
if (onresize)
{ window.location.reload(); }
}
</script>
</head>
<body onload="testresize(); ">
This is what I tried:
<script language="JavaScript">
function testresize()
{
if (onresize)
{ window.location.reload(); }
}
</script>
</head>
<body onload="testresize(); ">