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

  1. <html>    <head>        <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">        <title>Intersection Action</title>        <meta name="generator" content="Adobe GoLive 4">    </head>    <body bgcolor="white">        <center> <font size="6">Intersection Action</font>            <hr>        </center>        <csactionclass name="Intersection" function="CSLayerIntersect" nsversion="4" ieversion="4" actiontype="3">        <csactionparam name="layer1" type="GLActionLayerParam"></csactionparam>        <csactionparam name="layer2" type="GLActionLayerParam"></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"></script>        </p>
  2.         <p>Intersection Action Main Script        <script language="JavaScript1.2" cyberversion="N1.2"><!--function CSLayerIntersect (condition){    var l1,t1,r1,b1,l2,t2,r2,b2;    if (IsIE()) {        var layer1=document.all.tags("div")[condition[1]];        var layer2=document.all.tags("div")[condition[2]];        l1=layer1.style.pixelLeft; t1=layer1.style.pixelTop; r1=layer1.offsetWidth+l1; b1=layer1.offsetHeight+t1;        l2=layer2.style.pixelLeft; t2=layer2.style.pixelTop; r2=layer2.offsetWidth+l2; b2=layer2.offsetHeight+t2;    } else {        var layer1=CSNSStyl(condition[1]);        var layer2=CSNSStyl(condition[2]);        l1=layer1.x; t1=layer1.y; r1=layer1.clip.width+l1; b1=layer1.clip.height+t1;        l2=layer2.x; t2=layer2.y; r2=layer2.clip.width+l2; b2=layer2.clip.height+t2;    }    var w = (r1 < r2 ? r1 : r2) - (l1 > l2 ? l1 : l2)    var h = (b1 < b2 ? b1 : b2) - (t1 > t2 ? t1 : t2)    return ((w >= 0) && (h >= 0));}// -->        </script>        </p>
  3.         <table cool width="233" height="153" border="0" cellpadding="0" cellspacing="0" gridx="16" showgridx gridy="16" showgridy bgcolor="#eeeeee">
  4.             <tr height="6">
  5.                 <td width="4" height="152" rowspan="6"><spacer type="block" width="4" height="152"></td>
  6.                 <td width="90" height="9" rowspan="2"><spacer type="block" width="90" height="9"></td>
  7.                 <td width="138" height="6"><spacer type="block" width="138" height="6"></td>
  8.                 <td width="1" height="6"><spacer type="block" width="1" height="6"></td>
  9.             </tr>
  10.             <tr height="3">
  11.                 <td width="138" height="22" rowspan="2" valign="top" align="left" xpos="94">
  12.                     <csactioncntrl name="layer1" x="93" y="6" width="136" height="18" alignx="scale" aligny="top">
  13.                 </td>
  14.                 <td width="1" height="3"><spacer type="block" width="1" height="3"></td>
  15.             </tr>
  16.             <tr height="19">
  17.                 <td width="90" height="19" valign="top" align="left" xpos="4">
  18.                     <csactioncntrl type="InfoText" value="Schweberahmen:" x="4" y="9" width="86" height="16" alignx="left" aligny="top">
  19.                 </td>
  20.                 <td width="1" height="19"><spacer type="block" width="1" height="19"></td>
  21.             </tr>
  22.             <tr height="3">
  23.                 <td width="90" height="3"><spacer type="block" width="90" height="3"></td>
  24.                 <td width="138" height="27" rowspan="2" valign="top" align="left" xpos="94">
  25.                     <csactioncntrl name="layer2" x="93" y="28" width="136" height="18" alignx="scale" aligny="top">
  26.                 </td>
  27.                 <td width="1" height="3"><spacer type="block" width="1" height="3"></td>
  28.             </tr>
  29.             <tr height="24">
  30.                 <td width="90" height="24" valign="top" align="left" xpos="4">
  31.                     <csactioncntrl type="InfoText" value="Schweberahmen:" x="4" y="31" width="87" height="18" alignx="left" aligny="top">
  32.                 </td>
  33.                 <td width="1" height="24"><spacer type="block" width="1" height="24"></td>
  34.             </tr>
  35.             <tr height="97">
  36.                 <td width="228" height="97" colspan="2" valign="top" align="left" xpos="4">
  37.                     <csactioncntrl type="InfoText" value="Die Bedingung fⁿr diese Aktion ist 'wahr', wenn sich beide angegebenen Schweberahmen ⁿberlappen; andernfalls ist die Bedingung 'falsch'." x="4" y="55" width="212" height="50" alignx="scale" aligny="top">
  38.                 </td>
  39.                 <td width="1" height="97"><spacer type="block" width="1" height="97"></td>
  40.             </tr>
  41.             <tr height="1" cntrlrow>
  42.                 <td width="4" height="1"><spacer type="block" width="4" height="1"></td>
  43.                 <td width="90" height="1"><spacer type="block" width="90" height="1"></td>
  44.                 <td width="138" height="1"><spacer type="block" width="138" height="1"></td>
  45.                 <td width="1" height="1"><spacer type="block" width="1" height="1"></td>
  46.             </tr>
  47.         </table>
  48.     </body></html>