|
|
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[1]=["semmi", "Kék birodalom", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[2]=["semmi", "Kék map1", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[3]=["semmi", "Én :)", {background:"#000000", color:"white", border:"5px ridge darkred"}]
| |
− | tooltips[4]=["semmi", "Nem játékos karakter", {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>
| |
− | <img src="/images/4/4c/2ndrealpyungmoo.png" width="800" height="600" border="0" usemap="#Map" />
| |
− | <map name="Map" id="Map">
| |
− | <area rel="imgtip[0]" shape="rect" coords="4,575,201,600" href="" target="_blank" />
| |
− | <area rel="imgtip[1]" shape="rect" coords="272,573,344,596" href="/index.php/Birodalmak#jinno" target="_blank" />
| |
− | <area rel="imgtip[2]" shape="rect" coords="369,578,501,600" href="/index.php/Pyungmoo" target="_blank" />
| |
− | <area rel="imgtip[3]" shape="rect" coords="689,574,796,605" href="/index.php/Szerkeszt%C5%91:Woaning" target="_blank" " />
| |
− | <area rel="imgtip[4]" shape="rect" coords="272,474,360,502" href="/index.php/NPC#Emberek" target="_blank" />
| |
− | <area rel="imgtip[5]" shape="rect" coords="112,156,142,191" href="/index.php/Rakt%C3%A1ros" target="_blank" />
| |
− | <area rel="imgtip[6]" shape="rect" coords="168,134,195,165" href="/index.php/Aranyo" target="_blank" />
| |
− | <area rel="imgtip[7]" shape="rect" coords="234,105,260,136" href="/index.php/Ah-Yu" target="_blank" />
| |
− | <area rel="imgtip[8]" shape="rect" coords="269,31,298,64" href="/index.php/Soon" target="_blank" />
| |
− | <area rel="imgtip[9]" shape="rect" coords="299,96,325,125" href="/index.php/Fegyverzet_keresked%C5%91" target="_blank" />
| |
− | <area rel="imgtip[10]" shape="rect" coords="294,143,323,177" href="/index.php/Csata_ir%C3%A1ny%C3%ADt%C3%B3" target="_blank" />
| |
− | <area rel="imgtip[11]" shape="rect" coords="239,240,267,274" href="/index.php/Kapitány" target="_blank" />
| |
− | <area rel="imgtip[12]" shape="rect" coords="438,321,468,354" href="/index.php/Yonah" target="_blank" />
| |
− | <area rel="imgtip[13]" shape="rect" coords="580,267,605,300" href="/index.php/Octavio" target="_blank" />
| |
− | <area rel="imgtip[14]" shape="rect" coords="646,287,674,320" href="/index.php/Mirine" target="_blank" />
| |
− | <area rel="imgtip[15]" shape="rect" coords="618,196,649,228" href="/index.php/Lov%C3%A1szinas" target="_blank" />
| |
− | <area rel="imgtip[16]" shape="rect" coords="609,145,638,178" href="/index.php/Uriel" target="_blank" />
| |
− | <area rel="imgtip[17]" shape="rect" coords="623,110,649,139" href="/index.php/V%C3%A1rosi_%C5%91r" target="_blank" />
| |
− | <area rel="imgtip[18]" shape="rect" coords="547,122,573,152" href="/index.php/Teleport" target="_blank" />
| |
− | <area rel="imgtip[19]" shape="rect" coords="492,126,516,155" href="/index.php/%C3%96regasszony" target="_blank" />
| |
− | <area rel="imgtip[20]" shape="rect" coords="509,165,525,183" href="/index.php/Kov%C3%A1cs" target="_blank" />
| |
− | <area rel="imgtip[21]" shape="rect" coords="495,190,518,211" href="/index.php/Vegyeskeresked%C3%A9s" target="_blank" />
| |
− | <area rel="imgtip[22]" shape="rect" coords="381,146,405,177" href="/index.php/%C5%90r" target="_blank" />
| |
− | <area rel="imgtip[23]" shape="rect" coords="376,87,402,116" href="/index.php/Fegyverkeresked%C5%91" target="_blank" />
| |
− | <area rel="imgtip[24]" shape="rect" coords="366,34,395,64" href="/index.php/Seon-Hae" target="_blank" />
| |
− | <area rel="imgtip[25]" shape="rect" coords="419,64,436,81" href="/index.php/Baek-Go" target="_blank" />
| |
− | <area rel="imgtip[26]" shape="poly" coords="435,93,465,107,475,103,508,116,514,106,481,94,473,95,442,84" href="/index.php/Kik%C3%A9pz%C3%A9s" target="_blank" />
| |
− | </map>
| |
− | </html>
| |
| {{Keret2}} | | {{Keret2}} |