
minimize, maximize script just like on microsoft.com
You can set the visibility of a <DIV></DIV> tag from script.
e.g.:
<html>
<head>
<script language="VBScript">
<!--
Function ShowWaiting(pblnValue)
If pblnValue = 1 Then
document.all("div_waiting").style.visibility = "visible"
Else
document.all("div_waiting").style.visibility = "hidden"
End If
End Function
-->
</script>
</head>
<body>
Show the DIV
<script Language="VBScript">ShowWaiting(1)</script>
Do Something Here.
Now hide the DIV.
<script Language="VBScript">ShowWaiting(0)</script>
Done.
<div id="div_waiting" name="div_waiting" style="VISIBILITY: hidden">
<p><h1> Retrieving information, please wait ...</h1></p>
</div>
</body>
</html>
Of course, most people want to use JavaScript so hack it at your leisure
(I've now converted to JavaScript but I ripped this from an old demo page).
Chrs Barber
Hello everybody,
Does somebody have a script what can do the same as seen om
www.microsoft.com.
I mean the section where you can minimize and maximize and move some content
(see
attached screendump). Please send an example to my email adres or respond to
this
newsgroup.
Thanks in advance,
Patrick