Difference between revisions of "User:Rewen/Sandbox"

From Morloch Wiki
Jump to: navigation, search
Line 33: Line 33:
 
I added classes: "pwr-tooltip" and "map-tooltip".
 
I added classes: "pwr-tooltip" and "map-tooltip".
  
* <span class="pwr-tooltip" style="cursor:pointer;" data-pwrname="Shadow Bolt">This is a Power Tooltip</span>
+
* The following has a Power tooltip: <span class="pwr-tooltip" style="cursor:pointer;" style="border-bottom: 1px dotted darkred;">Shadow Bolt</span>
 
* The following is a Map tooltip: <span class="map-tooltip" style="color: teal; border-bottom: 1px dotted teal;">'''10921, 60871'''<div class="tooltip-contents">{{mapmark|104|207}}</div></span>
 
* The following is a Map tooltip: <span class="map-tooltip" style="color: teal; border-bottom: 1px dotted teal;">'''10921, 60871'''<div class="tooltip-contents">{{mapmark|104|207}}</div></span>

Revision as of 15:05, 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".

  • The following has a Power tooltip: Shadow Bolt
  • The following is a Map tooltip: 10921, 60871
    Map Marker

    Markedmap.png