|
|
140. sor: |
140. 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", "Raktáros<br><img src=../images/c/c4/Rakt%C3%A1ros.jpg height=240>", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[6]=["semmi", "Aranyo<br><img src=../images/7/78/Aranyo.jpg height=240>", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[7]=["semmi", "Ah-Yu<br><img src=../images/4/4e/Ah-Yu.jpg height=240>", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[8]=["semmi", "Soon<br><img src=../images/3/31/Soon.jpg height=240>", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[9]=["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[10]=["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[11]=["semmi", "Kapitány<br><img src=../images/b/bb/Kapit%C3%A1ny.jpg height=240>", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[12]=["semmi", "Yonah<br><img src=../images/f/f7/Yonah.jpg height=240>", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[13]=["semmi", "Octavio<br><img src=../images/9/97/Octavio.jpg height=240>", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[14]=["semmi", "Mirine<br><img src=../images/7/77/Mirine.jpg height=240>", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[15]=["semmi", "Lovászinas<br><img src=../images/f/f7/Lov%C3%A1szinas.jpg height=240>", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[16]=["semmi", "Uriel<br><img src=../images/a/a8/Uriel.jpg height=240>", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[17]=["semmi", "Város őr<br><img src=../images/c/c4/V%C3%A1rosi_%C5%91r.jpg height=240>", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[18]=["semmi", "Teleport<br><img src=../images/5/54/Teleport.jpg height=240>", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[19]=["semmi", "Öregasszony<br><img src=../images/6/6d/%C3%96regasszony.jpg height=240>", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[20]=["semmi", "Kovács<br><img src=../images/c/cf/Kov%C3%A1cs.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", "Őr<br><img src=../images/6/6c/%C5%90r.jpg height=240>", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[23]=["semmi", "Fegyverkereskedő<br><img src=../images/9/94/Fegyverkeresked%C5%91.jpg height=240>", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[24]=["semmi", "Seon-Hae<br><img src=../images/e/eb/Seon-Hae.jpg height=240>", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[25]=["semmi", "Baek-Go<br><img src=../images/1/18/Baek-Go.jpg height=240>", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[26]=["semmi", "Oktatók<br><img src=../images/b/bf/Oktat%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/8/83/S%C3%A1rgamap1.png" width="800" height="648" border="0" usemap="#Map" />
| |
− | <map name="Map" id="Map">
| |
− | <area shape="rect" coords="240,58,270,86" rel="imgtip[18]" href="../index.php/Teleport" target="_blank" />
| |
− | <area shape="rect" coords="376,337,401,367" rel="imgtip[20]" href="../index.php/Kov%C3%A1cs" target="_blank" />
| |
− | <area shape="rect" coords="345,310,373,337" rel="imgtip[21]" href="../index.php/Vegyeskeresked%C3%A9s" target="_blank" />
| |
− | <area shape="rect" coords="281,278,308,309" rel="imgtip[7]" href="../index.php/Ah-Yu" target="_blank" />
| |
− | <area shape="rect" coords="278,206,307,235" rel="imgtip[15]" href="../index.php/Lov%C3%A1szinas" target="_blank" />
| |
− | <area shape="rect" coords="309,191,335,220" rel="imgtip[6]" href="../index.php/Aranyo" target="_blank" />
| |
− | <area shape="rect" coords="346,224,374,249" rel="imgtip[13]" href="../index.php/Octavio" target="_blank" />
| |
− | <area shape="rect" coords="360,253,389,282" rel="imgtip[19]" href="../index.php/%C3%96regasszony" target="_blank" />
| |
− | <area shape="rect" coords="402,191,427,216" rel="imgtip[5]" href="../index.php/Rakt%C3%A1ros" target="_blank" />
| |
− | <area shape="rect" coords="414,143,442,173" rel="imgtip[24]" href="../index.php/Seon-Hae" target="_blank" />
| |
− | <area shape="rect" coords="329,136,358,160" rel="imgtip[17]" href="../index.php/V%C3%A1rosi_%C5%91r" target="_blank" />
| |
− | <area shape="rect" coords="491,136,518,165" rel="imgtip[16]" href="../index.php/Uriel" target="_blank" />
| |
− | <area shape="rect" coords="450,179,517,201" rel="imgtip[26]" href="../index.php/Kik%C3%A9pz%C3%A9s" target="_blank" />
| |
− | <area shape="rect" coords="433,223,462,249" rel="imgtip[10]" href="../index.php/Csata_ir%C3%A1ny%C3%ADt%C3%B3" target="_blank" />
| |
− | <area shape="rect" coords="463,251,489,281" rel="imgtip[22]" href="../index.php/%C5%90r" target="_blank" />
| |
− | <area shape="rect" coords="539,216,566,245" rel="imgtip[9]" href="../index.php/Fegyverzet_keresked%C5%91" target="_blank" />
| |
− | <area shape="rect" coords="538,171,566,203" rel="imgtip[25]" href="../index.php/Baek-Go" target="_blank" />
| |
− | <area shape="rect" coords="569,159,595,190" rel="imgtip[8]" href="../index.php/Soon" target="_blank" />
| |
− | <area shape="rect" coords="620,245,648,273" rel="imgtip[14]" href="../index.php/Mirine" target="_blank" />
| |
− | <area shape="rect" coords="553,280,579,309" rel="imgtip[23]" href="../index.php/Fegyverkeresked%C5%91" target="_blank" />
| |
− | <area shape="rect" coords="605,324,635,351" rel="imgtip[12]" href="../index.php/Yonah" target="_blank" />
| |
− | <area shape="rect" coords="748,324,777,352" rel="imgtip[11]" href="../index.php/Kapit%C3%A1ny" target="_blank" />
| |
− | <area shape="rect" coords="561,605,781,624" rel="imgtip[0]" href=".." target="_blank" />
| |
− | </map>
| |
− | </body>
| |
− | </html>
| |
| {{Keret2}} | | {{Keret2}} |