Roopa said:
I have a button and when I click it, I want hyperlink to a new page
and set visibity of a particular layerin that page to 'visible' . Is
this possible ?
Roopa
Hmmm.
Perhaps you can call the page with a parameter vis
<a href="otherpage.html?vis=yes">Get other page</a>
In otherpage.html, extract the parameter, and if yes, alter the style of the
<div> to block
<head>
...
<script type="text/javascript">
function qsobj(parm)
{
var qpairs = document.location.search.substring(1).split("&")
var qvbl = qpairs[parm].split("=")
return qvbl[1] ? unescape(qvbl[1].replace(/%20|\+/g," ")) : null
}
var vis = qsobj(0)
if (vis == 'yes')
document.getElementById(div).style.display = "block"
</script>
</head>
<body>
<div id= "div1" style="display:none'>
This is the hidden div
</div>
.......
Not tested as such, but I have used all of the parts of this somewhere or
other.