½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
happycgi
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > JAVASCRIPT > javascript ¼Ò½ºÃ¢°í > ¸¶¿ì½ºÈ¿°ú > Tooltip with transparent shadow »ó¼¼Á¤º¸
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
ASP
css
html
mysql
jquery
image
API
Mobile
¸Þ´º
slide
°Ô½ÃÆÇ
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
Tooltip with transparent shadow
¼Ò½ºÅë°èÁ¤º¸ ¿À·ù½Å°í ¹× ¹®ÀÇ
ÇØÇÇÆÀ
³×ƼÁð
Æ®À§ÅÍ·Î º¸³»±â ÆäÀ̽ººÏÀ¸·Î º¸³»±â
¼Ò½ººÐ·ù ¸¶¿ì½ºÈ¿°ú
´Ù¿î·Îµå Ƚ¼ö 847 ȸ
°£´Ü¼³¸í ¸µÅ©µÈ ÅؽºÆ®¿¡ ¸¶¿ì½º¸¦ ¿Ã¸®¸é ÇØ´ç ±×¸²ÀÚ°¡ Àִ dz¼±¸»ÀÌ Ç¥½ÃµË´Ï´Ù.
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
ȨÆäÀÌÁö¹Ù·Î°¡±â ¼Ò½º´Ù¿î·Îµå µ¥¸ð ¹Ì¸®º¸±â ½ºÅ©·¦Çϱâ

< HEAD > Section ¾È¿¡ ´ÙÀ½ ³»¿ëÀ» ³ÖÀ¸¼¼¿ä.

<style type="text/css">
 /* YOU CAN REMOVE THIS PART */
 body{
  background-image:url('../../images/heading3.gif');
  background-repeat:no-repeat;
  padding-top:85px;
  font-family: Trebuchet MS, Lucida Sans Unicode, Arial, sans-serif;
  font-size:0.9em;
  line-height:130%;

 }
 h1{
  line-height:130%;
 }
 a{
  color: #D60808;
  text-decoration:none;
  font-weight:bold;
 }
 a:hover{
  border-bottom:1px dotted #317082;
  color: #307082;
 }

 /* END PART YOU CAN REMOVE */


 #dhtmlgoodies_tooltip{
  background-color:#EEE;
  border:1px solid #000;
  position:absolute;
  display:none;
  z-index:20000;
  padding:2px;
  font-size:0.9em;
  -moz-border-radius:6px; /* Rounded edges in Firefox */
  font-family: "Trebuchet MS", "Lucida Sans Unicode", Arial, sans-serif;

 }
 #dhtmlgoodies_tooltipShadow{
  position:absolute;
  background-color:#555;
  display:none;
  z-index:10000;
  opacity:0.7;
  filter:alpha(opacity=70);
  -khtml-opacity: 0.7;
  -moz-opacity: 0.7;
  -moz-border-radius:6px; /* Rounded edges in Firefox */
 }
 </style>
 <SCRIPT type="text/javascript">
 /************************************************************************************************************
 (C) www.dhtmlgoodies.com, October 2005

 This is a script from www.dhtmlgoodies.com. You will find this and a lot of other scripts at our website.

 Updated:
  March, 11th, 2006 - Fixed positioning of tooltip when displayed near the right edge of the browser.
  April, 6th 2006, Using iframe in IE in order to make the tooltip cover select boxes.

 Terms of use:
 You are free to use this script as long as the copyright message is kept intact. However, you may not
 redistribute, sell or repost it without our permission.

 Thank you!

 www.dhtmlgoodies.com
 Alf Magne Kalleland

 ************************************************************************************************************/
 var dhtmlgoodies_tooltip = false;
 var dhtmlgoodies_tooltipShadow = false;
 var dhtmlgoodies_shadowSize = 4;
 var dhtmlgoodies_tooltipMaxWidth = 200;
 var dhtmlgoodies_tooltipMinWidth = 100;
 var dhtmlgoodies_iframe = false;
 var tooltip_is_msie = (navigator.userAgent.indexOf('MSIE')>=0 && navigator.userAgent.indexOf('opera')==-1 && document.all)?true:false;
 function showTooltip(e,tooltipTxt)
 {

  var bodyWidth = Math.max(document.body.clientWidth,document.documentElement.clientWidth) - 20;

  if(!dhtmlgoodies_tooltip){
   dhtmlgoodies_tooltip = document.createElement('DIV');
   dhtmlgoodies_tooltip.id = 'dhtmlgoodies_tooltip';
   dhtmlgoodies_tooltipShadow = document.createElement('DIV');
   dhtmlgoodies_tooltipShadow.id = 'dhtmlgoodies_tooltipShadow';

   document.body.appendChild(dhtmlgoodies_tooltip);
   document.body.appendChild(dhtmlgoodies_tooltipShadow);

   if(tooltip_is_msie){
    dhtmlgoodies_iframe = document.createElement('IFRAME');
    dhtmlgoodies_iframe.frameborder='5';
    dhtmlgoodies_iframe.style.backgroundColor='#FFFFFF';
    dhtmlgoodies_iframe.src = '#';
    dhtmlgoodies_iframe.style.zIndex = 100;
    dhtmlgoodies_iframe.style.position = 'absolute';
    document.body.appendChild(dhtmlgoodies_iframe);
   }

  }

  dhtmlgoodies_tooltip.style.display='block';
  dhtmlgoodies_tooltipShadow.style.display='block';
  if(tooltip_is_msie)dhtmlgoodies_iframe.style.display='block';

  var st = Math.max(document.body.scrollTop,document.documentElement.scrollTop);
  if(navigator.userAgent.toLowerCase().indexOf('safari')>=0)st=0;
  var leftPos = e.clientX + 10;

  dhtmlgoodies_tooltip.style.width = null; // Reset style width if it's set
  dhtmlgoodies_tooltip.innerHTML = tooltipTxt;
  dhtmlgoodies_tooltip.style.left = leftPos + 'px';
  dhtmlgoodies_tooltip.style.top = e.clientY + 10 + st + 'px';


  dhtmlgoodies_tooltipShadow.style.left =  leftPos + dhtmlgoodies_shadowSize + 'px';
  dhtmlgoodies_tooltipShadow.style.top = e.clientY + 10 + st + dhtmlgoodies_shadowSize + 'px';

  if(dhtmlgoodies_tooltip.offsetWidth>dhtmlgoodies_tooltipMaxWidth){ /* Exceeding max width of tooltip ? */
   dhtmlgoodies_tooltip.style.width = dhtmlgoodies_tooltipMaxWidth + 'px';
  }

  var tooltipWidth = dhtmlgoodies_tooltip.offsetWidth;
  if(tooltipWidth<dhtmlgoodies_tooltipMinWidth)tooltipWidth = dhtmlgoodies_tooltipMinWidth;


  dhtmlgoodies_tooltip.style.width = tooltipWidth + 'px';
  dhtmlgoodies_tooltipShadow.style.width = dhtmlgoodies_tooltip.offsetWidth + 'px';
  dhtmlgoodies_tooltipShadow.style.height = dhtmlgoodies_tooltip.offsetHeight + 'px';

  if((leftPos + tooltipWidth)>bodyWidth){
   dhtmlgoodies_tooltip.style.left = (dhtmlgoodies_tooltipShadow.style.left.replace('px','') - ((leftPos + tooltipWidth)-bodyWidth)) + 'px';
   dhtmlgoodies_tooltipShadow.style.left = (dhtmlgoodies_tooltipShadow.style.left.replace('px','') - ((leftPos + tooltipWidth)-bodyWidth) + dhtmlgoodies_shadowSize) + 'px';
  }

  if(tooltip_is_msie){
   dhtmlgoodies_iframe.style.left = dhtmlgoodies_tooltip.style.left;
   dhtmlgoodies_iframe.style.top = dhtmlgoodies_tooltip.style.top;
   dhtmlgoodies_iframe.style.width = dhtmlgoodies_tooltip.offsetWidth + 'px';
   dhtmlgoodies_iframe.style.height = dhtmlgoodies_tooltip.offsetHeight + 'px';

  }

 }

 function hideTooltip()
 {
  dhtmlgoodies_tooltip.style.display='none';
  dhtmlgoodies_tooltipShadow.style.display='none';
  if(tooltip_is_msie)dhtmlgoodies_iframe.style.display='none';
 }

 </SCRIPT>


