Sandbox: Difference between revisions

From NexusWiki
m (Testing "floating frames")
 
(9 intermediate revisions by 2 users not shown)
Line 8: Line 8:


Please feel free to play around with all the wiki options here.
Please feel free to play around with all the wiki options here.
----
Some floating links:
{|
| {{FloatLink|Gold acorn}} /
| {{FloatLink|Acorn}} /
| {{FloatLink|Gold acorn}} /
| {{FloatLink|Flameblade}} /
| {{FloatLink|Gold acorn}}
|}
----


<poem>
<poem>
Line 23: Line 34:
</poll>
</poll>


{{Float|1|Coin}}
Test
 
{{UseFloats}}
{{Float|Gold acorn}}
{{Float|Acorn}}
{{Float|Flameblade}}
 
== RSS Reader ==
<rss>http://nexusatlas.com/news/RSSFeed.xml</rss>

Latest revision as of 12:04, 18 September 2007

This is an internal link to the main page with a description
Main_Page

This is an external link to WikiTK

This is a headline

And a sub-headline

Please feel free to play around with all the wiki options here.


Some floating links:

<plainhtml>

<a

 href="/wiki/</plainhtml>Gold acorn<plainhtml>"
 title="</plainhtml>Gold acorn<plainhtml>"
 id="floatlink</plainhtml>Template:Md5:Gold acorn<randomid></randomid><plainhtml>"
 onMouseOver="showFloat('</plainhtml>Template:Md5:Gold acorn<plainhtml>', '</plainhtml><randomid></randomid><plainhtml>')"
 onMouseOut="delayedHideFloat('</plainhtml>Template:Md5:Gold acorn<plainhtml>')"

></plainhtml>Gold acorn<plainhtml></a><a id="floatlinkend</plainhtml>Template:Md5:Gold acorn<randomid></randomid><plainhtml>"> </a>

</plainhtml> /

<plainhtml>

<a

 href="/wiki/</plainhtml>Acorn<plainhtml>"
 title="</plainhtml>Acorn<plainhtml>"
 id="floatlink</plainhtml>Template:Md5:Acorn<randomid></randomid><plainhtml>"
 onMouseOver="showFloat('</plainhtml>Template:Md5:Acorn<plainhtml>', '</plainhtml><randomid></randomid><plainhtml>')"
 onMouseOut="delayedHideFloat('</plainhtml>Template:Md5:Acorn<plainhtml>')"

></plainhtml>Acorn<plainhtml></a><a id="floatlinkend</plainhtml>Template:Md5:Acorn<randomid></randomid><plainhtml>"> </a>

</plainhtml> /

<plainhtml>

<a

 href="/wiki/</plainhtml>Gold acorn<plainhtml>"
 title="</plainhtml>Gold acorn<plainhtml>"
 id="floatlink</plainhtml>Template:Md5:Gold acorn<randomid></randomid><plainhtml>"
 onMouseOver="showFloat('</plainhtml>Template:Md5:Gold acorn<plainhtml>', '</plainhtml><randomid></randomid><plainhtml>')"
 onMouseOut="delayedHideFloat('</plainhtml>Template:Md5:Gold acorn<plainhtml>')"

></plainhtml>Gold acorn<plainhtml></a><a id="floatlinkend</plainhtml>Template:Md5:Gold acorn<randomid></randomid><plainhtml>"> </a>

</plainhtml> /

<plainhtml>

<a

 href="/wiki/</plainhtml>Flameblade<plainhtml>"
 title="</plainhtml>Flameblade<plainhtml>"
 id="floatlink</plainhtml>Template:Md5:Flameblade<randomid></randomid><plainhtml>"
 onMouseOver="showFloat('</plainhtml>Template:Md5:Flameblade<plainhtml>', '</plainhtml><randomid></randomid><plainhtml>')"
 onMouseOut="delayedHideFloat('</plainhtml>Template:Md5:Flameblade<plainhtml>')"

></plainhtml>Flameblade<plainhtml></a><a id="floatlinkend</plainhtml>Template:Md5:Flameblade<randomid></randomid><plainhtml>"> </a>

</plainhtml> /

<plainhtml>

<a

 href="/wiki/</plainhtml>Gold acorn<plainhtml>"
 title="</plainhtml>Gold acorn<plainhtml>"
 id="floatlink</plainhtml>Template:Md5:Gold acorn<randomid></randomid><plainhtml>"
 onMouseOver="showFloat('</plainhtml>Template:Md5:Gold acorn<plainhtml>', '</plainhtml><randomid></randomid><plainhtml>')"
 onMouseOut="delayedHideFloat('</plainhtml>Template:Md5:Gold acorn<plainhtml>')"

></plainhtml>Gold acorn<plainhtml></a><a id="floatlinkend</plainhtml>Template:Md5:Gold acorn<randomid></randomid><plainhtml>"> </a>

</plainhtml>


<poem> Hello world! I am here to play And laugh a lot And play all day~ </poem>

<poll> Do you like NexusWiki? Yes Definately Of course </poll>

Test

<plainhtml>

