home *** CD-ROM | disk | FTP | other *** search
/ com!online 2002 June / comonline0602.iso / software / golive5 / GoLive5_Tryout.exe / MM7.Cab / F4959_Sichtbarkeit.action.A1180258_69AD_4130_944D_0B6274131723 < prev    next >
Encoding:
Text File  |  2000-08-22  |  3.5 KB  |  54 lines

  1. <html>    <head>        <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">        <title>ShowHide Action</title>        <meta name="generator" content="Adobe GoLive 4">    </head>    <body bgcolor="white">        <center> <font size="6">ShowHide Action</font>            <hr>        </center>        <csactionclass name="ShowHide" function="CSShowHide" nsversion="4" ieversion="4">        <csactionparam name="layer" type="GLActionLayerParam"></csactionparam>        <csactionparam name="mode" type="GLActionEnumParam">        <csactionenum name="Ausblenden" value="0">        <csactionenum name="Einblenden" value="1">        <csactionenum name="Wechseln" value="2">        </csactionparam>        </csactionclass>        <p>IE Functions Script        <script language="JavaScript1.2" src="../../GlobalScripts/IE.scpt" cyberversion="N1.2"></script>        </p>        <p>StyleVis Functions Script        <script language="JavaScript1.2" src="../../GlobalScripts/StyleVis.scpt" cyberversion="N1.2"></script>        </p>
  2.         <p>ShowHide Action Main Script        <script language="JavaScript1.2" cyberversion="N1.2"><!--
  3. function CSShowHide(action) {
  4.     if (action[1] == '') return;
  5.     var type=action[2];
  6.     if(type==0) CSSetStyleVis(action[1],0);
  7.     else if(type==1) CSSetStyleVis(action[1],1);
  8.     else if(type==2) {
  9.         if (CSGetStyleVis(action[1]) == 0) CSSetStyleVis(action[1],1);
  10.         else CSSetStyleVis(action[1],0);
  11.     }
  12. }
  13. // -->
  14.         </script>        </p>
  15.         <table cool width="231" height="153" border="0" cellpadding="0" cellspacing="0" gridx="16" showgridx gridy="16" showgridy bgcolor="#eeeeee">
  16.             <tr height="6">
  17.                 <td width="4" height="152" rowspan="5"><spacer type="block" width="4" height="152"></td>
  18.                 <td width="87" height="9" rowspan="2"><spacer type="block" width="87" height="9"></td>
  19.                 <td width="139" height="6"><spacer type="block" width="139" height="6"></td>
  20.                 <td width="1" height="6"><spacer type="block" width="1" height="6"></td>
  21.             </tr>
  22.             <tr height="3">
  23.                 <td width="139" height="22" rowspan="2" valign="top" align="left" xpos="91">
  24.                     <csactioncntrl name="layer" x="92" y="6" width="136" height="18" alignx="scale" aligny="top">
  25.                 </td>
  26.                 <td width="1" height="3"><spacer type="block" width="1" height="3"></td>
  27.             </tr>
  28.             <tr height="19">
  29.                 <td width="87" height="19" valign="top" align="left" xpos="4">
  30.                     <csactioncntrl type="InfoText" value="Schweberahmen:" x="4" y="9" width="82" height="14" alignx="left" aligny="top">
  31.                 </td>
  32.                 <td width="1" height="19"><spacer type="block" width="1" height="19"></td>
  33.             </tr>
  34.             <tr height="3">
  35.                 <td width="87" height="3"><spacer type="block" width="87" height="3"></td>
  36.                 <td width="139" height="124" rowspan="2" valign="top" align="left" xpos="91">
  37.                     <csactioncntrl name="mode" x="92" y="28" width="136" height="18" alignx="scale" aligny="top">
  38.                 </td>
  39.                 <td width="1" height="3"><spacer type="block" width="1" height="3"></td>
  40.             </tr>
  41.             <tr height="121">
  42.                 <td width="87" height="121" valign="top" align="left" xpos="4">
  43.                     <csactioncntrl type="InfoText" value="Modus:" x="4" y="31" width="39" height="16" alignx="left" aligny="top">
  44.                 </td>
  45.                 <td width="1" height="121"><spacer type="block" width="1" height="121"></td>
  46.             </tr>
  47.             <tr height="1" cntrlrow>
  48.                 <td width="4" height="1"><spacer type="block" width="4" height="1"></td>
  49.                 <td width="87" height="1"><spacer type="block" width="87" height="1"></td>
  50.                 <td width="139" height="1"><spacer type="block" width="139" height="1"></td>
  51.                 <td width="1" height="1"><spacer type="block" width="1" height="1"></td>
  52.             </tr>
  53.         </table>
  54.     </body></html>