Difference between revisions of "User:Rewen/Sandbox"

From Morloch Wiki
Jump to: navigation, search
Line 29: Line 29:
  
 
<span class="advanced-tooltip">Advanced tooltips<div class="tooltip-contents">Tooltip content<br/><code><a href="http://www.google.com>Google!</a></code></div></span>
 
<span class="advanced-tooltip">Advanced tooltips<div class="tooltip-contents">Tooltip content<br/><code><a href="http://www.google.com>Google!</a></code></div></span>
 +
 +
=== Custom Tooltips ===
 +
I added classes: "pwr-tooltip" and "map-tooltip".
 +
 +
<span class="pwr-tooltip" style="cursor:pointer;" data-ability="pwrname">Hi</span>
 +
 +
<span class="map-tooltip" style="cursor:pointer;" data-coord1="111111" data-coord2="111111">Hi</span>
  
 
=== Stuff Inside the TT ===
 
=== Stuff Inside the TT ===
 
<div class="spell-tooltip">Hey, this is a tooltip.</div>
 
<div class="spell-tooltip">Hey, this is a tooltip.</div>

Revision as of 14:12, 2 October 2017

mw-collapsibile attempt

Collapsed by Default
Peeka boo!

Sortable Attempt

Sort Me!
Aardvark
Babboon
Cat
Domesticated Dolphin

Tooltip Attempt

Basic tooltips

Advanced tooltips
Tooltip content
<a href="http://www.google.com>Google!</a>

Custom Tooltips

I added classes: "pwr-tooltip" and "map-tooltip".

Hi

Hi

Stuff Inside the TT

Hey, this is a tooltip.