<BODY > Section ¾È¿¡ ´ÙÀ½ ³»¿ëÀ» ³ÖÀ¸¼¼¿ä.

<h1>Roll your mouse over the links in the text below</h1>
<P>Splendida porro oculi <a href="#" onmouseout="hideTooltip()" onmouseover="showTooltip(event,'This is a tooltip with a transparent shadow effect. Can you see the letters underneath the shadow?');return false">Roll over me</a> uitantque tueri. Splendida porro oculi fugitant uitantque tueri.
</P>
<P>Sol etiam caecat, contra si tendere pergas propterea quia uis magnast ipsius. Lurida <a href="#" onmouseout="hideTooltip()" onmouseover="showTooltip(event,'This script works in both IE and Firefox. It also works in Opera, but that browser doesn\'t support CSS opacity, so the shadow won\'t be transparent');return false">Roll over me too!</a> quaequmque tuentur arquati, quia luroris de corpore eorum semina multa fluent. Splendida porro oculi fugitant uitantque tueri. Et alte aera per purrum grauiter simulacra feruntur. Praeterea splendor quiqumque est acer adurit saepe oculos. Et alte aera per purrum grauiter simulacra feruntur. Sol etiam caecat, contra si tendere pergas propterea quia uis magnast ipsius. Lurida praeterea fiunt quaequmque tuentur arquati, quia luroris de corpore eorum semina multa fluent. Splendida porro oculi fugitant uitantque tueri. Sol etiam caecat, contra si tendere pergas propterea quia uis magnast ipsius. Et alte aera per purrum grauiter simulacra feruntur.
</P>


[ dz¼±¸» Ç¥½Ã ¼³Á¤¹æ¹ý ]

<A> ű׿¡¼­ »ç¿ëµÈ ¿¹ÀÔ´Ï´Ù.

<a href="#" onmouseout="hideTooltip()" onmouseover="showTooltip(event,'Text of tooltip');return false">Roll over me</a>

 


³×ƼÁð ÀÇ°ß   ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.)
³»¿ë ¾ÆÀ̵ð ÀÇ°ß³²±â±â
µî·ÏµÈ ÀÇ°ßÀÌ ¾ø½À´Ï´Ù.
1
À̸§
³»¿ë
:³×¸Â¾Æ¿ä: :È­³ª´Â±º¿ä: :Àá¿Í: :¿ì¿ïÇØ: :À̰ǾƳÄ: :¿ÕÇÏÇÏ: ¿Õ¿ôÀ½~ ³î·¥~
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
µµ¹è¹æÁöÅ°
 82977031 º¸ÀÌ´Â µµ¹è¹æÁöÅ°¸¦ ÀÔ·ÂÇϼ¼¿ä.