<head><script> // mq1 ´Â Á¿ì Á¦¾î // mq2´Â »óÇÏ Á¦¾î // ¹°·Ð ¼Ò½º ¼öÁ¤ÇÏ¸é µ¿½Ã Á¦¾îµµ °¡´É;; // ½ÇÇà function move(direction, kind) { // mq1 ÀÎÁö mq2 ÀÎÁö ±¸ºÐÇÏ¿© ±×¿¡ ¸Â°Ô Marquee ÅÂ±× ½ÇÇà if(kind == 1) { mq1.start(); } else { mq2.start(); } // ¿ÞÂÊ (mq1) if(direction == 'L' || direction == 'l') { mq1.direction = 'left'; } // ¿À¸¥ÂÊ (mq1) else if(direction == 'R' || direction == 'r') { mq1.direction = 'right'; } // À§ÂÊ (mq2) else if(direction == 'U' || direction == 'u') { mq2.direction = 'up'; } // ¾Æ·¡ÂÊ (mq2) else { mq2.direction = 'down'; } } // Á¤Áö function stop(kind) { // mq ÀÎÁö mq2 ÀÎÁö ±¸ºÐÇÏ¿© ±×¿¡ ¸Â°Ô Marquee ÅÂ±× Á¤Áö if(kind == 1) { mq1.stop(); } else { mq2.stop(); } } </script> </head> <!-- ÆäÀÌÁö¸¦ ´Ù ÀÐÀ¸¸é Marquee ÅÂ±× Á¤Áö --> <body onload="stop(1); stop(2);"> <center><br> <br> <br> <marquee id="mq1" width="100" truespeed scrollamount="1" scrolldelay="15" bgcolor="ghostwhite" style="border:1 solid highlight;">123</marquee> <br> <br> <a href="javascript:;" onmouseover="move('L', 1);" onmouseout="stop(1)" onfocus="this.blur();"> ¿ÞÂÊÀ¸·Î</a> | <a href="javascript:;" onmouseover="move('R', 1);" onmouseout="stop(1)" onfocus="this.blur();"> ¿À¸¥ÂÊÀ¸·Î</a> <br> <br> <br> <marquee id="mq2" width="100" height="100" truespeed scrollamount="1" scrolldelay="15" bgcolor="ghostwhite" style="border:1 solid highlight;">123</marquee> <br> <br> <a href="javascript:;" onmouseover="move('U', 2);" onmouseout="stop(2)" onfocus="this.blur();"> À§ÂÊÀ¸·Î</a> | <a href="javascript:;" onmouseover="move('D', 2);" onmouseout="stop(2)" onfocus="this.blur();"> ¾Æ·¡ÂÊÀ¸·Î</a> </center> </body> ¡¡