<script type="text/javascript">

 var useFloats = true;
 var visible = false;
 var lastFloat = ;
 function findRelPosX(obj) {
   var relleft = 0;
   if (obj.offsetParent) {
     relleft = obj.offsetLeft;
   } else if (obj.x) {
     relleft = obj.x;
   }
   return relleft;
 }
 function findRelPosY(obj) {
   var reltop = 0;
   if (obj.offsetParent) {
     reltop = obj.offsetTop;
   } else if (obj.y) {
     reltop = obj.y;
   }
   return reltop;
 }
 function findDistanceX(outobj, inobj) {
   var distx = 0;
   if (inobj.offsetParent) {
     while (inobj.offsetParent) {
       if(inobj.offsetParent == outobj.offsetParent) {
         break;
       }
       distx += inobj.offsetLeft;
       inobj= inobj.offsetParent;
     }
   } else if (inobj.x) {
     distx = outobj.x - inobj.x;
   }
   return distx;
 }
 function findDistanceY(outobj, inobj) {
   var disty = 0;
   if (inobj.offsetParent) {
     while (inobj.offsetParent) {
       if(inobj.offsetParent == outobj.offsetParent) {
         disty += inobj.offsetTop;
         break;
       }
       disty += inobj.offsetTop;
       inobj = inobj.offsetParent;
     }
     disty = outobj.offsetTop - disty;
   } else if (inobj.y) {
     disty = outobj.y - inobj.y;
   }
   return disty;
 }
 function findPosX(obj)
 {
 	var curleft = 0;
 	if (obj.offsetParent)
 	{
 		while (obj.offsetParent)
 		{
 			curleft += obj.offsetLeft;
 			obj = obj.offsetParent;
 		}
 	}
 	else if (obj.x) {
 		curleft += obj.x;
       }
 	return curleft;
 }
 
 function findPosY(obj)
 {
 	var curtop = 0;
 	if (obj.offsetParent)
 	{
 		while (obj.offsetParent)
 		{
 			curtop += obj.offsetTop;
 			obj = obj.offsetParent;
 		}
 	}
 	else if (obj.y) {
 		curtop += obj.y;
       }
 	return curtop;
 }
 function showFloat(id, index) {
   if(lastFloat == id) { } else {
     visible = false;
     hideFloat(lastFloat);
     lastFloat = id;
   }
   visible = true;
   var float = document.getElementById('float' + id);
   var floatanchor = document.getElementById('floatanchor' + id);
   var link = document.getElementById('floatlink' + id + index);
   var linkend = document.getElementById('floatlinkend' + id + index);
   
   float.style.display = 'block';
   var posX = findDistanceX(floatanchor, link) + findRelPosX(floatanchor) + ((findRelPosX(linkend) - findRelPosX(link)) / 2) - 175;
   if(posX < 0) {
     posX = 12;
   }
   var posY = findRelPosY(floatanchor) - findDistanceY(floatanchor, link) + 18;
   float.style.left = posX + 'px';
   float.style.top = posY + 'px';
 }
 
 function delayedHideFloat(id) {
   visible = false;
   window.setTimeout('hideFloat(\ + id + '\')', 200);
 }
 
 function hideFloat(id) {
   if(visible) { return; }
   var float = document.getElementById('float' + id);
   if(float) { 
     float.style.display = 'none';
   }
 }

</script>

</plainhtml> <plainhtml>

<a id="floatanchor</plainhtml>Template:Md5:Gold acorn<plainhtml>"> </a> <div id="float</plainhtml>Template:Md5:Gold acorn<plainhtml>" onMouseOver="visible = true;" onMouseOut="delayedHideFloat('</plainhtml>Template:Md5:Gold acorn<plainhtml>')" style="background: white; display: none; position: absolute; border: 1px solid #A9AFFF; color: #000; background-color: #DDDEFF; padding: 2px; width: 350px; height: 150px; overflow: auto; z-index: 100;"></plainhtml>
Gold acorn article | discussion | edit

Gold acorn

See Also

Acorn
Silver acorn
Copper acorn

Cursed acorn
<plainhtml>

</plainhtml> <plainhtml>

<a id="floatanchor</plainhtml>Template:Md5:Acorn<plainhtml>"> </a> <div id="float</plainhtml>Template:Md5:Acorn<plainhtml>" onMouseOver="visible = true;" onMouseOut="delayedHideFloat('</plainhtml>Template:Md5:Acorn<plainhtml>')" style="background: white; display: none; position: absolute; border: 1px solid #A9AFFF; color: #000; background-color: #DDDEFF; padding: 2px; width: 350px; height: 150px; overflow: auto; z-index: 100;"></plainhtml>
Acorn article | discussion | edit

Acorn
  • Acorns can be foraged from squirrels and Green squirrels.
  • They have a healing property of 8 vitality per.
  • They have a market value of 5c at local Butchers and 6c at places such as Kaming's Encampment.
  • You can carry a maximum of 201.


Related Topics

--Lordchrono 20:12, 5 Aug 2005 (EDT)<plainhtml>

</plainhtml> <plainhtml>

<a id="floatanchor</plainhtml>Template:Md5:Flameblade<plainhtml>"> </a> <div id="float</plainhtml>Template:Md5:Flameblade<plainhtml>" onMouseOver="visible = true;" onMouseOut="delayedHideFloat('</plainhtml>Template:Md5:Flameblade<plainhtml>')" style="background: white; display: none; position: absolute; border: 1px solid #A9AFFF; color: #000; background-color: #DDDEFF; padding: 2px; width: 350px; height: 150px; overflow: auto; z-index: 100;"></plainhtml>
Flameblade article | discussion | edit

Apparent proof that a Flameblade can in fact be acquired by Fishing!

Nexus v6.0 Nexus v5.0
Durability: 5,000,000
Damage: S: 90m100 L: 90m100
Hit: 3 Dam: 1
Peasant Level: 70

Special Info

  • Sells to NPC for 1250 coins

How to Obtain

</plainhtml>

RSS Reader

Extension:RSS -- Error: "http://nexusatlas.com/news/RSSFeed.xml" is not in the list of allowed feeds. https://www.nexusatlas.com/news/RSSFeed.xml is the only allowed feed.