클릭한 위치에 레이어 띄우기 - keullighan wichie leieo ttuiugi

  • �Ϲ�
    ȸ��
  • ���
    ȸ��

  • HTML/JS/CSS/jQuery/Ajax �������亯
  • HOME > Q&A > HTML/JS/CSS/jQuery/Ajax �������亯
  • �˻��������

�۾����� ¥�� ȸ����URL
Ŭ���ϸ� ���콺 ��ġ�� ���̾� ���ǵ���..
Ƽ����
12-08-27 16:32 5886
//phpschool.com/link/qna_html/214664 ����

SyntaxHighlight�� ����

<img class='imgSelect' src='../images/button.gif' alt="��ư1" />

�� �̹����� ������ ���콺 ��ġ�� ���̾ �ϳ� ��ϴ�.
�ٵ� �� �κ��� �̹����� �ؽ�Ʈ�� ��ü�� �ϰ� ��������.
���� �⺻���� ����� �� ������ �̸����� �غ��� �ȵǾ� ����ϴ�.

<span class='imgSelect'>Ŭ��</span>
<a  class='imgSelect'>Ŭ��</a>

  �Ѵ� �ȵdz׿�ФФ�
Ȥ�� �ƽô� �� ���� �� �ֽø� �ȵɱ��?

[ �� �������� ���� Source ]

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script> <style type="text/css"> #divLangSelect { position:absolute; display:none; background-color:#ffffff; border:solid 2px #333333; width:450px; padding:10px; } </style> <img class='imgSelect' src='../images/button.gif' alt="��ư1" /> <div id="divLangSelect"> <div style="position:absolute;top:5px;right:5px"> <span onClick="javascript:document.getElementById('divLangSelect').style.display='none'" style="cursor:pointer;font-size:1.5em" title="�ݱ�">X</span> </div> <table width="440" align="center" border="0"><tr> <td width="150"><input type="radio"> Sample</td> <td width="150"><input type="radio"> Sample</td> <td width="150"><input type="radio"> Sample</td></tr><tr> <td width="150"><input type="radio"> Sample</td> <td width="150"><input type="radio"> Sample</td> <td width="150"><input type="radio"> Sample</td></tr><tr> <td width="150"><input type="radio"> Sample</td> <td width="150"><input type="radio"> Sample</td> <td width="150"><input type="radio"> Sample</td></tr><tr> <td width="150"><input type="radio"> Sample</td> <td width="150"><input type="radio"> Sample</td> <td width="150"><input type="radio"> Sample</td></tr><tr> </tr></table> </div> <script type="text/javascript"> //-- ��ư Ŭ���� ��ư�� Ŭ���� ��ġ ��ó�� ���̾� ���� --// $('.imgSelect').click(function(e) { var divTop = e.clientY + 10; //��� ��ǥ var divLeft = e.clientX - 0; //���� ��ǥ $('#divLangSelect').css({ "top": divTop ,"left": divLeft , "position": "absolute" }).show(); }); </script>

  • �亯ä���� 100%
  • ��õ 0 �� ������ ������ �Ǿ�����?
  • ����õ 0 �� ������ ������ �ȵ˴ϴ�.

  • �˻��������
  • �ű� ��õ �亯 ��ȸ
  • �Խù� 187��

  • 0��õ 3�亯�Ϸ� 49��ȸ

  • 0��õ 6�亯�Ϸ� 168��ȸ

  • 0��õ 2�亯�Ϸ� 360��ȸ

  • 0��õ 1�亯�Ϸ� 209��ȸ

  • 0��õ 1�亯���� 264��ȸ

  • 0��õ 2�亯�Ϸ� 237��ȸ

  • 0��õ 0�̴亯 109��ȸ

  • 0��õ 3�亯���� 380��ȸ

  • 0��õ 0�̴亯 205��ȸ

  • 0��õ 3�亯���� 372��ȸ

  • 0��õ 2�亯�Ϸ� 259��ȸ

  • 0��õ 1�亯���� 285��ȸ

  • 0��õ 1�亯���� 194��ȸ

  • 0��õ 3�亯���� 211��ȸ

  • 0��õ 1�亯���� 272��ȸ

  • 0��õ 4�亯�Ϸ� 171��ȸ

  • 0��õ 2�亯�Ϸ� 831��ȸ

  • 0��õ 2�亯�Ϸ� 1k��ȸ

  • 0��õ 4�亯�Ϸ� 208��ȸ

  • 0��õ 0�̴亯 387��ȸ

Toplist

최신 우편물

태그