home *** CD-ROM | disk | FTP | other *** search
/ PC World 1999 April / PCWorld_1999-04_cd.bin / Software / TemaCD / DutchHtm / DHTML.ds_ / DHTML.ds
Encoding:
INI File  |  1998-12-01  |  65.5 KB  |  2,166 lines

  1. [Do not delete or edit this document]
  2.  
  3. "HotSpots"
  4. <1>Insert Part 1 in between <HEAD>and</HEAD> tags, insert Part 3 in wherever in body of your document. Change YOUR IMAGE FILE TO BE EXPOSED, YOUR WIDTH, YOUR HEIGHT, YOUR TEXT and YOUR IMAGE FILE(s). You can also change attributes and position (left, top, ...). Dimensions of all images should be the same! 
  5. <2><STYLE type="text/css">
  6.  
  7.     BODY { margin: 0.5in }
  8.     H1 { color: red }
  9.     #hotspot1 { position:absolute; left: 20; top: 20; width:80; height:32 }
  10.     #hotspot2 { position:absolute; left: 110; top: 20; width:80; height:32 }
  11.     #hotspot3 { position:absolute; left: 210; top: 20; width:80; height:32 }
  12.     #hotspot4 { position:absolute; left: 310; top: 20; width:80; height:32 }
  13.     #hotspot5 { position:absolute; left: 410; top: 20; width:80; height:32 }
  14.     #hotspot6 { position:absolute; left: 510; top: 20; width:80; height:32 }
  15.  
  16. </STYLE>
  17.  
  18. <SCRIPT language="javascript">
  19.  
  20. <!--
  21.  
  22. dfltimg = new Image();
  23. dfltimg.src = "YOUR IMAGE FILE TO BE EXPOSED";
  24.  
  25. function hotspot(num) {
  26.    if (navigator.appName == "Microsoft Internet Explorer")
  27.     document.images[num].src = dfltimg.src;
  28.    else
  29.     document.layers[num].document.images[0].src = dfltimg.src;
  30. }
  31.  
  32. //-->
  33.  
  34. </SCRIPT>
  35. <3>
  36. <4><DIV id=hotspot1>
  37. <a href="" onclick="return false" onmouseover="hotspot(0)">
  38. <img src="YOUR IMAGE FILE #1" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT border=0></a>
  39. </DIV>
  40.  
  41. <DIV id=hotspot2>
  42. <a href="" onclick="return false" onmouseover="hotspot(1)">
  43. <img src="YOUR IMAGE FILE #2" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT border=0></a>
  44. </DIV>
  45.  
  46. <DIV id=hotspot3>
  47. <a href="" onclick="return false" onmouseover="hotspot(2)">
  48. <img src="YOUR IMAGE FILE #3" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT border=0></a>
  49. </DIV>
  50.  
  51. <DIV id=hotspot4>
  52. <a href="" onclick="return false" onmouseover="hotspot(3)">
  53. <img src="YOUR IMAGE FILE #4" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT border=0></a>
  54. </DIV>
  55.  
  56. <DIV id=hotspot5>
  57. <a href="" onclick="return false" onmouseover="hotspot(4)">
  58. <img src="YOUR IMAGE FILE #5" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT border=0></a>
  59. </DIV>
  60.  
  61. <DIV id=hotspot6>
  62. <a href="" onclick="return false" onmouseover="hotspot(5)">
  63. <img src="YOUR IMAGE FILE #6" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT border=0></a>
  64. </DIV>
  65. <!--YOUR TEXT-->
  66. <H1>Check out the HotSpots!</H1>
  67. There are six hidden hotspots on this page. Move your mouse around until all six are exposed.
  68. <!--END YOUR TEXT-->
  69. <End>
  70.  
  71. "Highlighted Links"
  72. <1>Text - Links get highlighted.Insert Part 1 in between <HEAD>and</HEAD> tags, insert Part 3 in wherever in body of your document. Change YOUR URL and YOUR DESCRIPTION. You can also change font attributes and position (left, top, color...) 
  73. <2><STYLE type="text/css">
  74.     BODY {background-color: #000000}
  75.     A { text-decoration: none}
  76.     DIV { position: absolute }
  77.     DIV A { color: magenta }
  78.     DIV.title1a { position: absolute; left: 50; top: 20; z-index: 1;
  79.         color: red; font-weight: 800; visibility:hidden;
  80.         font-size: 24pt; font-family: arial}
  81.     DIV.title1b { position: absolute; left: 52; top: 22; z-index: 2;
  82.         color: magenta; font-weight: 800; 
  83.         font-size: 24pt; font-family: arial }
  84.     DIV.title2a { position: absolute; left: 50; top: 70; z-index: 1;
  85.         color: red; font-weight: 800; visibility: hidden;
  86.         font-size: 24pt; font-family: arial }
  87.     DIV.title2b { position: absolute; left: 52; top: 72; z-index: 2;
  88.         color: magenta; font-weight: 800;
  89.         font-size: 24pt; font-family: arial }
  90.     DIV.title3a { position: absolute; left: 50; top: 120; z-index: 1;
  91.         color: red; font-weight: 800; visibility: hidden;
  92.         font-size: 24pt; font-family: arial}
  93.     DIV.title3b { position: absolute; left: 52; top: 122; z-index: 2;
  94.         color: magenta; font-weight: 800;
  95.         font-size: 24pt; font-family: arial }
  96. </STYLE>
  97.  
  98. <SCRIPT language="javascript">
  99.  
  100. function show_element(item) {
  101.    if (navigator.appName == "Microsoft Internet Explorer")
  102.     document.all.item("title" + item).style.filter="shadow(color=#FF0000,direction=320)";
  103.    else
  104.     document.layers["title" + item + "a"].visibility="inherit";
  105. }
  106.  
  107. function hide_element(item) {
  108.    if (navigator.appName == "Microsoft Internet Explorer")
  109.     document.all.item("title" + item).style.filter="";
  110.    else
  111.     document.layers["title" + item + "a"].visibility="hidden";
  112. }
  113.  
  114. </SCRIPT>
  115. <3>
  116. <4><!-- Main Menu items -->
  117. <DIV id="title1a" class=title1a>
  118. YASD's Daily Byte
  119. </DIV>
  120. <DIV id="title1" class=title1b>
  121. <a href="YOUR URL #1" onmouseover="show_element(1)" 
  122.      onmouseout="hide_element(1)" 
  123.     onclick="return false">DESCRIPTION #1</a>
  124. </DIV>
  125.  
  126. <DIV id="title2a" class=title2a>
  127. Today from TechyLand
  128. </DIV>
  129. <DIV id="title2" class=title2b>
  130. <a href="YOUR URL #2" onmouseover="show_element(2)" 
  131.     onmouseout="hide_element(2)" 
  132.     onclick="return false">DESCRIPTION #2</a>
  133. </DIV>
  134.  
  135. <DIV id="title3a" class=title3a>
  136. What's New
  137. </DIV>
  138. <DIV id="title3" class=title3b>
  139. <a href="YOUR URL #3" onmouseover="show_element(3)"
  140.     onmouseout="hide_element(3)"
  141.     onclick="return false">DESCRIPTION #3</a>
  142. </DIV>
  143. <End>
  144.  
  145. "Dynamic Menu Bar"
  146. <1>Images are not animated gifs. Just insert your .jpg (yes .jpg) or .gif instead of YOUR IMAGE FILE, YOUR WIDTH, YOUR HEIGHT, YOUR URL and YOUR DESCRIPTION. Insert Part 1 in between <HEAD>and</HEAD> tags, insert Part 2 inside your body code. An example is:<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#000080" ALINK="#000080" onload="cycle()"> or <BODY onload="cycle()">. Insert Part 3 in wherever in body of your document.
  147. <2><STYLE type="text/css">
  148.  
  149.     h2 A { text-decoration: none; color: gold }
  150.     h2 A:link { color: gold }
  151.     h2 A:visited { color: gold }
  152.     #menu1 { position: absolute; left: 0; top: 0; 
  153.         visibility: hidden}
  154.     #menu2 { position: absolute; left: 142; top: 0; 
  155.         visibility: hidden}
  156.     #menu3 { position: absolute; left: 284; top: 0; 
  157.         visibility: hidden}
  158.     #menu4 { position: absolute; left: 192; top: 0; 
  159.         visibility: hidden}
  160.     #menu5 { position: absolute; left: 142; top: 192;
  161.         visibility: hidden }
  162.     #menu6 { position: absolute; left: 284; top: 192; 
  163.         visibility: hidden}
  164.     #title1 { position: absolute; left: 60; top: 60;
  165.             z-index: 2;  height: 24px; width: 100% }
  166.     #title2 { position: absolute; top: 60; left: 152;
  167.             z-index: 2; height: 24px; width: 100%  }
  168.     #title3 { position: absolute; top: 60; left: 244;
  169.             z-index: 2; height: 24px; width: 100%  }
  170.     #title4 { position: absolute; top: 152; left: 60;
  171.             z-index: 2; height: 24px; width: 100%  }
  172.     #title5 { position: absolute; top: 152; left: 152;
  173.             z-index: 2; height: 24px; width: 100% }
  174.     #title6 { position: absolute; top: 152; left: 244;
  175.             z-index: 2; height: 24px; width: 100%  }
  176.     #imagewait { position: absolute; top: 125; 
  177.             left: 70 }
  178. </STYLE>
  179.  
  180. <SCRIPT language="javascript">
  181. document.write("");
  182. </SCRIPT>
  183.  
  184.  
  185. <SCRIPT language="javascript">
  186.  
  187. var TimingObjectsX
  188. var TimingObjectsY
  189. var currentTick = 0
  190.  
  191. var TimingObjectsX = new Array(6)
  192. var TimingObjectsY = new Array(6)
  193.     TimingObjectsX[0] = new Array(0,12,25,37,50,90,120,142)
  194.     TimingObjectsY[0] = new Array(0,12,25,37,50,50,50,50)
  195.  
  196.     TimingObjectsX[1] = new Array(142,142,142,142,142,167,200,234)
  197.     TimingObjectsY[1] = new Array(0,12,25,37,50,50,50,50)
  198.  
  199.     TimingObjectsX[2] = new Array(284,271,259,246,234,234,234,234)
  200.     TimingObjectsY[2] = new Array(0,12,25,37,50,107,122,142)
  201.  
  202.     TimingObjectsX[3] = new Array(0,12,25,37,50,50,50,50)
  203.     TimingObjectsY[3] = new Array(192,179,167,155,142,107,77,50)
  204.  
  205.     TimingObjectsX[4] = new Array(142,142,142,142,142,107,77,50)
  206.     TimingObjectsY[4] = new Array(192,179,167,155,142,142,142,142)
  207.  
  208.     TimingObjectsX[5] = new Array(284,271,259,246,234,196,161,142)
  209.     TimingObjectsY[5] = new Array(192,179,167,155,142,142,142,142)
  210.  
  211. function cycle() {
  212.  
  213.     currentTick = 0;
  214.     document.layers["menu1"].visibility="show"
  215.     document.layers["menu2"].visibility="show"
  216.     document.layers["menu3"].visibility="show"
  217.     document.layers["menu4"].visibility="show"
  218.     document.layers["menu5"].visibility="show"
  219.     document.layers["menu6"].visibility="show"
  220.     document.layers["waitimage"].visibility="hidden"
  221.  
  222.     setTimeout("MoveObjects()", 400)
  223. }
  224.  
  225. function MoveObjects() {
  226.     document.layers["menu1"].moveTo
  227.         (TimingObjectsX[0][currentTick], TimingObjectsY[0][currentTick])
  228.     document.layers["menu2"].moveTo
  229.         (TimingObjectsX[1][currentTick], TimingObjectsY[1][currentTick])
  230.     document.layers["menu3"].moveTo
  231.         (TimingObjectsX[2][currentTick], TimingObjectsY[2][currentTick])
  232.     document.layers["menu4"].moveTo
  233.         (TimingObjectsX[3][currentTick], TimingObjectsY[3][currentTick])
  234.     document.layers["menu5"].moveTo
  235.         (TimingObjectsX[4][currentTick], TimingObjectsY[4][currentTick])
  236.     document.layers["menu6"].moveTo
  237.         (TimingObjectsX[5][currentTick], TimingObjectsY[5][currentTick])
  238.  
  239.     currentTick++
  240.     if (currentTick < 8) 
  241.         setTimeout("MoveObjects()", 400)
  242. }
  243.  
  244. </SCRIPT>
  245.  
  246.  
  247. <SCRIPT language="jscript">
  248.  
  249. var TimingObjectsX
  250. var TimingObjectsY
  251. var currentTick = 0
  252.  
  253. var TimingObjectsX = new Array(6)
  254. var TimingObjectsY = new Array(6)
  255.     TimingObjectsX[0] = new Array(0,12,25,37,50,90,120,142)
  256.     TimingObjectsY[0] = new Array(0,12,25,37,50,50,50,50)
  257.  
  258.     TimingObjectsX[1] = new Array(142,142,142,142,142,167,200,234)
  259.     TimingObjectsY[1] = new Array(0,12,25,37,50,50,50,50)
  260.  
  261.     TimingObjectsX[2] = new Array(284,271,259,246,234,234,234,234)
  262.     TimingObjectsY[2] = new Array(0,12,25,37,50,107,122,142)
  263.  
  264.     TimingObjectsX[3] = new Array(0,12,25,37,50,50,50,50)
  265.     TimingObjectsY[3] = new Array(192,179,167,155,142,107,77,50)
  266.  
  267.     TimingObjectsX[4] = new Array(142,142,142,142,142,107,77,50)
  268.     TimingObjectsY[4] = new Array(192,179,167,155,142,142,142,142)
  269.  
  270.     TimingObjectsX[5] = new Array(284,271,259,246,234,196,161,142)
  271.     TimingObjectsY[5] = new Array(192,179,167,155,142,142,142,142)
  272.  
  273. function cycle() {
  274.  
  275.     currentTick = 0;
  276.     document.all.menu1.style.visibility="inherit";
  277.     document.all.menu2.style.visibility="inherit";
  278.     document.all.menu3.style.visibility="inherit";
  279.     document.all.menu4.style.visibility="inherit";
  280.     document.all.menu5.style.visibility="inherit";
  281.     document.all.menu6.style.visibility="inherit";
  282.     document.all.imagewait.style.visibility="hidden"
  283.  
  284.     setTimeout("MoveObjects()", 400)
  285. }
  286.  
  287. function MoveObjects() {
  288.     document.all.menu1.style.posLeft= TimingObjectsX[0][currentTick];
  289.     document.all.menu1.style.posTop = TimingObjectsY[0][currentTick];
  290.     document.all.menu2.style.posLeft= TimingObjectsX[1][currentTick];
  291.     document.all.menu2.style.posTop = TimingObjectsY[1][currentTick];
  292.     document.all.menu3.style.posLeft= TimingObjectsX[2][currentTick];
  293.     document.all.menu3.style.posTop = TimingObjectsY[2][currentTick];
  294.     document.all.menu4.style.posLeft= TimingObjectsX[3][currentTick];
  295.     document.all.menu4.style.posTop = TimingObjectsY[3][currentTick];
  296.     document.all.menu5.style.posLeft= TimingObjectsX[4][currentTick];
  297.     document.all.menu5.style.posTop = TimingObjectsY[4][currentTick];
  298.     document.all.menu6.style.posLeft= TimingObjectsX[5][currentTick];
  299.     document.all.menu6.style.posTop = TimingObjectsY[5][currentTick];
  300.  
  301.     currentTick++
  302.     if (currentTick < 8) 
  303.         setTimeout("MoveObjects()", 400)
  304. }
  305.  
  306. </SCRIPT>
  307. <3><BODY onload="cycle()">
  308. <4><!-- Recomanded dimensions: width=85 height=90 -->
  309. <layer name="menu1" left=0 top=0 visibility="hidden">
  310. <a href="YOUR URL #2"><img src="YOUR IMAGE FILE #2" id=menu1 
  311.     border=0 WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT></a>
  312. </layer>
  313.  
  314. <layer name="menu2" left=142 top=0 visibility="hidden">
  315. <a href="YOUR URL #3"><img src="YOUR IMAGE FILE #3" id=menu2
  316.       border=0 WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT></a>
  317. </layer>
  318.  
  319. <layer name="menu3" left=284 top=0 visibility="hidden">
  320. <a href="YOUR URL #6"><img src="YOUR IMAGE FILE #6" id=menu3
  321.     border=0 WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT></a>
  322. </layer>
  323.  
  324. <layer name="menu4" left=0 top=192 visibility="hidden">
  325. <a href="YOUR URL #1"><img src="YOUR IMAGE FILE #1" id=menu4 
  326.     border=0 WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT></a>
  327. </layer>
  328.  
  329. <layer name="menu5" left=142 top=192 visibility="hidden">
  330. <a href="YOUR URL #4"><img src="YOUR IMAGE FILE #4" id=menu5
  331.     border=0 WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT></a>
  332. </layer>
  333.  
  334. <layer name="menu6" left=284 top=192 visibility="hidden">
  335. <a href="YOUR URL #5"><img src="YOUR IMAGE FILE #5" id=menu6
  336.     border=0 WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT></a>
  337. <!-- Recomanded dimensions: width=85 height=90 -->
  338. </layer>
  339.  
  340. <LAYER name="waitimage">
  341. <DIV id=imagewait>
  342. <h4>Images for menu bar are loading...please wait</h4>
  343. </DIV>
  344. </LAYER>
  345.  
  346. <DIV id=title1>
  347. <h2><a href="YOUR URL #1">DESCRIPTION #1</a></h2>
  348. </DIV>
  349.  
  350. <DIV id=title2>
  351. <h2><a href="YOUR URL #2">DESCRIPTION #2</a></h2>
  352. </DIV>
  353.  
  354. <DIV id=title3>
  355. <h2><a href="YOUR URL #3">DESCRIPTION #3</a></h2>
  356. </DIV>
  357.  
  358. <DIV id=title4>
  359. <h2><a href="YOUR URL #4">DESCRIPTION #4</a></h2>
  360. </DIV>
  361.  
  362. <DIV id=title5>
  363. <h2><a href="YOUR URL #5">DESCRIPTION #5</a></h2>
  364. </DIV>
  365.  
  366. <DIV id=title6>
  367. <h2><a href="YOUR URL #6">DESCRIPTION #6</a></h2>
  368. </DIV>
  369. <End>
  370.  
  371. "Animation on Path"
  372. <1>Image is not an animated gif. Just insert your .jpg (yes .jpg) or .gif instead of YOUR IMAGE FILE, YOUR WIDTH, YOUR HEIGHT. Insert Part 1 in between <HEAD>and</HEAD> tags, insert Part 2 inside your body code. An example is:<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#000080" ALINK="#000080" onLoad="init()"> or <BODY onLoad="init()">. Insert Part 3 in wherever in body of your document.
  373.  
  374. <2><SCRIPT LANGUAGE = "JavaScript">
  375.  
  376. bName = navigator.appName;
  377.  
  378. bVer = parseInt(navigator.appVersion); 
  379.  
  380. if      (bName == "Netscape" && bVer == 4) ver = "n";
  381.  
  382. else if (bName == "Microsoft Internet Explorer" && bVer == 4) ver = "ie";
  383.  
  384. function init() {
  385.         if (ver == "n") {
  386.                 pic = document.picDiv
  387.                 pic.xcor = pic.left
  388.                 pic.ycor = pic.top
  389.         }
  390.         else if (ver == "ie") {
  391.                 pic = picDiv.style
  392.                 pic.xcor = pic.pixelLeft
  393.                 pic.ycor = pic.pixelTop
  394.         }
  395.  
  396. pic.pathx = new Array(64,78,105,146,203,263,334,392,432,463,476,466,445,416,385,352,344,343,319,279,272,276,273,244,202,167,132,107,78,54)
  397.  
  398. pic.pathy = new Array(74,102,135,159,186,197,203,207,185,154,121,80,64,57,59,81,109,138,153,140,114,89,53,43,42,45,54,35,26,52)
  399.  
  400. //Control Panel for Variables
  401.  
  402. pic.pathcor = 0                //don't change
  403.  
  404. pic.active = 1               // set to 1 to begin when page loads
  405.  
  406. pic.pathloop = 1            // set to 1 to loop, 0 not to loop
  407.  
  408. speed = .01                    // time between points in seconds
  409.  
  410. picpath()}
  411. function picpath() {
  412.         if (pic.active && pic.pathcor < pic.pathx.length) {
  413.                 pic.xcor = pic.pathx[pic.pathcor]
  414.                 pic.ycor = pic.pathy[pic.pathcor]
  415.                 pic.left = pic.xcor
  416.                 pic.top = pic.ycor
  417.                 pic.pathcor += 1
  418.                 setTimeout("picpath()",speed*1000) 
  419.         }
  420.  
  421.         else {
  422.         if (pic.active && pic.pathloop && pic.active) {
  423.             pic.pathcor = 0
  424.             picpath()
  425.             }
  426.             else pic.active = 0
  427.         }
  428. }
  429.  
  430. //-->
  431. </SCRIPT>
  432.  
  433. <STYLE TYPE="text/css">
  434.  
  435. <!--
  436.  
  437. #picDiv {position:absolute; left:101; top:285; width:90; height:90;}
  438.  
  439. -->
  440.  
  441. </STYLE>
  442. <3><BODY onLoad="init()">
  443. <4><DIV ID="picDiv"><img src="YOUR IMAGE FILE" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT BORDER=0</DIV>
  444. <End>
  445.  
  446. "Popout Menu #1"
  447. <1> Insert Part 1 in between<HEAD> and </HEAD> tags, insert Part 2 inside your body code. An example is:<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#000080" ALINK="#000080" onLoad="init()">  or <BODY onLoad="init()">.Insert Part 3 wherever in body of your document. Change YOUR IMAGE FILE, YOUR WIDTH, YOUR HEIGHT, YOUR TEXT.
  448. <2><script language="JavaScript1.2">
  449.  
  450.  
  451.  
  452. if (document.layers) {n=1;ie=0}
  453.  
  454. if (document.all) {n=0;ie=1}
  455.  
  456.  
  457.  
  458. function init() {
  459.  
  460.         if (n) tab = document.tabDiv
  461.  
  462.         if (n) poptext = document.poptextDiv
  463.  
  464.         if (ie) tab = tabDiv.style
  465.  
  466.         if (ie) poptext = poptextDiv.style
  467.  
  468. }
  469.  
  470.  
  471.  
  472. var tabShow=1;
  473.  
  474.  
  475.  
  476. //Hide-Show Layer
  477.  
  478. function hidepoptext() {
  479.  
  480.  
  481.  
  482.         if (tabShow == 0) {
  483.  
  484.             if (n) {
  485.  
  486.                 tab.visibility = "hide";
  487.  
  488.                 tab.visibility = "show";
  489.  
  490.                 poptext.visibility = "hide";
  491.  
  492.                 tabShow = 1;
  493.  
  494.                 return;
  495.  
  496.                }
  497.  
  498.             if (ie) {
  499.  
  500.                 tab.visibility = "hidden";
  501.  
  502.                 tab.visibility = "visible";
  503.  
  504.                 poptext.visibility = "hidden";
  505.  
  506.                 tabShow = 1;
  507.  
  508.                 return;
  509.  
  510.            }
  511.  
  512.   }
  513.  
  514.                 
  515.  
  516.         if (tabShow == 1) {
  517.  
  518.             if (n) {
  519.  
  520.                 tab.visibility = "hide";
  521.  
  522.                 tab.visibility = "show";
  523.  
  524.                 poptext.visibility = "show";
  525.  
  526.                 tabShow = 0;
  527.  
  528.                       }
  529.  
  530.             if (ie) {
  531.  
  532.                 tab.visibility = "hidden";
  533.  
  534.                 tab.visibility = "visible";
  535.  
  536.                 poptext.visibility = "visible";
  537.  
  538.                 tabShow = 0;
  539.  
  540.                 }
  541.  
  542. }
  543.  
  544. }
  545.  
  546.  
  547.  
  548. </script>
  549.  
  550.  
  551.  
  552.  
  553.  
  554. <style>
  555.  
  556. <!--
  557.  
  558. #tabdiv {
  559.  
  560.         position:absolute;
  561.  
  562.         top:0px;
  563.  
  564.         left:0px;
  565.  
  566.         z-index:2;
  567.  
  568.         visibility:show;
  569.  
  570. }
  571.  
  572.  
  573.  
  574. #poptextdiv {
  575.  
  576.         visibility:hide;
  577.  
  578.         visibility:hidden;
  579.  
  580.         position:absolute;
  581.  
  582.         width:200px;
  583.  
  584.         top:15px;
  585.  
  586.         left:0px;
  587.  
  588.         z-index:0;
  589.  
  590.         color:white;
  591.  
  592.         border-color:black;
  593.  
  594.         border-width:2px;
  595.  
  596.         background-color:black;
  597.  
  598.         color:black;
  599.  
  600.         padding:10 5 10 5;
  601.  
  602.         z-index:1;
  603.  
  604.         
  605.  
  606. }
  607.  
  608.  
  609.  
  610. #maintext {
  611.  
  612.         position:absolute;
  613.  
  614.         top:10px;
  615.  
  616.         left:240px;
  617.  
  618.         width:470px;
  619.  
  620.         z-index:0;
  621.  
  622.  
  623.  
  624. }-->
  625.  
  626. </style>
  627.  
  628. <3><body onLoad="init()">
  629. <4>
  630. <div ID=tabDiv>
  631.  
  632. <a href="javascript:hidepoptext();"><IMG SRC="YOUR IMAGE FILE" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT ALT="" BORDER=0></a></div>
  633.  
  634. <!--Recomanded: width=200 height=25-->
  635.  
  636.  
  637. <div ID=poptextDiv>
  638.  
  639. <font size="+1" color="White">
  640.  
  641. News Briefs<br>
  642.  
  643. Feature Stories<br>
  644.  
  645. Exploration<br>
  646.  
  647. Mind Games<br>
  648.  
  649. Animal Cams<br>
  650.  
  651. </font>
  652.  
  653. </div>
  654.  
  655.  
  656.  
  657. <div ID=maintext>
  658.  
  659. <font color="Black">
  660. Here's the pull down menu for both 4.0 browsers. This is a very simple example of what can be done with pop-out menus.
  661.  
  662. </font>
  663.  
  664. </div>
  665. <End>
  666.  
  667. "Popout Menu #2"
  668. <1>Insert Part 1 in between<HEAD> and </HEAD> tags, insert Part 2 inside your body code. An example is:<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#000080" ALINK="#000080" onLoad="init()">  or <BODY onLoad="init()">.Insert Part 3 wherever in body of your document. Change YOUR IMAGE FILE, YOUR WIDTH, YOUR HEIGHT, YOUR TEXT.
  669. <2><script language="JavaScript1.2">
  670.  
  671. if (document.layers) {n=1;ie=0}
  672. if (document.all) {n=0;ie=1}
  673.  
  674. function init() {
  675.         if (n) tab = document.tabDiv
  676.         if (n) poptext = document.poptextDiv
  677.         if (ie) tab = tabDiv.style
  678.         if (ie) poptext = poptextDiv.style
  679. }
  680.  
  681. var tabShow=1;
  682.  
  683. //Hide-Show Layer
  684. function hidepoptext() {
  685.  
  686.         if (tabShow == 1) {
  687.             if (n) {
  688.                 tab.visibility = "hide";
  689.                 tab.left = 0;
  690.                 tab.visibility = "show";
  691.                 poptext.visibility = "hide";
  692.                 tabShow = 0;
  693.                 return;
  694.                }
  695.             if (ie) {
  696.                 tab.visibility = "hidden";
  697.                 tab.left = 0;
  698.                 tab.visibility = "visible";
  699.                 poptext.visibility = "hidden";
  700.                 tabShow = 0;
  701.                 return;
  702.            }
  703.   }
  704.                 
  705.         if (tabShow == 0) {
  706.             if (n) {
  707.                 tab.visibility = "hide";
  708.                 tab.left = 223;
  709.                 tab.visibility = "show";
  710.                 poptext.visibility = "show";
  711.                 tabShow = 1;
  712.                       }
  713.             if (ie) {
  714.                 tab.visibility = "hidden";
  715.                 tab.left = 223;
  716.                 tab.visibility = "visible";
  717.                 poptext.visibility = "visible";
  718.                 tabShow = 1;
  719.                 }
  720. }
  721. }
  722.  
  723. </script>
  724.  
  725.  
  726. <style>
  727. <!--
  728. #tabdiv {
  729.         position:absolute;
  730.         top:20px;
  731.         left:223px;
  732.         z-index:2;
  733.         visibility:show;
  734. }
  735.  
  736. #poptextdiv {
  737.         visibility:show;
  738.         position:absolute;
  739.         width:223px;
  740.         top:10px;
  741.         left:0px;
  742.         z-index:0;
  743.         border-color:#000099;
  744.         border-width:2px;
  745.         background-color:#eeeeff;
  746.         color:black;
  747.         padding:10 5 10 5;
  748.         z-index:1;
  749.         
  750. }
  751.  
  752. #maintext {
  753.         position:absolute;
  754.         top:30px;
  755.         left:40px;
  756.         width:670px;
  757.         z-index:0;
  758.  
  759. }-->
  760. </style>
  761.  
  762. <3><body onLoad="init()">
  763. <4><div ID=maintext>
  764. This is a very simple example of what can be done with pop-out menus.
  765. This is a very simple example of what can be done with pop-out menus.
  766. This is a very simple example of what can be done with pop-out menus.
  767. This is a very simple example of what can be done with pop-out menus.
  768. This is a very simple example of what can be done with pop-out menus.
  769. </div>
  770.  
  771.  
  772. <div ID=tabDiv>
  773. <a href="javascript:hidepoptext();"><img src="YOUR IMAGE FILE" width=YOUR WIDTH height=YOUR HEIGHT alt="tab" border="0"></a>
  774. </div>
  775. <!--Recomanded: WIDTH=15 HEIGHT=165-->
  776.  
  777. <div ID=poptextDiv>
  778. Pop Out text appears here.  This DIV can contain graphics or text or any other HTML element you would like to include.  By placing several popout menus like this down the side of the screen you can make large amounts of information available to people only when they need it.  Being able to customize an interface like this is yet another demonstration of the power in DHTML.
  779. </div>
  780.  
  781. <End>
  782.  
  783. ==========NN4=========================================
  784.  
  785. "Sliding Layers"
  786. <1>This DHTML script moves your image over screen. Image is not an animated gif. Just insert your .jpg (yes .jpg) or .gif instead of YOUR IMAGE FILE, YOUR WIDTH, YOUR HEIGHT and YOUR ALT TEXT. Insert Part 1 in between<HEAD> and </HEAD> tags, insert Part 2 inside your body code. An example is:<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#000080" ALINK="#000080" onload="moveLayer(document.layers['ie_gear'],-4,-4,4,20)"> or <body onload="moveLayer(document.layers['ie_gear'],-4,-4,4,20)">. Insert Part 3 in wherever in body of your document.
  787. <2><script language="JavaScript">
  788. function moveLayer(lyr,xadder,yadder,xend,timer) {
  789.  lyr.top += yadder
  790.  lyr.left += xadder
  791.  if (((xadder > 0) && (lyr.left < xend)) ||
  792.      ((xadder < 0) && (lyr.left > xend))) {
  793.       setTimeout('moveLayer(document.layers["'+lyr.name+'"],'+xadder+','+yadder+','+xend+','+timer+')',timer)
  794.      }
  795. }
  796. </script>
  797. <3><body onload="moveLayer(document.layers['ie_gear'],-4,-4,4,20)">
  798. <4><layer name="ie_gear" top=100 left=100 visibility=show>
  799. <img src="YOUR IMAGE FILE" width=YOUR WIDTH height=YOUR HEIGHT alt="YOUR ALT. TEXT">
  800. </layer>
  801. <End>
  802.  
  803. "Image Gallery"
  804. <1>Insert Part 1 in between<HEAD> and </HEAD> tags, insert Part 2 inside your body code. An example is:<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#000080" ALINK="#000080" onLoad="init()">  or <BODY onLoad="init()">.Insert Part 3 wherever in body of your document.Change YOUR IMAGE FILE, YOUR WIDTH, YOUR HEIGHT, and eventualy Link Text (Go To) Layer 1, (2),(3).
  805. <2><SCRIPT LANGUAGE="JavaScript">     //Define global variables
  806.      var totalLayersInLoop=3;
  807.     var layerNumShowing=1;
  808.     function init(){
  809.              if (navigator.appName == "Netscape") {
  810.             layerStyleRef="layer.";
  811.              layerRef="document.layers";
  812.             styleSwitch="";
  813.             }else{
  814.              layerStyleRef="layer.style.";
  815.             layerRef="document.all";
  816.              styleSwitch=".style";
  817.             }     }
  818.  
  819.     function showLayerNumber(number){
  820.          var layerNumToShow=number;
  821.         hideLayer(eval('"layer' + layerNumShowing+'"'));
  822.          showLayer(eval('"layer' + layerNumToShow+'"'));
  823.          layerNumShowing=layerNumToShow;         }
  824.         
  825.     function showPreviousLayer(){
  826.          var layerNumToShow=layerNumShowing-1;
  827.          if (layerNumToShow < 1){layerNumToShow=totalLayersInLoop;}
  828.          hideLayer(eval('"layer' + layerNumShowing+'"'));
  829.          showLayer(eval('"layer' + layerNumToShow+'"'));
  830.          layerNumShowing=layerNumToShow;     }
  831.  
  832.     function showNextLayer(){
  833.          var layerNumToShow=layerNumShowing+1;
  834.          if (layerNumToShow > totalLayersInLoop){layerNumToShow=1;}
  835.          hideLayer(eval('"layer' + layerNumShowing+'"'));
  836.          showLayer(eval('"layer' + layerNumToShow+'"'));
  837.          layerNumShowing=layerNumToShow;     }
  838.  
  839.     function showLayer(layerName){
  840.          eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');     }     
  841.  
  842.     function hideLayer(layerName){
  843.  
  844.          eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');     } 
  845.  
  846.  </SCRIPT>
  847.  
  848.  <STYLE TYPE="text/css">
  849.  
  850.  #layer1 {POSITION: absolute; Z-INDEX: 10; VISIBILITY: visible; LEFT: 50px; TOP: 80px;}
  851.  #layer2 {POSITION: absolute; Z-INDEX: 20; VISIBILITY: hidden; LEFT: 50px; TOP: 80px;}
  852.  #layer3 {POSITION: absolute; Z-INDEX: 30; VISIBILITY: hidden; LEFT: 50px; TOP: 80px;}
  853.  #loopControls {POSITION: absolute; Z-INDEX: 40; VISIBILITY: visible; LEFT: 550px; TOP: 20px;}
  854.   </STYLE>
  855. <3><BODY onLoad="init()">  <!--layers in the loop-->
  856. <4><!--layer 1-->
  857.     <DIV ID="layer1" >
  858.  
  859.          <IMG SRC="IMAGE #1" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT BORDER=0>    
  860.  
  861.      </DIV>
  862.  
  863.        <!--layer 2-->
  864.      <DIV ID="layer2" >
  865.  
  866.          <IMG SRC="IMAGE #2" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT BORDER=0>    
  867.  
  868.      </DIV>
  869.  
  870.     <!--layer 3-->
  871.      <DIV ID="layer3" >
  872.  
  873.          <IMG SRC="IMAGE #3" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT BORDER=0>    
  874.     
  875.      </DIV>
  876.  
  877.     <!--looping layer controls-->
  878.  
  879. <DIV ID="loopControls" >
  880. <A HREF="javascript:showPreviousLayer()">Previous</a>  <BR>
  881. <A HREF="javascript:showNextLayer()">Next</a> <BR>
  882. <A HREF="javascript:showLayerNumber(1)">Go To Layer 1</a> <BR>
  883. <A HREF="javascript:showLayerNumber(2)">Go To Layer 2</a> <BR>
  884. <A HREF="javascript:showLayerNumber(3)">Go To Layer 3</a> <BR>              </DIV>
  885. <End>
  886.  
  887. "Preview"
  888. <1>Contest or Preview of your page. Insert Part 1 in between<HEAD> and </HEAD> tags, insert Part 2 inside your body code. An example is:<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#000080" ALINK="#000080" onLoad="init()">  or <BODY onLoad="init()">.Insert Part 3 wherever in body of your document. Change YOUR IMAGE FILE, YOUR WIDTH, YOUR HEIGHT, YOUR TEXT.
  889. <2><!--This is the Seq Remember 15=1.5 seconds-->
  890. <SCRIPT LANGUAGE = "JavaScript">
  891. //don't change
  892. function startSeq(SeqNumber) {
  893.   Time[SeqNumber] = 0;
  894.   SeqController(SeqNumber);
  895. }
  896.  
  897. //dont't change
  898. function stopSeq(SeqNumber){
  899.    Time[SeqNumber] = Seq[SeqNumber].length;
  900. }
  901.  
  902. //don't change
  903. function SeqController(SeqNumber) {
  904.     if (Time[SeqNumber] <= Seq[SeqNumber].length - 1) {
  905.       Time[SeqNumber]++;
  906.         if (Seq[SeqNumber][Time[SeqNumber]] != null){
  907.           eval(Seq[SeqNumber][Time[SeqNumber]]);
  908.         }
  909.         setTimeout('SeqController(' + SeqNumber + ')', 100);
  910.     }
  911. }
  912.  
  913. //don't change
  914. function init() {
  915.   Time = new Array();
  916.   Seq = new Array();
  917.  
  918. Seq[0] = new Array();
  919. Seq[0][10] = 'pic1_show();';
  920. Seq[0][15] = 'pic2_show();';
  921. Seq[0][25] = 'pic3_show();';
  922. Seq[0][35] = 'wipe();';
  923. Seq[0][45] = 'animateie();';
  924. Seq[0][65] = 'animatedhtml();';
  925. Seq[0][90] = 'pic4_show();';
  926. Seq[0][100] = 'pic5_show();';
  927. Seq[0][110] = 'pic6_show();';
  928.  
  929. //don't change
  930. startSeq(0);
  931. }
  932.  
  933. var totalTime, currTime;
  934. var Time, Seq;
  935.  
  936. </SCRIPT>
  937.  
  938. <!--Layer Wipe-->
  939. <script language="JavaScript">
  940. function curtainWidth(lyr,xinc,inctime,stopwidth) {
  941. lyr.clip.left += -(xinc/2)
  942. lyr.clip.right += (xinc/2)
  943. if (lyr.clip.width < 0) {lyr.clip.width = 0}
  944. if (((xinc < 0) && (lyr.clip.width > stopwidth)) || 
  945.     ((xinc > 0) && (lyr.clip.width < stopwidth))) {
  946.   setTimeout('curtainWidth(document.layers["'+lyr.name+'"],'+xinc+','+inctime+','+stopwidth+')',inctime)     
  947.  }
  948. }
  949.  
  950. function slideLayer(lyr,xinc,yinc,inctime,xstop) {
  951.  lyr.top += yinc
  952.  lyr.left += xinc
  953.  if (((xinc > 0) && (lyr.left < xstop)) ||
  954.      ((xinc < 0) && (lyr.left > xstop))) {
  955.       setTimeout('slideLayer(document.layers["'+lyr.name+'"],'+xinc+','+yinc+','+inctime+','+xstop+')',inctime)
  956.      }
  957. }
  958. </script>
  959.  
  960. <script language="JavaScript1.2">
  961. function wipe() {
  962.     curtainWidth(document.layers['pic1'],-6,15,0);
  963.     curtainWidth(document.layers['pic2'],-6,15,0);
  964.     }
  965. </script>
  966.  
  967. <script language="JavaScript1.2">
  968. function animateie() {
  969.     slideLayer(document.layers['pic3'],-6,-4,50,10);
  970.     }
  971. </script>
  972.  
  973. <script language="JavaScript1.2">
  974.  
  975. function animatedhtml() {
  976.     document.pic3andahalf.visibility = "show"
  977.     slideLayer(document.layers['pic3andahalf'],-4,-.001,20,105);
  978.     }
  979. </script>
  980.  
  981. <script language="JavaScript1.2">
  982.  
  983. function pic1_show() {
  984.     document.pic1.visibility = "show"
  985. }
  986.  
  987. function pic2_show() {
  988.     document.pic2.visibility = "show"
  989. }
  990.  
  991. function pic3_show() {
  992.     document.pic3.visibility = "show"
  993. }
  994.  
  995. function pic4_show() {
  996.     document.pic4.visibility = "show"
  997. }
  998.  
  999. function pic5_show() {
  1000.     document.pic5.visibility = "show"
  1001. }
  1002.  
  1003. function pic6_show() {
  1004.     document.pic6.visibility = "show"
  1005. }
  1006.  
  1007. function pic2_hide() {
  1008.     document.pic2.visibility = "hide"
  1009. }
  1010. </script>
  1011. <3><BODY onLoad = "init()">
  1012. <4><layer
  1013.     name="pic1"
  1014.      left= 95
  1015.      top= 50
  1016.      z-index= 1
  1017.     visibility= hide
  1018.     clipwidth=400
  1019.     width=400>
  1020. <font face="Impact" size="+4" color="#FFFFFF">YOUR TEXT</font>
  1021. </layer>
  1022.  
  1023. <layer
  1024.     name="pic2"
  1025.      left= 105
  1026.      top= 250
  1027.      z-index= 1
  1028.     visibility= hide
  1029.     clipwidth=400
  1030.     width=400>
  1031. <font face="Impact" size="+4" color="#FFFFFF">YOUR TEXT</font>
  1032. </layer>
  1033.  
  1034. <layer
  1035.     name="pic3"
  1036.      left= 195
  1037.      top= 137
  1038.      z-index= 1
  1039.      visibility= hide
  1040.     clipwidth=90
  1041.     width=90>
  1042. <IMG ID="iegear" SRC="YOUR IMAGE #1" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT BORDER=0>
  1043. </layer>
  1044.  
  1045. <layer
  1046.     name="pic3andahalf"
  1047.      left= 400
  1048.      top= 35
  1049.      z-index= 1
  1050.      visibility= hide
  1051.     clipwidth=251
  1052.     width=251>
  1053. <IMG SRC="YOUR IMAGE #2" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT BORDER=0>
  1054. </layer>
  1055.  
  1056. <layer
  1057.     name="pic4"
  1058.     left= 125
  1059.      top= 120
  1060.      z-index= 1
  1061.      visibility= hide
  1062.     clipwidth=500
  1063.     width=500>
  1064. <IMG SRC="YOUR IMAGE #3" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT BORDER=0>
  1065. </layer>
  1066.  
  1067. <layer
  1068.     name="pic5"
  1069.      left= 125
  1070.      top= 185
  1071.      z-index= 1
  1072.      visibility= hide
  1073.     clipwidth=500
  1074.     width=500>
  1075.  
  1076. <IMG SRC="YOUR IMAGE #4" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT BORDER=0>
  1077. </layer>
  1078.  
  1079. <layer
  1080.     name="pic6"
  1081.     left= 125
  1082.      top= 250
  1083.      z-index= 1
  1084.      visibility= hide
  1085.      clipwidth=500
  1086.     width=500>
  1087.  
  1088. <IMG SRC="YOUR IMAGE #4" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT BORDER=0>
  1089. </layer>
  1090. <End>
  1091.  
  1092. "Drag Text and Image"
  1093. <1>This script enables you to drag text and (or) image (.gif).Insert Part 1 in your head tags and Part 3 in body of your document. Change YOUR IMAGE FILE, YOUR WIDTH, YOUR HEIGHT, YOUR TEXT.
  1094. <2><LINK REL=STYLESHEET TYPE="text/css" 
  1095.     HREF="dhtml.css" TITLE="style1">
  1096.  
  1097. <STYLE>
  1098.     A {text-decoration: none; color: firebrick}
  1099. </STYLE>
  1100. <SCRIPT language="javascript1.2">    
  1101.  
  1102. current_object = null;
  1103. last_object = null;
  1104. objectX = 0;
  1105. objectY = 0;
  1106.  
  1107. function key_press(e) {
  1108.     last_object.zIndex=5;    
  1109. }
  1110.  
  1111. function begin_event(object,e) {
  1112.         current_object = object;
  1113.         objectX = e.pageX;
  1114.         objectY = e.pageY;
  1115.         window.captureEvents(Event.MOUSEMOVE);
  1116.  
  1117. }
  1118. function drag_event(e) {
  1119.     if (current_object != null) {
  1120.         current_object.left = current_object.left + (e.pageX - objectX);
  1121.         current_object.top = current_object.top + (e.pageY - objectY);
  1122.         objectX = e.pageX;
  1123.         objectY = e.pageY;
  1124.     }
  1125.     return false;
  1126. }
  1127.  
  1128. function end_event() {
  1129.     window.releaseEvents(Event.MOUSEMOVE);
  1130.     last_object = current_object;
  1131.     current_object = null;
  1132. }
  1133.  
  1134. window.onmousemove=drag_event;
  1135. document.captureEvents(Event.DBLCLICK);
  1136. document.ondblclick = key_press;
  1137.  
  1138. </SCRIPT>
  1139. <3>
  1140. <4><DIV id="theblock" style="position: absolute;top: 50px; left: 20px; width:300px ">
  1141. <a href="" onmousedown="begin_event(theblock,event);return false"
  1142.     onmouseup="end_event();return false"> 
  1143. <!--YOUR TEXT-->
  1144. You can click on and drag either the text or the image on this page. Place one in front of the other, such as the image over this text, and then 
  1145. doubleclick on the text. This moves the object up through the z order.
  1146. <!-- END YOUR TEXT-->
  1147. </a>
  1148. </DIV>
  1149. <DIV id="gotit" style="position: absolute;top:50px; left: 350px;">
  1150. <a href="" onmousedown="begin_event(gotit, event);return false" 
  1151.     onmouseup="end_event();return false">
  1152. <img src="YOUR IMAGE FILE" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT BORDER=0></a>
  1153. </DIV>
  1154. <End>
  1155.  
  1156. "Drag Image"
  1157. <1>This script enables you to drag image (.jpg). Insert Part 1 in your head tags and Part 3 in body of your document. Change YOUR IMAGE FILE. 
  1158. <2><STYLE TYPE="text/css">
  1159. <!--
  1160. #iegear {
  1161. position: absolute;
  1162. left: 100;
  1163. top: 100;
  1164. layer-background-image: url(YOUR IMAGE FILE);
  1165. width: 82;
  1166. clip: rect(0 82 82 0)
  1167. }
  1168. -->
  1169. </STYLE>
  1170. <3>
  1171. <4><DIV ID="iegear"></DIV>
  1172. <SCRIPT LANGUAGE="JavaScript1.2">
  1173.           <!--
  1174.  
  1175. currentX = currentY = 0;
  1176.  
  1177. function grabGear(gear) {
  1178.     currentX = gear.pageX;
  1179.     currentY = gear.pageY;
  1180.     captureEvents(Event.MOUSEMOVE);
  1181.     onmousemove = moveGear;
  1182.           }
  1183.  
  1184. function moveGear(gear) {
  1185.     distanceX = (gear.pageX - currentX);
  1186.     distanceY = (gear.pageY - currentY);
  1187.     currentX = gear.pageX;
  1188.     currentY = gear.pageY;
  1189.     document.iegear.moveBy(distanceX,distanceY);
  1190.           }
  1191.  
  1192. function dropGear() {
  1193.     releaseEvents(Event.MOUSEMOVE);
  1194. }
  1195.  
  1196.     document.iegear.document.onmousedown = grabGear;
  1197.     document.iegear.document.onmouseup = dropGear;
  1198.           //-->
  1199. </SCRIPT>
  1200. <End>
  1201.  
  1202. "Mouse Over Text"
  1203. <1>Text changes color and becomes link on MoseOver. Insert Part 1 in your head tags and Part 3 in body of your document. Change YOUR LINK and DESCRIPTION. Important: DESCRIPTION (Text) must be the same.
  1204.  
  1205. <2><script language="JavaScript1.2">
  1206.  
  1207. function changeto(){
  1208.  
  1209. setTimeout(changeto1, "1");
  1210. }
  1211.  
  1212. function changeto1() {
  1213.  
  1214. document.layers["text"].document.write("<font color=Blue>
  1215. <a href=YOUR LINK>DESCRIPTION</a></font>");
  1216.  
  1217. document.layers["text"].document.close();
  1218. }
  1219.  
  1220. function changefrom(){
  1221.  
  1222. setTimeout(changefrom1, "1");
  1223. }
  1224.  
  1225. function changefrom1() {
  1226.  
  1227. document.layers["text"].document.write("<font color=red>DESCRIPTION</font>");
  1228. document.layers["text"].document.close();
  1229. }
  1230.  
  1231. function link(){
  1232.  
  1233. }
  1234.  
  1235. </script>
  1236. <3>
  1237. <4><layer name="text" top=150 left=0 width=200 height=30 onmouseover=changeto() onmouseout=changefrom() onmousedown=link()>
  1238. <font color="Red">DESCRIPTION</font>
  1239. </layer>
  1240. <End>
  1241.  
  1242. "Scrolling Text"
  1243. <1>Insert Part 1 in your head tags and Part 3 in body of your document. Change YOUR IMAGE FILE and YOUR TEXT. You can also change positin and size attributes as are top, left...
  1244. <2><script>
  1245.  
  1246. function scrollUP (layerName, NUM) {
  1247. if(document.layers[layerName].top > TOTAL){
  1248. document.layers[layerName].clip.top=
  1249. document.layers[layerName].clip.top+NUM;
  1250. document.layers[layerName].top=
  1251. document.layers[layerName].top-NUM;
  1252. document.layers[layerName].clip.bottom=
  1253. document.layers[layerName].clip.bottom+NUM;
  1254. }
  1255. else{
  1256. return false;
  1257. }
  1258.         }
  1259.  
  1260.  
  1261. function scrollDOWN (layerName, NUM) {
  1262. if(document.layers[layerName].top == TOPPER || document.layers[layerName].top < TOPPER){
  1263. document.layers[layerName].clip.top=
  1264. document.layers[layerName].clip.top-NUM;
  1265. document.layers[layerName].top=
  1266. document.layers[layerName].top+NUM;
  1267. document.layers[layerName].clip.bottom=
  1268. document.layers[layerName].clip.bottom-NUM;
  1269. }
  1270. else{
  1271. return false;
  1272. }
  1273.         }
  1274. </script>
  1275. <3>
  1276. <4><layer name="scrollBox" top="50" left="70" width="260" clip="290,150">
  1277. <P>
  1278. <font color="green">
  1279. <!-- YOUR TEXT -->
  1280. A lot of times, someone who's viewing your pages wants 
  1281. to search for text in that document. Many
  1282. users know that in the menubar, under preferences, 
  1283. you can spawn the "Find dialog box", which will
  1284. do an inline search on the contents of the current 
  1285. window and highlight any text found. 
  1286. ...
  1287. A lot of times, someone who's viewing your pages wants 
  1288. to search for text in that document. Many
  1289. users know that in the menubar, under preferences, 
  1290. you can spawn the "Find dialog box", which will
  1291. do an inline search on the contents of the current 
  1292. window and highlight any text found. 
  1293. ...
  1294. A lot of times, someone who's viewing your pages wants 
  1295. to search for text in that document. Many
  1296. users know that in the menubar, under preferences, 
  1297. you can spawn the "Find dialog box", which will
  1298. do an inline search on the contents of the current 
  1299. window and highlight any text found. 
  1300. <!-- END YOUR TEXT -->
  1301. </font>
  1302. </layer>
  1303.  
  1304. <!-- the UP Button -->
  1305. <layer name="UpButton" left="10" top="60">
  1306. <a href="" onClick="scrollDOWN ('scrollBox',15); return false;">
  1307. <img src="YOUR IMAGE FILE" border=0></a>
  1308. </layer>
  1309.  
  1310. <!-- The Down Button -->
  1311. <layer name="DownButton" left="10" top="140">
  1312. <a href= type="button" onClick="scrollUP ('scrollBox',15); return false;">
  1313. <img src="YOUR IMAGE FILE" border=0></a>
  1314. </layer>
  1315.  
  1316. <P>
  1317.  
  1318. <!-- the end script -->
  1319.  
  1320. <script>
  1321. LNAME2 = "scrollBox";
  1322. TOPPER = document.layers[LNAME2].top - 5;
  1323. HEIGHTER = document.layers[LNAME2].document.height;
  1324. TOTAL = TOPPER - HEIGHTER;
  1325. TOTAL = TOTAL + document.layers[LNAME2].clip.height;
  1326. </script>
  1327. <End>
  1328.  
  1329. ==========IE4=========================================
  1330. "Contents"
  1331. <1>Titles get highlighted, decriptions get appeared. Insert Part 1 in between <HEAD>and</HEAD> tags, insert Part 3 in wherever in body of your document. Change YOUR TITLE and DESCRIPTION. You can also change font attributes (font-size, color...) 
  1332. <2><STYLE>
  1333. BODY
  1334. {font-family: Impact;
  1335. font-size: 18pt;
  1336. text-indent: 20;
  1337. line-height: 200%;
  1338. background: black;
  1339. color: white;}
  1340.  
  1341. H1
  1342. {font-size: 32pt;
  1343.  color: green;}
  1344.  
  1345. .over
  1346. {font-size: 20pt;
  1347. color: red;
  1348.  
  1349. </STYLE>
  1350. <3>
  1351. <4><H1 ALIGN=CENTER>YOUR TITLE</H1>
  1352.  
  1353. <DIV onMouseOver="this.className='over';
  1354. Description.innerText='DESCRIPTION #1'"
  1355. onMouseOut="this.className=''; Description.innerText=' '">YOUR TITLE #1</DIV>
  1356.  
  1357. <DIV onMouseOver="this.className='over';
  1358. Description.innerText='DESCRIPTION #2'"
  1359. onMouseOut="this.className=''; Description.innerText=' '" >YOUR TITLE #2</DIV>
  1360.  
  1361. <DIV onMouseOver="this.className='over';
  1362. Description.innerText='DESCRIPTION #3'"
  1363. onMouseOut="this.className=''; Description.innerText=' '">YOUR TITLE #3</DIV>
  1364.  
  1365. <DIV ALIGN=Left ID="Description" >  </DIV>
  1366. <End>
  1367.  
  1368. "Resizing image with link"
  1369. <1>On mose over image gets "bubbled". It can be either .jpg or .gif. It's also a link. Insert Part 1 in between <HEAD>and</HEAD> tags, insert Part 3 in wherever in body of your document. Change YOUR IMAGE FILE, YOUR WIDTH, YOUR HEIGHT and YOUR URL. 
  1370. <2><script language="JavaScript1.2">
  1371.  
  1372. function expand() {
  1373.     if (smallslot.width<=110) {
  1374.         x=window.setTimeout('expand()', 10)
  1375.         smallslot.width=smallslot.width + 5
  1376.         smallslot.height=smallslot.height + 5
  1377.     }
  1378.     else {
  1379.         setTimeout('reduce()', 0)
  1380. }
  1381.     }
  1382.  
  1383. function reduce() {
  1384.     if (smallslot.width>99) {
  1385.         x=window.setTimeout('reduce()', 10)
  1386.         smallslot.width=smallslot.width - 5
  1387.         smallslot.height=smallslot.height - 5
  1388.     }
  1389. }
  1390. </script>
  1391. <3>
  1392. <4><div id="slot1" style="width:YOUR WIDTH;height:YOUR HEIGHT" onmouseover=expand()>
  1393. <a href="YOUR URL">
  1394. <IMG id="smallslot" SRC="YOUR IMAGE FILE" WIDTH=YOUR WIDTH HEIGHT=YOUR HEIGHT hspace=0 vspace=0 border=0 style="position:absolute; left:296; top:104;z index:2;visibility:visible"></a>
  1395. </div>
  1396. <End>
  1397.  
  1398. "Drag and Drop"
  1399. <1>Insert Part 1 in between <HEAD>and</HEAD> tags, insert Part 2 inside your body code. An example is:<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#000080" ALINK="#000080" onLoad="init()"> or <BODY onLoad="init()">. insert Part 3 in wherever in body of your document. Change YOUR IMAGE FILE, YOUR WIDTH, YOUR HEIGHT. You can also change and position (left, top, ...). 
  1400. <2><SCRIPT LANGUAGE="JavaScript">
  1401. <!--
  1402.  
  1403. drag = 0
  1404. move = 0
  1405.  
  1406. function init() {
  1407.     window.document.onmousemove = mouseMove
  1408.     window.document.onmousedown = mouseDown
  1409.     window.document.onmouseup = mouseUp
  1410.     window.document.ondragstart = mouseStop
  1411. }
  1412.  
  1413. function mouseDown() {
  1414.     if (drag) {
  1415.         clickleft = window.event.x - parseInt(dragObj.style.left)
  1416.         clicktop = window.event.y - parseInt(dragObj.style.top)
  1417.         dragObj.style.zIndex += 1
  1418.         move = 1
  1419.     }
  1420. }
  1421.  
  1422. function mouseStop() {
  1423.     window.event.returnValue = false
  1424. }
  1425.  
  1426. function mouseMove() {
  1427.     if (move) {
  1428.         dragObj.style.left = window.event.x - clickleft
  1429.         dragObj.style.top = window.event.y - clicktop
  1430.     }
  1431. }
  1432.  
  1433. function mouseUp() {
  1434.     move = 0
  1435. }
  1436.  
  1437.  
  1438.  
  1439. //-->
  1440. </SCRIPT>
  1441. <3><BODY onLoad="init()">
  1442. <4><DIV ID="block1" onMouseOver="dragObj=block1; drag=1;" onMouseOut="drag=0"
  1443. STYLE="position:absolute; left:200; top:200; width:90; height:90;">
  1444. <img src="YOUR IMAGE FILE" width=YOUR WIDTH height=YOUR HEIGHT alt="DragMe" border="0">
  1445. </DIV>
  1446. <End>
  1447.  
  1448. "Rotating image"
  1449. <1>Image is not animated gif. Just insert your .jpg (yes .jpg) or .gif instead of YOUR IMAGE FILE. Important: YOUR WIDTH DAC and YOUR HEIGHT DAC are dimensions DAControl used in this script and your Image should fit in frame of DAControl. Insert Part 1 in between <HEAD>and</HEAD> tags and Part 3 in body of your document. 
  1450. <2><SCRIPT LANGUAGE="JScript">
  1451. <!--
  1452. if (window.top.frames.length!=0 && window.top.frames[0].ShowNoButtons!=null)
  1453.     window.top.frames[0].ShowNoButtons();
  1454. //-->
  1455. </SCRIPT>
  1456. <3>
  1457. <4><OBJECT ID="DAControl" WIDTH=YOUR WIDTH DAC HEIGHT=YOUR HEIGHT DAC ALIGN=Center CLASSID="CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D">
  1458. </OBJECT>
  1459.  
  1460. <SCRIPT LANGUAGE="JScript">
  1461. <!--
  1462.   m = DAControl.PixelLibrary; 
  1463.    
  1464.   img = m.ImportImage("YOUR IMAGE FILE");    
  1465.  
  1466.   // rotate at the rate of 30 degrees per second
  1467.   rotImg = img.Transform(m.Rotate2RateDegrees(-30));
  1468.  
  1469.   DAControl.Image = rotImg;
  1470.  
  1471.   DAControl.Start()
  1472. //-->
  1473. </SCRIPT>
  1474. <End>
  1475.  
  1476. "Side Bar - Left"
  1477. <1>Cool menu bar with client side image maps. You should create your image maps. The easiest way is to use same dimensions for image, same filename and mapname as they are already set within this script and change COORDINATES only, adding your links (URL1, URL2....). Sample image is included. Insert Part 3 as your body.
  1478. <2>
  1479. <3>
  1480. <4><BODY rightmargin=0 leftmargin=0 topmargin=0  text="#black">
  1481.  
  1482. <SCRIPT language=javascript>
  1483.  
  1484. <!--  BUTTON ANIMATION  -->
  1485. function animate(onOrOff) {
  1486.     if (onOrOff == 1) {
  1487.         button.mouseIn = 1;
  1488.         timer = window.setTimeout("moveButton(1);", 0, "JavaScript");
  1489.     } else {
  1490.         button.mouseIn = 0;
  1491.         timer = window.setTimeout("moveButton(0);", 0, "JavaScript");
  1492.     }
  1493. }
  1494.  
  1495.  
  1496. function moveButton(onOrOff) {
  1497.     if (onOrOff == 1 && button.mouseIn == 1) {
  1498.         if (button.style.posLeft < 0) {
  1499.             button.style.posLeft = button.style.posLeft + 10;
  1500.             timer = window.setTimeout("moveButton(1);", 0, "JavaScript");
  1501.         }
  1502.     } else {
  1503.         if (button.mouseIn == 0 && button.style.posLeft > -100) {
  1504.             button.style.posLeft = button.style.posLeft - 10;
  1505.             timer = window.setTimeout("moveButton(0);", 0, "JavaScript");
  1506.         }
  1507.     }
  1508. }
  1509.  
  1510. <!--  END OF BUTTON ANIMATION  -->
  1511.  
  1512. </SCRIPT>
  1513.  
  1514. <!-- BUTTON  -->
  1515. <!--Use Imagemap to create multiple links-->
  1516. <!-- This Image Map was created by Dutch's HTML Editor-->
  1517. <!-- http://www.dutchsoftware.com/editor-->
  1518.  
  1519. <img id="button" src="navbar.gif" mouseIn=0 USEMAP="#navbar"
  1520. style="border:none; position:absolute; width:130; height:285; top:0; left:-100; z-index:2"
  1521. onMouseOver=animate(1) onMouseOut=animate(0)></a>
  1522.  
  1523. <MAP NAME="navbar">
  1524. <!-- COORDINATES  -->
  1525. <AREA SHAPE=RECT COORDS="88, 18, 44, 0" HREF="URL1">
  1526. <AREA SHAPE=RECT COORDS="88, 45, 35, 19" HREF="URL2">
  1527. <AREA SHAPE=RECT COORDS="87, 93, 44, 55" HREF="URL3">
  1528. <AREA SHAPE=RECT COORDS="86, 129, 45, 103" HREF="URL4">
  1529. <AREA SHAPE=RECT COORDS="87, 177, 39, 139" HREF="URL5">
  1530. <AREA SHAPE=RECT COORDS="87, 197, 30, 180" HREF="URL6">
  1531. <AREA SHAPE=RECT COORDS="87, 217, 13, 202" HREF="URL7">
  1532. <AREA SHAPE=RECT COORDS="86, 252, 10, 225" HREF="URL8">
  1533. <AREA SHAPE=RECT COORDS="87, 279, 5, 264" HREF="URL9">
  1534. </MAP>
  1535. <!-- End Image Map-->
  1536. <End>
  1537.  
  1538. "Side Bar - Right"
  1539. <1>Cool menu bar with client side image maps on right side of screen. Apearance is different than menu on left side. You should create your image maps. The easiest way is to use same dimensions for image, same filename and mapname as they are already set within this script and change COORDINATES WITH LINKS only, adding your links (URL1, URL2....). Sample image is included. Insert Part 1 between <HEAD>and</HEAD>, insert Part 2 inside your body code. An example is:<BODY onLoad="StartGlide()" BACKGROUND="graphics/backgrnd.gif" TEXT="White" LINK="#2576CF" VLINK="#000080"> or <BODY onLoad="StartGlide()"> . Insert Part 3 in your body.
  1540. <2><STYLE TYPE="text/css">
  1541. #text {
  1542. POSITION: absolute;
  1543. Z-INDEX: 1;
  1544. width: 175;
  1545. LEFT: 10px;
  1546. TOP: 10px;}
  1547. </style>
  1548.  
  1549. <SCRIPT LANGUAGE="JScript">
  1550. var id;
  1551. function StartGlide(){    document.all.Banner.style.pixelLeft = 
  1552.         document.body.offsetWidth;
  1553.     document.all.Banner.style.visibility = "visible";
  1554.     id = window.setInterval("Glide()",50);} //controls speed
  1555.     function Glide(){
  1556.     document.all.Banner.style.pixelLeft -= 10;
  1557.     if (document.all.Banner.style.pixelLeft<=538) {
  1558.         document.all.Banner.style.pixelLeft=538;
  1559.         document.all.Banner.style.layer=2;
  1560.         window.clearInterval(id);
  1561.     }}</SCRIPT>
  1562.  
  1563. <SCRIPT LANGUAGE="JScript">
  1564. var id;
  1565. function Glideback(){
  1566.     document.all.Banner.style.pixelLeft = 538;  
  1567.     document.all.Banner.style.visibility = "visible";
  1568.     id = window.setInterval("Glidex()",50);}
  1569.  
  1570.     function Glidex(){
  1571.     document.all.Banner.style.pixelLeft += 10;
  1572.     if (document.all.Banner.style.pixelLeft>=700)
  1573.     {
  1574.         document.all.Banner.style.visibility = "hidden";
  1575.         //document.all.Banner.style.pixelLeft= document.body.offsetWidth;
  1576.         window.clearInterval(id);
  1577.     }}</SCRIPT>
  1578.     
  1579. <SCRIPT LANGUAGE="JavaScript">
  1580. window.onerror=null
  1581. </script>
  1582. <3><BODY onLoad="StartGlide()">
  1583. <4><!--Start write sliding menu only if IE4-->
  1584. <SCRIPT LANGUAGE = "JavaScript">
  1585. <!--
  1586. bName = navigator.appName;
  1587. bVer = parseInt(navigator.appVersion);
  1588.  
  1589. if      (bName == "Netscape" && bVer >= 4) br = "n4";
  1590. else if (bName == "Netscape" && bVer == 3) br = "n3";
  1591. else if (bName == "Microsoft Internet Explorer" && bVer >= 4) br = "e4";
  1592. else if (bName == "Microsoft Internet Explorer") br = "e3";
  1593. else br = "n2";
  1594.  
  1595. //IE 4 button.
  1596.  
  1597. //Notes:  dhtmlpage.html is the page on which the DHTML animations will appear
  1598. //the top and left coordinates will place the text on the page using style sheets
  1599.  
  1600. if (br == "e4") {
  1601.  
  1602. document.write('<IMG ID="Banner" STYLE="visibility:hidden;position:absolute;top:0; left:0; z-index:2; cursor: hand" SRC="navbar2.gif" border=0 USEMAP="#map0">');
  1603.  
  1604. }
  1605.  
  1606. // For every other browser.
  1607. // writes nothing to the screen
  1608. else { 
  1609. document.write('<!--null-->');
  1610.  
  1611. }
  1612. // -->
  1613. </SCRIPT>
  1614.  
  1615. <MAP NAME="map0">
  1616. <!--DO NOT CHANGE NEXT LINE-->
  1617. <AREA SHAPE="rect" ALT="rect" COORDS="2,0,16,164" onclick="Glideback()" border=0>
  1618. <!--DO NOT CHANGE PREVIOUS LINE-->
  1619. <!--COORDINATES WITH LINKS-->
  1620. <AREA SHAPE="rect" ALT="rect" COORDS="1,262,71,290" HREF="URL1">
  1621. <AREA SHAPE="rect" ALT="rect" COORDS="1,226,78,254" HREF="URL2">
  1622. <AREA SHAPE="rect" ALT="rect" COORDS="1,202,86,218" HREF="URL3">
  1623. <AREA SHAPE="rect" ALT="rect" COORDS="21,139,71,179" HREF="URL4">
  1624. <AREA SHAPE="rect" ALT="rect" COORDS="21,102,77,132" HREF="URL5">
  1625. <AREA SHAPE="rect" ALT="rect" COORDS="21,55,64,95" HREF="URL6">
  1626. <AREA SHAPE="rect" ALT="rect" COORDS="20,18,77,47" HREF="URL7">
  1627. </MAP>
  1628. <!--End write sliding menu only if IE4-->
  1629. <End>
  1630.  
  1631. "Squash logo"
  1632. <1>Cool logo with two pictures. It is not animated GIF! You can use either GIFs or JPGs. Insert Part 1 in between <HEAD>and</HEAD> tags, Part 2 within your <BODY> tag. An example is:<BODY onload="init()" BACKGROUND="graphics/backgrnd.gif" TEXT="FFFFFF" LINK="#2576CF" VLINK="#000080"> or <BODY onload="init()">. Insert Part 3 in body of your docment. Replace YOURPIC1, YOURPIC2, YOURPICWIDTH and YOURPICHEIGHT
  1633. <2><SCRIPT LANGUAGE="JAVASCRIPT">
  1634. <!--Variable initalization-->
  1635. presents=new Image();
  1636. presents.src="rem.gif";    
  1637. presents=new Image();
  1638. presents.src="newadventures.gif";
  1639.  
  1640. var pwhratio = 164/53;   //ratio of width to height for REM image
  1641. var nwhratio = 400/53;   //ratio of width to height for NewAdventures image
  1642. var increment = 8;
  1643. var step = 24;  // number of increments required to grow to full size (188 / 4)
  1644. var i = 0;
  1645. var x;
  1646. var startH = 0;  //starting width for the image
  1647. var endH = 188;
  1648. var squashedL;
  1649. var squashedW;
  1650.  
  1651. function init() {
  1652.   //Seq("seq").at(0.500, "doTrans(logo)");
  1653.   Seq("seq").at(0.900, "remPath.play()");
  1654.   Seq("seq").at(3.500, "advenPath.play()");
  1655.   //Seq("seq").at(5.00, "doTrans(subscribe)");
  1656.   Seq("seq").Play();
  1657. }
  1658. <!--Squash Function for PIC1 logo-->
  1659. function squashPres() {                           //original width = 164
  1660.    presents=document.all('presents');
  1661.    presents.style.width = (presents.origW - (increment * i));
  1662.    presents.style.height= presents.origH;
  1663.    if (i < 14) {
  1664.       i++;
  1665.       setTimeout ('squashPres();',2);
  1666.    } else {
  1667.      i=0;
  1668.      squashedW = presents.width;
  1669.      expandPres();
  1670.    }
  1671. }
  1672. <!--Expand Back function for PIC1 logo-->
  1673. function expandPres() {
  1674.    presents=document.all('presents');
  1675.    presents.style.width = (squashedW + (increment * i));
  1676.    presents.style.height= presents.origH;
  1677.    if (i < 14) {
  1678.      i++;
  1679.      setTimeout ('expandPres();',2);
  1680.    } else {
  1681.      i=0;
  1682.      presents.style.width = presents.origW;
  1683.    }
  1684. }
  1685.  
  1686.  
  1687. </SCRIPT>
  1688.  
  1689. <SCRIPT FOR=remPath Event=onstop LANGUAGE="JSCRIPT">
  1690.   squashPres();
  1691. </SCRIPT>
  1692. <3><BODY onload="init()">
  1693. <4><!--Sequencing Object-->
  1694. <OBJECT ID="Seq"
  1695.     CLASSID="CLSID:B0A6BAE2-AAF0-11d0-A152-00A0C908DB96">
  1696. </OBJECT>
  1697.  
  1698. <!--REM path object-->
  1699. <OBJECT ID="remPath" CLASSID = "CLSID:D7A7D7C3-D47F-11D0-89D3-00A0C90833E6">
  1700.         <PARAM NAME="AutoStart" VALUE="0">
  1701.         <PARAM NAME="Bounce" VALUE="0">
  1702.         <PARAM NAME="Duration" VALUE="1.0">
  1703.         <PARAM NAME="Shape" VALUE="Polyline(2, 700,100, 252,100)">
  1704.         <PARAM NAME="Target" VALUE="presents">
  1705. </OBJECT>
  1706.  
  1707. <!--New Adventures Path Object-->
  1708. <OBJECT ID="advenPath" CLASSID = "CLSID:D7A7D7C3-D47F-11D0-89D3-00A0C90833E6">
  1709.         <PARAM NAME="AutoStart" VALUE="0">
  1710.         <PARAM NAME="Bounce" VALUE="0">
  1711.         <PARAM NAME="Duration" VALUE="1.0">
  1712.         <PARAM NAME="Shape" VALUE="Polyline(2, 700,150, 135,150)">
  1713.         <PARAM NAME="Target" VALUE="newadven">
  1714. </OBJECT>
  1715.  
  1716. <DIV ID="wholething" style="position:absolute;top:-80;left:0">
  1717.  
  1718. <!--PICFILES TO REPLACE-->
  1719. <IMG ID="presents" SRC="YOURPIC1"
  1720. STYLE="position:absolute;top:100;left:700;visibility:visible" origW=YOURPICWIDTH origH=YOURPICHEIGHT origL=270>
  1721. <IMG ID="newadven" SRC="YOURPIC2" 
  1722. STYLE="position:absolute;top:150;left:700;visibility:visible" origW=YOURPICWIDTH origH=YOURPICHEIGHT origL=270 BORDER=0>
  1723. </DIV>
  1724. <End>
  1725.  
  1726. "Rotating Ticker"
  1727. <1>This script flips three bars with links. The time controls are in the onload commmand in the BODY tag. Default is 5 seconds(5000 miliseconds) between page flips and can be changed. You can also play with position of your bars and fonts changeig them within "<div style... >" and "<div ID...>" lines. You have to change your urls(URL_1_1, URL_1_2...) and your descriptions(DESCRIPTION_1_1, DESCRIPTION_1_2...). Insert Part 1 in between <HEAD>and</HEAD> tags, Part 2 as your <BODY> tag and Part 3 in body of your document.
  1728. <2<!--Rotating Ticker Script-->
  1729. <SCRIPT LANGUAGE="JavaScript">
  1730. <!--
  1731.  
  1732. var bName = navigator.appName;
  1733. var bVer = parseInt(navigator.appVersion);
  1734. var NS4 = (bName == "Netscape" && bVer >= 4);
  1735. var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4);
  1736. if (NS4 || IE4) {
  1737.   var i = 0; // global counter variable
  1738.   var ar = new Array();
  1739. <!--Rotating Ticker 1 -->
  1740.   ar[0] = '<a href="URL_1_1">DESCRIPTION_1_1</a> | <a href="URL_1_2">DESCRIPTION_1_2</a> | <a href="URL_1_3">DESCRIPTION_1_3</a> | <a href="URL_1_4">DESCRIPTION_1_4</a>';
  1741. <!--Rotating Ticker 2 -->  
  1742.   ar[1] = '<a href="URL_2_1">DESCRIPTION_2_1</a> | <a href="URL_2_2">DESCRIPTION_2_2</a> | <a href="URL_2_3">DESCRIPTION_2_3</a> | <a href="URL_2_4">DESCRIPTION_2_4</a>';
  1743. <!--Rotating Ticker 3 -->
  1744.   ar[2] = '<a href="URL_3_1">DESCRIPTION_3_1</a> | <a href="URL_3_2">DESCRIPTION_3_2</a> | <a href="URL_3_3">DESCRIPTION_3_3</a> | <a href="URL_3_4">DESCRIPTION_3_4</a>';
  1745. }
  1746.  
  1747. function display(id, str) {
  1748.   if (NS4) { // if Navigator 4.0+
  1749.     with (document[id].document) {
  1750.       open(); // open document
  1751.       write(str); // write to document
  1752.       close(); // close document
  1753.     }
  1754.   } else { // Internet Explorer 4.0+
  1755.     document.all[id].innerHTML = str; // "assign" to element
  1756.   }
  1757. }
  1758.  
  1759. function update(num) {
  1760.   display("banner", ar[i]);
  1761.   i++; // increment counter
  1762.   if (i == num)
  1763.     i = 0; // back to first text (link)
  1764. }
  1765.  
  1766. // -->
  1767. </SCRIPT>
  1768. <3><BODY onLoad="if (NS4 || IE4) setInterval('update(' + ar.length + ')', 5000);">
  1769. <4><!--ticker border divs-->
  1770. <div style="position:absolute; left:21; top:194; width:577; height:19; z-index:1; border: solid 1px #999999"></div>
  1771. <div style="position:absolute; left:20; top:193; width:577; height:20; z-index:1; border: solid 1px #CCCCCC"></div>
  1772.  
  1773. <!--New Ticker-->
  1774. <!--Rotating Ticker 1 -->
  1775. <div ID="banner" style="position:absolute; left:80; top:198; font-family: Verdana, sans-serif; font-size: 10.5; font-weight: 700;; width:576; height:24; z-index:11;visibility:visible">
  1776. <a href="URL_1_1">DESCRIPTION_1_1</a> | 
  1777. <a href="URL_1_2">DESCRIPTION_1_2</a> | 
  1778. <a href="URL_1_3">DESCRIPTION_1_3</a> | 
  1779. <a href="URL_1_4">DESCRIPTION_1_4</a>
  1780. </div>
  1781. <End>
  1782.  
  1783. "Blending two images"
  1784. <1>This script uses blend transitons. It looks realy cool. You can set either GIFs or JPGs. Try changing parametars in "<div id...>" line adjusting them according to dimensions of your images. Insert Part 1 between your <HEAD>and</HEAD> tags and Part 3 in body of your document. Replace IMAGE1 and IMAGE2 with your files.
  1785. <2><SCRIPT FOR=window EVENT=onload LANGUAGE=JavaScript> 
  1786.  
  1787.  flttgt.filters[0].Apply(); 
  1788.  flttgt.innerHTML = "<img src=IMAGE1 align=center>"; 
  1789.  flttgt.filters[0].Play(); 
  1790.  
  1791. </script> 
  1792. <3>
  1793. <4><div id="flttgt" style="position:relative;width:550;height:250;top:20;left:20;text-align:center;background-color:white;filter:blendTrans(duration=8)"> 
  1794. <img src=IMAGE2>
  1795. </div>
  1796. <End>
  1797.  
  1798. "Reveal Transitons"
  1799. <1>This script uses Reveal Transitons. There are 23 different filters and you can change value of transition from 0 to 22. Value 23 sets filters randomly. It's part of "<div id..." line in brackets and it's set as circle: "...(transition=3,duration=8)">". You can set either GIFs or JPGs. Try changing parametars in "<div id...>" line adjusting them according to dimensions of your images. Insert Part 1 between your <HEAD>and</HEAD> tags and Part 3 in body of your document. Replace IMAGE1 and IMAGE2 with your files.
  1800. <2><SCRIPT FOR=window EVENT=onload LANGUAGE=JavaScript>
  1801.  
  1802.  flttgt.filters[0].Apply(); 
  1803.  flttgt.innerHTML = "<img src=IMAGE1 align=center>"; 
  1804.  flttgt.filters[0].Play(); 
  1805.   
  1806. </script>
  1807. <3>
  1808. <4><!--TRY CHANGING VALUE OF TRANSITION FROM 0 TO 23-->
  1809. <div id="flttgt"
  1810. style="position:relative;width:550;height:250;top:20;left:20;text-align:center;background-color:white;filter:revealTrans(transition=3,duration=8)"> 
  1811. <img src=IMAGE2>
  1812. </div>
  1813. <End>
  1814.  
  1815. "Changing Colors"
  1816. <1>This script changes colors of your text. Insert Part 1 between your <HEAD>and</HEAD> tags, Part 2 in your <BODY> tag and Part 3 in body of your document. Change YOUR TEXT HERE!.
  1817. <2><SCRIPT LANGUAGE="JavaScript"><!--
  1818. function frameTest(){
  1819.     if(top==self) {
  1820.         var parent = "/ie/ie40/demos/default.htm"
  1821.         var currURL = unescape(window.location.pathname);
  1822.         var newURL = parent + "?" + currURL;
  1823.         var appVer = navigator.appVersion;
  1824.         var NS = (navigator.appName == 'Netscape') && ((appVer.indexOf('3') != -1) || (appVer.indexOf('4') != -1));
  1825.         var MSIE = (appVer.indexOf('MSIE 4') != -1);
  1826.         if (NS || MSIE)
  1827.             location.replace(newURL);
  1828.         else
  1829.             location.href = newURL;
  1830.     }
  1831. }
  1832. //-->
  1833. </SCRIPT>
  1834.  
  1835. <SCRIPT LANGUAGE="JavaScript"><!--
  1836. var ua = navigator.userAgent;
  1837. var win = ua.indexOf('Win') != -1;
  1838. var mac = ua.indexOf("Mac") != -1;
  1839. var isNN = navigator.appName == "Netscape";
  1840. if (mac)
  1841.     leftnav = 'macleft';
  1842. else if (!mac && !win) {
  1843.     if (ua.indexOf("MSIE 4") != -1)
  1844.         leftnav = 'unixIEleft';
  1845.     else if (isNN)
  1846.         leftnav = 'unixNNleft';}
  1847. else if (ua.indexOf("MSIE 3") != -1)
  1848.     leftnav = 'ie3left';
  1849. else if (isNN)
  1850.     leftnav = 'nav4left';
  1851. else
  1852.     leftnav = 'ie4left';
  1853. document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="/ie/global/' + leftnav + '.css">');
  1854. //--></SCRIPT>
  1855.  
  1856. <STYLE><!--
  1857. .btop {text-decoration:none; color:black;}
  1858. .btop:hover {text-decoration:underline; color:red;}
  1859. .Item {
  1860.    cursor: hand;
  1861.    font-family: verdana;
  1862.    font-size: 20;
  1863.    font-style: normal;
  1864.    background-color: blue;
  1865.    color: white
  1866.  }
  1867. .Highlight {
  1868.    cursor: hand;
  1869.    font-family: verdana;
  1870.    font-size: 20;
  1871.    font-style: italic;
  1872.    background-color: white;
  1873.    color: blue
  1874.  }
  1875. --></STYLE>
  1876. <3><BODY onLoad="frameTest()">
  1877. <4><!--YOU CAN CHANGE HEADINGS H1 TO H6 AND FONT-FAMILY-->
  1878. <h1 id=MainH1 style="font-family: verdana">YOUR TEXT HERE!</h1>
  1879.  
  1880. <script>
  1881. var initialColor;
  1882. initialColor = 0;
  1883. initialR = 254;
  1884. initialG = 2;
  1885. initialB = 128;
  1886. rIncrement = -1;
  1887. gIncrement = 1;
  1888. bIncrement = -1;
  1889.  
  1890. function tick() {
  1891.    var hexR, hexG, hexB;
  1892.  
  1893.    hexR = intToHex(initialR);
  1894. //alert(hexR);
  1895.    hexG = intToHex(initialG);
  1896. //alert(hexG);
  1897.    hexB = intToHex(initialB);
  1898. //alert(hexB);
  1899.  
  1900.    initialR += rIncrement;
  1901.    initialG += gIncrement;
  1902.    initialB += bIncrement;
  1903.  
  1904.    if (initialR < 0) {
  1905.      initialR = 255;
  1906.      rIncrement *= -1;
  1907.    } else if (initialR > 255) {
  1908.      initialR = 0;
  1909.    }
  1910.  
  1911.    if (initialG < 0) {
  1912.      initialG = 255;
  1913.      gIncrement *= -1;
  1914.    } else if (initialG > 255) {
  1915.      initialG = 0;
  1916.    }
  1917.  
  1918.    if (initialB < 0) {
  1919.      initialB = 255;
  1920.      bIncrement *= -1;
  1921.    } else if (initialB > 255) {
  1922.      initialB = 0;
  1923.    }
  1924.  
  1925.    hexColor = "#"+hexR+hexG+hexB;
  1926.    MainH1.style.color = hexColor;
  1927.  
  1928.    window.setTimeout("tick();", 10);
  1929. }
  1930.  
  1931. function intToHex(anInt) {
  1932.   var theString;
  1933.   var aDigit, aHexDigit;
  1934.   var i;
  1935.  
  1936.   theString = "";
  1937.  
  1938.   for (i = 1; i >= 0; i--) {
  1939.     p = power(16, i);
  1940.     aDigit = anInt / p;
  1941.     aDigit = round(aDigit);
  1942.     anInt = anInt - (aDigit * p);
  1943.     aHexDigit = digitToHex(aDigit);
  1944.     theString = theString + aHexDigit;
  1945.   }
  1946.  
  1947.   return theString;
  1948. }
  1949.  
  1950.  
  1951.  
  1952. function power(aNumber, aBase) {
  1953.  
  1954.    var rval;
  1955.  
  1956.    if (aBase == 0)
  1957.      return 1;
  1958.  
  1959.    rval = aNumber;
  1960.  
  1961.    for (i=1;i<aBase;i++) {
  1962.       rval = rval * aNumber;
  1963.    }
  1964.  
  1965.    return rval;
  1966. }
  1967.  
  1968. function round(aNumber) {
  1969.   for (i = 16; i >= 0; i--) {
  1970.     if (aNumber >= i)
  1971.        return i;
  1972.    }
  1973.   return 0;
  1974. }
  1975.  
  1976. function digitToHex(aDigit) {
  1977.   if (aDigit < 10)
  1978.      return aDigit;
  1979.   else if (aDigit == 10)
  1980.      return "A";
  1981.   else if (aDigit == 11)
  1982.      return "B";
  1983.   else if (aDigit == 12)
  1984.      return "C";
  1985.   else if (aDigit == 13)
  1986.      return "D";
  1987.   else if (aDigit == 14)
  1988.      return "E";
  1989.   else if (aDigit == 15)
  1990.      return "F";
  1991. }
  1992.  
  1993. window.onload=tick;
  1994.  
  1995. </script>
  1996. <End>
  1997.  
  1998. "An HTML clock"
  1999. <1>Insert Part 1 between your <HEAD>and</HEAD> tags, Part 2 in your <BODY> tag and Part 3 in body of your document.
  2000. <2><SCRIPT LANGUAGE="JavaScript"><!--
  2001. function frameTest(){
  2002.     if(top==self) {
  2003.         var parent = "/ie/ie40/demos/default.htm"
  2004.         var currURL = unescape(window.location.pathname);
  2005.         var newURL = parent + "?" + currURL;
  2006.         var appVer = navigator.appVersion;
  2007.         var NS = (navigator.appName == 'Netscape') && ((appVer.indexOf('3') != -1) || (appVer.indexOf('4') != -1));
  2008.         var MSIE = (appVer.indexOf('MSIE 4') != -1);
  2009.         if (NS || MSIE)
  2010.             location.replace(newURL);
  2011.         else
  2012.             location.href = newURL;
  2013.     }
  2014. }
  2015. //-->
  2016. </SCRIPT>
  2017.  
  2018. <SCRIPT LANGUAGE="JavaScript"><!--
  2019. var ua = navigator.userAgent;
  2020. var win = ua.indexOf('Win') != -1;
  2021. var mac = ua.indexOf("Mac") != -1;
  2022. var isNN = navigator.appName == "Netscape";
  2023. if (mac)
  2024.     leftnav = 'macleft';
  2025. else if (!mac && !win) {
  2026.     if (ua.indexOf("MSIE 4") != -1)
  2027.         leftnav = 'unixIEleft';
  2028.     else if (isNN)
  2029.         leftnav = 'unixNNleft';}
  2030. else if (ua.indexOf("MSIE 3") != -1)
  2031.     leftnav = 'ie3left';
  2032. else if (isNN)
  2033.     leftnav = 'nav4left';
  2034. else
  2035.     leftnav = 'ie4left';
  2036. document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="/ie/global/' + leftnav + '.css">');
  2037. //--></SCRIPT>
  2038.  
  2039. <STYLE><!--
  2040. .btop {text-decoration:none; color:black;}
  2041. .btop:hover {text-decoration:underline; color:red;}
  2042. --></STYLE>
  2043. <3><BODY TOPMARGIN=0 LEFTMARGIN=0 onLoad="frameTest()">
  2044. <4><!--YOU CAN CHANGE ATTRIBUTES IN NEXT LINE-->
  2045. <div id=Clock align=center style="font-family: Verdana; font-size:40; color:#0000FF"> </div>
  2046.  
  2047. <script>
  2048. function tick() {
  2049.   var hours, minutes, seconds, ap;
  2050.   var intHours, intMinutes, intSeconds;
  2051.   var today;
  2052.  
  2053.   today = new Date();
  2054.  
  2055.   intHours = today.getHours();
  2056.   intMinutes = today.getMinutes();
  2057.   intSeconds = today.getSeconds();
  2058.  
  2059.   if (intHours == 0) {
  2060.      hours = "12:";
  2061.      ap = "Midnight";
  2062.   } else if (intHours < 12) {
  2063.      hours = intHours+":";
  2064.      ap = "A.M.";
  2065.   } else if (intHours == 12) {
  2066.      hours = "12:";
  2067.      ap = "Noon";
  2068.   } else {
  2069.      intHours = intHours - 12
  2070.      hours = intHours + ":";
  2071.      ap = "P.M.";
  2072.   }
  2073.  
  2074.   if (intMinutes < 10) {
  2075.      minutes = "0"+intMinutes+":";
  2076.   } else {
  2077.      minutes = intMinutes+":";
  2078.   }
  2079.  
  2080.   if (intSeconds < 10) {
  2081.      seconds = "0"+intSeconds+" ";
  2082.   } else {
  2083.      seconds = intSeconds+" ";
  2084.   }
  2085.  
  2086.   timeString = hours+minutes+seconds+ap;
  2087.  
  2088.   Clock.innerHTML = timeString;
  2089.  
  2090.   window.setTimeout("tick();", 100);
  2091. }
  2092.  
  2093. window.onload = tick;
  2094. </SCRIPT>
  2095. <End>
  2096.  
  2097. "Cool Contents"
  2098. <1>Text is being appeared by clicking on submenu. Formating and text attributes can be applayed. With litlle bit of your imagination, you can easily edit this cool script and adjust it on the way u need it. U should replace YOUR TITLE, Sub Title 1, Sub Title 2... Your text... and Your List Item... at least. Insert Part 1 in between your <HAED>and</HEAD> tags, Part 2 within your <BODY> tag and Part 3 in body of your document.
  2099. <2><!--YOU CAN CHANGE FORMATING ATTRIBUTES BETWEEN STYLE TAGS-->
  2100. <STYLE>
  2101.  BODY {background-color: #ffffff;}
  2102.  H2 {color: RGB(127,0,0); margin-left: 0.20in}
  2103.  DIV.sidebar {background-color: 00eeee; margin-left: 0.75in;
  2104.               margin-right: 1.5in; font-family: lucida fax; font-size:12pt}
  2105.  OL {margin-left: 0.75in; margin-right: 1.5in; background-color: gray;
  2106.      color: yellow; font-family: tahoma; font-size: 11pt}
  2107.  CODE {color: #0000FF; margin-left: 0.75in; font-size: 16pt }
  2108.  P.sidebarline {margin-left: 0.75in; margin-right: 1.5in; font-size: 10pt; 
  2109.                 color: #EE0000; font-weight: 600; font-family: Courier }
  2110. </STYLE>
  2111.  
  2112. <SCRIPT language="javascript">
  2113. <!--
  2114.  
  2115. function clicked_element(){
  2116.     var child = document.all[event.srcElement.child];
  2117.     if (child!=null) {
  2118.     child.style.display = child.style.display == "none" ? "" : "none";
  2119.     }
  2120.   }
  2121.  
  2122. //-->
  2123. </SCRIPT>
  2124. <3><body onclick="clicked_element()">
  2125. <4><h1 align=center>YOUR TITLE</h1>
  2126. <p>
  2127. <h6 align=center>Click on Sub Title to see contents</h6>
  2128. <p>
  2129. <h2 child=firstsection>Sub Title 1</H2>
  2130. <DIV id=firstsection style="display:none">
  2131. <P>
  2132. Your text...
  2133. </DIV>
  2134. <p>
  2135. <h2 child=section2>Sub Title 2</h2>
  2136. <DIV id=section2 style="display:none">
  2137. <P>
  2138. Your text...
  2139. </DIV>
  2140. <p>
  2141. <h2 child=section3>Sub Title 3</h2>
  2142. <DIV id=section3 style="display:none">
  2143. <p>
  2144. Your text...
  2145. <p child=sidebar1 class=sidebarline>
  2146. Sub Title 3.1
  2147. </P>
  2148. <DIV id=sidebar1 class=sidebar style="display:none">
  2149. <h3>Sub Title 3.1</h3>
  2150. <p>
  2151. Your text...
  2152. </DIV>
  2153. <p>
  2154. Your text...
  2155. </DIV>
  2156. <p>
  2157. <H2 child=section4>Sub Title 4</H2>
  2158. <DIV id=section4 style="display:none">
  2159. <p>
  2160. Your text...
  2161. </DIV>
  2162. <P>
  2163. <H2 child=section5>Sub Title 5</H2>
  2164. <DIV id=section5 style="display:none">
  2165. <P>
  2166. Your text...
  2167. <p child=sidebar2 class=sidebarline>
  2168. Sub Title 5.1
  2169. </P>
  2170. <DIV class=sidebar id=sidebar2 style="display:none">
  2171. <h3>Sub Title 5.1</h3>
  2172. <p>
  2173. Your text...
  2174. </DIV>
  2175. <p>
  2176. Your text...
  2177. <OL>
  2178. <LI>Your List item...</LI>
  2179. <LI>Your List item...</LI>
  2180. <LI>Your List item...</LI>
  2181. <LI>Your List item...</LI>
  2182. </OL>
  2183. <code>Your text...</code>
  2184. <P>
  2185. <Strong>
  2186. Your text...
  2187. </strong><BR>
  2188. <I>
  2189. Your text...
  2190. </I>
  2191. <p>
  2192. </DIV>
  2193. <End>
  2194.  
  2195. "Path Control"
  2196. <1>Insert Part 1 between yor <HEAD>and</HEAD> tags, Part 2 within <BODY> tag and Part 3 in body of your document. Replace YOURIMAGE, YOURWIDTH and YOURHEIGHT
  2197. <2><SCRIPT LANGUAGE="JAVASCRIPT">
  2198. <!--Init Sequence-->
  2199. function init() {
  2200. robotPath.play();
  2201. }
  2202. </SCRIPT>
  2203. <3><BODY onload="init()">
  2204. <4><!--Sequencing Object-->
  2205. <OBJECT ID="Seq"
  2206.     CLASSID="CLSID:B0A6BAE2-AAF0-11d0-A152-00A0C908DB96">
  2207. </OBJECT>
  2208.  
  2209. <!-- graphics-->
  2210. <IMG ID="robot" SRC="YOURIMAGE" WIDTH=YOURWIDTH HEIGHT=YOURHEIGHT BORDER=0 STYLE="position:absolute;top:10;left:-100;visibility:visible">
  2211.  
  2212. <!-- path object-->
  2213. <OBJECT ID="robotPath" CLASSID = "CLSID:D7A7D7C3-D47F-11D0-89D3-00A0C90833E6">
  2214.         <PARAM NAME="AutoStart" VALUE="0">
  2215.         <PARAM NAME="Bounce" VALUE="0">
  2216.         <PARAM NAME="Duration" VALUE="2.0">
  2217.       <PARAM NAME="Repeat" VALUE="1">
  2218.         <PARAM NAME="Shape" VALUE="PolyLine(2, 0,150, 350,150)">
  2219.         <PARAM NAME="Target" VALUE="robot">
  2220. </OBJECT>
  2221. <End>
  2222.  
  2223. "Dynamic Content"
  2224. <1>Text is being replaced directly on your Web page. Insert Part 1 between yor <HEAD>and</HEAD> tags, Part 2 within <BODY> tag and Part 3 in body of your document. Replace YOUR TEXT with your text.
  2225. <2><SCRIPT LANGUAGE="JavaScript"><!--
  2226. function frameTest(){
  2227.     if(top==self) {
  2228.           var parent = "/ie/ie40/demos/default.htm"
  2229.         var currURL = unescape(window.location.pathname);
  2230.         var newURL = parent + "?" + currURL;
  2231.         var appVer = navigator.appVersion;
  2232.         var NS = (navigator.appName == 'Netscape') && ((appVer.indexOf('3') != -1) || (appVer.indexOf('4') != -1));
  2233.         var MSIE = (appVer.indexOf('MSIE 4') != -1);
  2234.         if (NS || MSIE)
  2235.             location.replace(newURL);
  2236.         else
  2237.             location.href = newURL;
  2238.     }
  2239. }
  2240. //-->
  2241. </SCRIPT>
  2242.  
  2243. <SCRIPT LANGUAGE="JavaScript"><!--
  2244. var ua = navigator.userAgent;
  2245. var win = ua.indexOf('Win') != -1;
  2246. var mac = ua.indexOf("Mac") != -1;
  2247. var isNN = navigator.appName == "Netscape";
  2248. if (mac)
  2249.     leftnav = 'macleft';
  2250. else if (!mac && !win) {
  2251.     if (ua.indexOf("MSIE 4") != -1)
  2252.         leftnav = 'unixIEleft';
  2253.     else if (isNN)
  2254.         leftnav = 'unixNNleft';}
  2255. else if (ua.indexOf("MSIE 3") != -1)
  2256.     leftnav = 'ie3left';
  2257. else if (isNN)
  2258.     leftnav = 'nav4left';
  2259. else
  2260.     leftnav = 'ie4left';
  2261. document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="/ie/global/' + leftnav + '.css">');
  2262. //--></SCRIPT>
  2263.  
  2264. <STYLE><!--
  2265. .btop {text-decoration:none; color:black;}
  2266. .btop:hover {text-decoration:underline; color:red;}
  2267. --></STYLE>
  2268. <3><BODY onLoad="frameTest()">
  2269. <4><DIV ID=ReplaceMe STYLE="font-family: verdana; font-size: 20;">YOUR TEXT</DIV>
  2270. <BR>
  2271. <INPUT ID=T1 TYPE=TEXT STYLE="width:310"> <INPUT TYPE=BUTTON VALUE="Replace" onclick="ReplaceMe.innerHTML = T1.value">
  2272. <End>