|
|
113. sor: |
113. sor: |
| |Ingame4= | | |Ingame4= |
| }} | | }} |
− | <html>
| |
| | | |
− | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
| |
− | <link href="../ddimgtooltip.css" type="text/css" rel="stylesheet">
| |
− | <script type="text/javascript">
| |
− | /* Image w/ description tooltip v2.0
| |
− | * Created: April 23rd, 2010. This notice must stay intact for usage
| |
− | * Author: Dynamic Drive at http://www.dynamicdrive.com/
| |
− | * Visit http://www.dynamicdrive.com/ for full source code
| |
− | */
| |
− |
| |
− |
| |
− | var ddimgtooltip={
| |
− |
| |
− | tiparray:function(){
| |
− | var tooltips=[]
| |
− | //define each tooltip baelow: tooltip[inc]=['path_to_image', 'optional desc', optional_CSS_object]
| |
− | //For desc parameter, backslash any special characters inside your text such as apotrophes ('). Example: "I\'m the king of the world"
| |
− | //For CSS object, follow the syntax: {property1:"cssvalue1", property2:"cssvalue2", etc}
| |
− |
| |
− | tooltips[0]=["semmi", "Metin2wiki - főoldal", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[5]=["semmi", "Harang<br><img src=../images/6/6e/Harang.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[6]=["semmi", "Taurean<br><img src=../images/6/61/Taurean.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[7]=["semmi", "Áruló Balso<br><img src=../images/c/cf/%C3%81rul%C3%B3_Balso.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[8]=["semmi", "Yu-Rang<br><img src=../images/c/c5/Yu-Rang.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[9]=["semmi", "Deokbae<br><img src=../images/8/88/Deokbae.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[10]=["semmi", "Teleport<br><img src=../images/5/54/Teleport.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[11]=["semmi", "Öregasszony<br><img src=../images/6/6d/%C3%96regasszony.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[12]=["semmi", "Raktáros<br><img src=../images/c/c4/Rakt%C3%A1ros.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[13]=["semmi", "Yang-Shin<br><img src=../images/7/7d/Yang-Shin.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[14]=["semmi", "Yu-Hwan<br><img src=../images/f/f4/Yu-Hwan.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[15]=["semmi", "Huahn-So<br><img src=../images/8/89/Huahn-So.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[16]=["semmi", "Ariyoung<br><img src=../images/1/19/Ariyoung.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[17]=["semmi", "Fegyverzet kereskedő<br><img src=../images/2/2d/Fegyverzet_keresked%C5%91.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[18]=["semmi", "Fegyverkereskedő<br><img src=../images/9/94/Fegyverkeresked%C5%91.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[19]=["semmi", "Csata irányító<br><img src=../images/d/d6/Csata_ir%C3%A1ny%C3%ADt%C3%B3.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[20]=["semmi", "Őr<br><img src=../images/6/6c/%C5%90r.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[21]=["semmi", "Vegyeskereskedés<br><img src=../images/3/3e/Vegyeskeresked%C3%A9s.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[22]=["semmi", "Lovászinas<br><img src=../images/f/f7/Lov%C3%A1szinas.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[23]=["semmi", "Kovács<br><img src=../images/c/cf/Kov%C3%A1cs.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[24]=["semmi", "Házaló<br><img src=../images/d/d9/H%C3%A1zal%C3%B3.jpg height=240", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | return tooltips //do not remove/change this line
| |
− | }(),
| |
− |
| |
− | tooltipoffsets: [20, -30], //additional x and y offset from mouse cursor for tooltips
| |
− |
| |
− | //***** NO NEED TO EDIT BEYOND HERE
| |
− |
| |
− | tipprefix: 'imgtip', //tooltip ID prefixes
| |
− |
| |
− | createtip:function($, tipid, tipinfo){
| |
− | if ($('#'+tipid).length==0){ //if this tooltip doesn't exist yet
| |
− | return $('<div id="' + tipid + '" class="ddimgtooltip" />').html(
| |
− | '<div style="text-align:center"></div>'
| |
− | + ((tipinfo[1])? '<div style="text-align:left; margin-top:5px">'+tipinfo[1]+'</div>' : '')
| |
− | )
| |
− | .css(tipinfo[2] || {})
| |
− | .appendTo(document.body)
| |
− | }
| |
− | return null
| |
− | },
| |
− |
| |
− | positiontooltip:function($, $tooltip, e){
| |
− | var x=e.pageX+this.tooltipoffsets[0], y=e.pageY+this.tooltipoffsets[1]
| |
− | var tipw=$tooltip.outerWidth(), tiph=$tooltip.outerHeight(),
| |
− | x=(x+tipw>$(document).scrollLeft()+$(window).width())? x-tipw-(ddimgtooltip.tooltipoffsets[0]*2) : x
| |
− | y=(y+tiph>$(document).scrollTop()+$(window).height())? $(document).scrollTop()+$(window).height()-tiph-10 : y
| |
− | $tooltip.css({left:x, top:y})
| |
− | },
| |
− |
| |
− | showbox:function($, $tooltip, e){
| |
− | $tooltip.show()
| |
− | this.positiontooltip($, $tooltip, e)
| |
− | },
| |
− |
| |
− | hidebox:function($, $tooltip){
| |
− | $tooltip.hide()
| |
− | },
| |
− |
| |
− |
| |
− | init:function(targetselector){
| |
− | jQuery(document).ready(function($){
| |
− | var tiparray=ddimgtooltip.tiparray
| |
− | var $targets=$(targetselector)
| |
− | if ($targets.length==0)
| |
− | return
| |
− | var tipids=[]
| |
− | $targets.each(function(){
| |
− | var $target=$(this)
| |
− | $target.attr('rel').match(/\[(\d+)\]/) //match d of attribute rel="imgtip[d]"
| |
− | var tipsuffix=parseInt(RegExp.$1) //get d as integer
| |
− | var tipid=this._tipid=ddimgtooltip.tipprefix+tipsuffix //construct this tip's ID value and remember it
| |
− | var $tooltip=ddimgtooltip.createtip($, tipid, tiparray[tipsuffix])
| |
− | $target.mouseenter(function(e){
| |
− | var $tooltip=$("#"+this._tipid)
| |
− | ddimgtooltip.showbox($, $tooltip, e)
| |
− | })
| |
− | $target.mouseleave(function(e){
| |
− | var $tooltip=$("#"+this._tipid)
| |
− | ddimgtooltip.hidebox($, $tooltip)
| |
− | })
| |
− | $target.mousemove(function(e){
| |
− | var $tooltip=$("#"+this._tipid)
| |
− | ddimgtooltip.positiontooltip($, $tooltip, e)
| |
− | })
| |
− | if ($tooltip){ //add mouseenter to this tooltip (only if event hasn't already been added)
| |
− | $tooltip.mouseenter(function(){
| |
− | ddimgtooltip.hidebox($, $(this))
| |
− | })
| |
− | }
| |
− | })
| |
− |
| |
− | }) //end dom ready
| |
− | }
| |
− | }
| |
− |
| |
− | //ddimgtooltip.init("targetElementSelector")
| |
− | ddimgtooltip.init("*[rel^=imgtip]")
| |
− | </script>
| |
− | </script>
| |
− | <body>
| |
− | <img src="../images/0/00/S%C3%A1rgamap2.png" width="800" height="711" border="0" usemap="#Map" />
| |
− | <map name="Map" id="Map">
| |
− | <area shape="rect" coords="564,582,790,609" href=".." rel="imgtip[0]" target="_blank" />
| |
− | <area shape="rect" coords="66,334,95,360" href="../index.php/Teleport" rel="imgtip[10]" target="_blank" />
| |
− | <area shape="rect" coords="288,531,318,561" href="../index.php/Yu-Rang" rel="imgtip[8]" target="_blank" />
| |
− | <area shape="rect" coords="193,473,225,502" href="../index.php/Taurean" rel="imgtip[6]" target="_blank" />
| |
− | <area shape="rect" coords="165,417,193,447" href="../index.php/Ariyoung" rel="imgtip[16]" target="_blank" />
| |
− | <area shape="rect" coords="241,355,270,383" href="../index.php/Vegyeskeresked%C3%A9s" rel="imgtip[21]" target="_blank" />
| |
− | <area shape="rect" coords="286,304,319,334" href="../index.php/Kov%C3%A1cs" rel="imgtip[23]" target="_blank" />
| |
− | <area shape="rect" coords="193,240,224,272" href="../index.php/Yu-Hwan" rel="imgtip[14]" target="_blank" />
| |
− | <area shape="rect" coords="330,212,359,240" href="../index.php/H%C3%A1zal%C3%B3" rel="imgtip[24]" target="_blank" />
| |
− | <area shape="rect" coords="375,119,403,147" href="../index.php/%C3%81rul%C3%B3_Balso" rel="imgtip[7]" target="_blank" />
| |
− | <area shape="rect" coords="502,131,531,160" href="../index.php/Lov%C3%A1szinas" rel="imgtip[22]" target="_blank" />
| |
− | <area shape="rect" coords="503,193,534,225" href="../index.php/Huahn-So" rel="imgtip[15]" target="_blank" />
| |
− | <area shape="rect" coords="391,223,419,251" href="../index.php/%C3%96regasszony" rel="imgtip[11]" target="_blank" />
| |
− | <area shape="rect" coords="430,344,459,374" href="../index.php/%C5%90r" rel="imgtip[20]" target="_blank" />
| |
− | <area shape="rect" coords="361,386,390,413" href="../index.php/Csata_irányító" rel="imgtip[19]" target="_blank" />
| |
− | <area shape="rect" coords="504,428,531,459" href="../index.php/Fegyverkeresked%C5%91" rel="imgtip[18]" target="_blank" />
| |
− | <area shape="rect" coords="576,383,603,414" href="../index.php/Fegyverzet_keresked%C5%91" rel="imgtip[17]" target="_blank" />
| |
− | <area shape="rect" coords="676,337,704,369" href="../index.php/Harang" rel="imgtip[5]" target="_blank" />
| |
− | <area shape="rect" coords="607,318,635,346" href="../index.php/Rakt%C3%A1ros" rel="imgtip[12]" target="_blank" />
| |
− | <area shape="rect" coords="634,272,665,299" href="../index.php/Yang-Shin" rel="imgtip[13]" target="_blank" />
| |
− | <area shape="rect" coords="579,242,605,269" href="../index.php/Deokbae" rel="imgtip[9]" target="_blank" />
| |
− | </map>
| |
− | </body>
| |
− | </html>
| |
| {{Keret2}} | | {{Keret2}} |