- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Encyclopedia Dramatica:Morphing Objects: Difference between revisions
imported>JuniusThaddeus moved ED:Morphing Objects to Encyclopedia Dramatica:Morphing Objects over redirect: Namespace. |
imported>TabbyGarf lol stolen |
||
Line 1: | Line 1: | ||
Early in 2008, Encyclopedia Dramatica's [[ED:Collapsing_Objects|Collapsing Objects]] went back in time and raped a Power Ranger. This unholy union resulted in a terrifying new breed of dynamic content known as Mighty Morphing Power Objects, or Morphing Objects for short. | Early in 2008, Encyclopedia Dramatica's [[ED:Collapsing_Objects|Collapsing Objects]] went back in time and raped a Power Ranger. This unholy union resulted in a terrifying new breed of dynamic content known as Mighty Morphing Power Objects, or Morphing Objects for short. | ||
In 2017, ED at long last upgraded from MediaWiki 1.16 to MediaWiki 1.28 and adopted jQuery, causing the old Morphing Objects to cease functioning. A new jQuery-based script was then written to replace it. | |||
==How Does It Work?== | ==How Does It Work?== | ||
The new script used for morphing objects is as follows: | |||
< | <pre style="white-space:pre-wrap;"> | ||
/* Click link to show one item and hide sibling items */ | |||
$(function(){ | |||
$(".morphlink").click(function(){ | |||
$("#"+$(this).data("correspondingcontent")).removeClass("hiddentext").siblings(".morphcontent").addClass("hiddentext"); | |||
}); | |||
}); | |||
</pre> | </pre> | ||
< | This basically translates to: When a HTML element with the class <code>morphlink</code> is click, an element with an id corresponding to the <code>data-correspondingcontent</code> attribute of the clicked element has its <code>hiddentext</code> class removed while sibling elements with the <code>morphcontent</code> class has the <code>hiddentext</code> class added to them. | ||
< | |||
As such, the toggle links or buttons must have the <code>morphlink</code> class, and the content that is morphed in and out of view must have the <code>morphcontent</code> class. The <code>morphlink</code> element must possess the <code>data-correspondingcontent</code> attribute, and that <code>data-correspondingcontent</code> attribute must correspond to the id of the <code>morphcontent</code> element that is supposed to be showed. The <code>hiddentext</code> class should be added to all <code>morphcontent</code> elements that are not initially displayed by default. | |||
<pre style="white-space:pre-wrap;"> | |||
<span class="morphlink showhidetext" data-correspondingcontent="uniqueNameContent1">Link to Show uniqueNameContent1</span> | |||
<p id="uniqueNameContent1" class="morphcontent hiddentext">Content object 1 is a paragraph!</p> | |||
<span class="morphlink showhidetext" data-correspondingcontent="uniqueNameContent2">Link to Show uniqueNameContent2</span> | |||
<div id="uniqueNameContent2" class="morphcontent hiddentext">Content object 2 is a div!</div> | |||
</ | |||
< | <span class="morphlink showhidetext" data-correspondingcontent="uniqueNameContent3">Link to Show uniqueNameContent3</span> | ||
</ | <table id="uniqueNameContent3" class="morphcontent hiddentext">Content object 3 is a table!</table> | ||
</ | <tr> | ||
< | <td>Content object 3 is a table!</td> | ||
</tr> | |||
</table> | |||
</pre> | </pre> | ||
< | ==Important: Newline Issue== | ||
</ | The <code>morphcontent</code> class can be assigned to <code>span</code> elements, but since the script depends on <code>.siblings</code>, the <code>span</code> elements might be located on the same line or in the same paragraph. This is because the MediaWiki software transforms two newlines into a paragraph. | ||
< | |||
For example: | |||
<pre style="white-space:pre-wrap;"> | |||
<div style="border: 1px solid black; padding: 5px;"> | |||
<span id="someContent1" class="morphlink showhidetext">Here's the first content pane.</span> | |||
<span id="someContent2" class="morphlink showhidetext">Here's the second content pane.</span> | |||
<span id="someContent3" class="morphlink showhidetext">Here's the third content pane.</span> | |||
</div> | |||
</pre> | </pre> | ||
Needs to become: | |||
<pre style="white-space:pre-wrap;"> | |||
<div style="border: 1px solid black; padding: 5px;"> | |||
<span id="someContent1" class="morphlink showhidetext">Here's the first content pane.</span> <span id="someContent2" class="morphlink showhidetext">Here's the second content pane.</span> <span id="someContent3" class="morphlink showhidetext"> Here's the third content pane.</span> | |||
</div> | |||
</pre> | </pre> | ||
Other elements (div, ul, table, etc.) are not affected by this issue. | |||
==Tab Example== | ==Tab Example== | ||
<table width="80%" cellpadding="0" cellspacing="0" border="0" style="background-color: #FFCC66; border-top: 1px black solid; border-left: 1px black solid; border-right: 1px black solid;"> | <table width="80%" cellpadding="0" cellspacing="0" border="0" style="background-color: #FFCC66; border-top: 1px black solid; border-left: 1px black solid; border-right: 1px black solid;"> | ||
<tr> | <tr> | ||
Line 81: | Line 73: | ||
<td style="text-align: right; padding: 5px; font-size: 8pt; vertical-align: middle;"> | <td style="text-align: right; padding: 5px; font-size: 8pt; vertical-align: middle;"> | ||
<span id="gamingTemplateLink1">Games</span> • | <span id="gamingTemplateLink1" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent1">Games</span> • | ||
<span id="gamingTemplateLink2">Consoles</span> • | <span id="gamingTemplateLink2" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent2">Consoles</span> • | ||
<span id="gamingTemplateLink3">Portables</span> • | <span id="gamingTemplateLink3" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent3">Portables</span> • | ||
<span id="gamingTemplateLink4">Developers</span><br /> | <span id="gamingTemplateLink4" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent4">Developers</span><br /> | ||
<span id="gamingTemplateLink5">Comics</span> • | <span id="gamingTemplateLink5" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent5">Comics</span> • | ||
<span id="gamingTemplateLink6">Websites</span> • | <span id="gamingTemplateLink6" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent6">Websites</span> • | ||
<span id="gamingTemplateLink7">Related</span> | <span id="gamingTemplateLink7" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent7">Related</span> | ||
</td> | </td> | ||
</tr> | </tr> | ||
Line 97: | Line 89: | ||
<td style="padding: 5px;"> | <td style="padding: 5px;"> | ||
<table cellpadding="5" id="gamingTemplateContent1" cellspacing="0" border="0" width="100%" style="border: 1px black solid | <table cellpadding="5" id="gamingTemplateContent1" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> | ||
<tr valign="top" style="background-color: navajowhite;"> | <tr valign="top" style="background-color: navajowhite;"> | ||
Line 104: | Line 96: | ||
</table> | </table> | ||
<table cellpadding="5" id="gamingTemplateContent2" cellspacing="0" border="0" width="100%" style="border: 1px black solid | <table cellpadding="5" id="gamingTemplateContent2" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> | ||
<tr valign="top" style="background-color: blanchedalmond;"> | <tr valign="top" style="background-color: blanchedalmond;"> | ||
Line 111: | Line 103: | ||
</table> | </table> | ||
<table cellpadding="5" id="gamingTemplateContent3" cellspacing="0" border="0" width="100%" style="border: 1px black solid | <table cellpadding="5" id="gamingTemplateContent3" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> | ||
<tr valign="top" style="background-color: navajowhite;"> | <tr valign="top" style="background-color: navajowhite;"> | ||
Line 118: | Line 110: | ||
</table> | </table> | ||
<table cellpadding="5" id="gamingTemplateContent4" cellspacing="0" border="0" width="100%" style="border: 1px black solid | <table cellpadding="5" id="gamingTemplateContent4" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> | ||
<tr valign="top" style="background-color: blanchedalmond;"> | <tr valign="top" style="background-color: blanchedalmond;"> | ||
Line 125: | Line 117: | ||
</table> | </table> | ||
<table cellpadding="5" id="gamingTemplateContent5" cellspacing="0" border="0" width="100%" style="border: 1px black solid | <table cellpadding="5" id="gamingTemplateContent5" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> | ||
<tr valign="top" style="background-color: navajowhite;"> | <tr valign="top" style="background-color: navajowhite;"> | ||
Line 132: | Line 124: | ||
</table> | </table> | ||
<table cellpadding="5" id="gamingTemplateContent6" cellspacing="0" border="0" width="100%" style="border: 1px black solid | <table cellpadding="5" id="gamingTemplateContent6" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> | ||
<tr valign="top" style="background-color: blanchedalmond;"> | <tr valign="top" style="background-color: blanchedalmond;"> | ||
Line 139: | Line 131: | ||
</table> | </table> | ||
<table cellpadding="5" id="gamingTemplateContent7" cellspacing="0" border="0" width="100%" style="border: 1px black solid | <table cellpadding="5" id="gamingTemplateContent7" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> | ||
<tr valign="top" style="background-color: navajowhite;"> | <tr valign="top" style="background-color: navajowhite;"> | ||
Line 150: | Line 142: | ||
</tr> | </tr> | ||
</table> | </table> | ||
<span class=" | <span class="collapsibletoggle">[<span class="mw-customtoggle-tabExample showhidetext"><span class="collapsibletoggletext hiddentext">Click to Hide Code</span><span class="collapsibletoggletext">Click to View Code</span></span>]</span> | ||
<div class=" | <div id="mw-customcollapsible-tabExample" class="mw-collapsible mw-collapsed"> | ||
<pre> | <pre style="white-space:pre-wrap;"> | ||
<table width="80%" cellpadding="0" cellspacing="0" border="0" style="background-color: #FFCC66; border-top: 1px black solid; border-left: 1px black solid; border-right: 1px black solid;"> | |||
<tr> | |||
<td width="58" height="42" align="center">[[Image:Gamecontroller.gif]]</td> | |||
<td style="font-size: 12pt; padding: 5px;"><b>{{PAGENAME}}</b> is part of a series on [[Gaming]].</td> | |||
<td style="text-align: right; padding: 5px; font-size: 8pt; vertical-align: middle;"> | |||
<span id="gamingTemplateLink1" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent1">Games</span> • | |||
<span id="gamingTemplateLink2" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent2">Consoles</span> • | |||
<span id="gamingTemplateLink3" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent3">Portables</span> • | |||
<span id="gamingTemplateLink4" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent4">Developers</span><br /> | |||
<span id="gamingTemplateLink5" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent5">Comics</span> • | |||
<span id="gamingTemplateLink6" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent6">Websites</span> • | |||
<span id="gamingTemplateLink7" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent7">Related</span> | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="80%" cellpadding="0" cellspacing="0" border="0" style="background-color: #FFCC66; border-left: 1px black solid; border-right: 1px black solid; border-bottom: 1px black solid;"> | |||
<tr> | |||
<td style="padding: 5px;"> | |||
<table cellpadding="5" id="gamingTemplateContent1" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> | |||
<tr valign="top" style="background-color: navajowhite;"> | |||
<td style="text-align: justify; font-size: 10pt;">THE LIST OF GAMES</td> | |||
</tr> | |||
</table> | |||
<table cellpadding="5" id="gamingTemplateContent2" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> | |||
<tr valign="top" style="background-color: blanchedalmond;"> | |||
<td style="text-align: left; font-size: 10pt;">THE LIST OF CONSOLES</td> | |||
</tr> | |||
</table> | |||
<table cellpadding="5" id="gamingTemplateContent3" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> | |||
<tr valign="top" style="background-color: navajowhite;"> | |||
<td style="text-align: left; font-size: 10pt;">THE LIST OF PORTABLES</td> | |||
</tr> | |||
</table> | |||
<table cellpadding="5" id="gamingTemplateContent4" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> | |||
<tr valign="top" style="background-color: blanchedalmond;"> | |||
<td style="text-align: left; font-size: 10pt;">THE LIST OF DEVELOPERS</td> | |||
</tr> | |||
</table> | |||
<table cellpadding="5" id="gamingTemplateContent5" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> | |||
<tr valign="top" style="background-color: navajowhite;"> | |||
<td style="text-align: left; font-size: 10pt;">THE LIST OF COMICS</td> | |||
</tr> | |||
</table> | |||
<table cellpadding="5" id="gamingTemplateContent6" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> | |||
<tr valign="top" style="background-color: blanchedalmond;"> | |||
<td style="text-align: left; font-size: 10pt;">THE LIST OF WEBSITES</td> | |||
</tr> | |||
</table> | |||
<table cellpadding="5" id="gamingTemplateContent7" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> | |||
<tr valign="top" style="background-color: navajowhite;"> | |||
<td style="text-align: left; font-size: 10pt;">RELATED CONTENT</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
</pre> | </pre> | ||
</div> | </div> | ||
==Slideshow Example== | ==Slideshow Example== | ||
<div style="border: 1px solid black; padding: 5px;"> | <div style="border: 1px solid black; padding: 5px;"> | ||
<div id="slideContent1"> | <div id="slideContent1" class="morphcontent">Here's the first slide. <span id="slideLink2" class="morphlink showhidetext" data-correspondingcontent="slideContent2">Here's the link to the second slide.</span> </div> | ||
Here's the first slide. <span id="slideLink2">Here's the link to the second slide.</span> | |||
</div> | <div id="slideContent2" class="morphcontent hiddentext">Here's the second slide. <span id="slideLink3" class="morphlink showhidetext" data-correspondingcontent="slideContent3">Here's the link to the third slide.</span></div> | ||
<div id=" | <div id="slideContent3" class="morphcontent hiddentext">Here's the third slide. <span id="slideLink1" class="morphlink showhidetext" data-correspondingcontent="slideContent1">Here's the link to the first slide.</span></div> | ||
Here's the | |||
</div> | |||
</div> | </div> | ||
<span class="collapsibletoggle">[<span class="mw-customtoggle-slideExample showhidetext"><span class="collapsibletoggletext hiddentext">Click to Hide Code</span><span class="collapsibletoggletext">Click to View Code</span></span>]</span> | |||
<div id="mw-customcollapsible-slideExample" class="mw-collapsible mw-collapsed"> | |||
<span class=" | <pre style="white-space:pre-wrap;"> | ||
< | |||
< | |||
= | |||
<div style="border: 1px solid black; padding: 5px;"> | <div style="border: 1px solid black; padding: 5px;"> | ||
<div id=" | <div id="slideContent1" class="morphcontent">Here's the first slide. <span id="slideLink2" class="morphlink showhidetext" data-correspondingcontent="slideContent2">Here's the link to the second slide.</span> </div> | ||
<div id=" | <div id="slideContent2" class="morphcontent hiddentext">Here's the second slide. <span id="slideLink3" class="morphlink showhidetext" data-correspondingcontent="slideContent3">Here's the link to the third slide.</span></div> | ||
<div id=" | <div id="slideContent3" class="morphcontent hiddentext">Here's the third slide. <span id="slideLink1" class="morphlink showhidetext" data-correspondingcontent="slideContent1">Here's the link to the first slide.</span></div> | ||
</div> | </div> | ||
</pre> | </pre> | ||
</div> | </div> | ||
==See also== | |||
*[[Encyclopedia Dramatica:Collapsing Objects]] | |||
*[[Encyclopedia Dramatica:Cycling Objects]] |
Latest revision as of 01:17, 16 March 2021
Early in 2008, Encyclopedia Dramatica's Collapsing Objects went back in time and raped a Power Ranger. This unholy union resulted in a terrifying new breed of dynamic content known as Mighty Morphing Power Objects, or Morphing Objects for short.
In 2017, ED at long last upgraded from MediaWiki 1.16 to MediaWiki 1.28 and adopted jQuery, causing the old Morphing Objects to cease functioning. A new jQuery-based script was then written to replace it.
How Does It Work?
The new script used for morphing objects is as follows:
/* Click link to show one item and hide sibling items */ $(function(){ $(".morphlink").click(function(){ $("#"+$(this).data("correspondingcontent")).removeClass("hiddentext").siblings(".morphcontent").addClass("hiddentext"); }); });
This basically translates to: When a HTML element with the class morphlink
is click, an element with an id corresponding to the data-correspondingcontent
attribute of the clicked element has its hiddentext
class removed while sibling elements with the morphcontent
class has the hiddentext
class added to them.
As such, the toggle links or buttons must have the morphlink
class, and the content that is morphed in and out of view must have the morphcontent
class. The morphlink
element must possess the data-correspondingcontent
attribute, and that data-correspondingcontent
attribute must correspond to the id of the morphcontent
element that is supposed to be showed. The hiddentext
class should be added to all morphcontent
elements that are not initially displayed by default.
<span class="morphlink showhidetext" data-correspondingcontent="uniqueNameContent1">Link to Show uniqueNameContent1</span> <p id="uniqueNameContent1" class="morphcontent hiddentext">Content object 1 is a paragraph!</p> <span class="morphlink showhidetext" data-correspondingcontent="uniqueNameContent2">Link to Show uniqueNameContent2</span> <div id="uniqueNameContent2" class="morphcontent hiddentext">Content object 2 is a div!</div> <span class="morphlink showhidetext" data-correspondingcontent="uniqueNameContent3">Link to Show uniqueNameContent3</span> <table id="uniqueNameContent3" class="morphcontent hiddentext">Content object 3 is a table!</table> <tr> <td>Content object 3 is a table!</td> </tr> </table>
Important: Newline Issue
The morphcontent
class can be assigned to span
elements, but since the script depends on .siblings
, the span
elements might be located on the same line or in the same paragraph. This is because the MediaWiki software transforms two newlines into a paragraph.
For example:
<div style="border: 1px solid black; padding: 5px;"> <span id="someContent1" class="morphlink showhidetext">Here's the first content pane.</span> <span id="someContent2" class="morphlink showhidetext">Here's the second content pane.</span> <span id="someContent3" class="morphlink showhidetext">Here's the third content pane.</span> </div>
Needs to become:
<div style="border: 1px solid black; padding: 5px;"> <span id="someContent1" class="morphlink showhidetext">Here's the first content pane.</span> <span id="someContent2" class="morphlink showhidetext">Here's the second content pane.</span> <span id="someContent3" class="morphlink showhidetext"> Here's the third content pane.</span> </div>
Other elements (div, ul, table, etc.) are not affected by this issue.
Tab Example
Morphing Objects is part of a series on Gaming. |
Games •
Consoles •
Portables •
Developers |
|
[Click to View Code]
<table width="80%" cellpadding="0" cellspacing="0" border="0" style="background-color: #FFCC66; border-top: 1px black solid; border-left: 1px black solid; border-right: 1px black solid;"> <tr> <td width="58" height="42" align="center">[[Image:Gamecontroller.gif]]</td> <td style="font-size: 12pt; padding: 5px;"><b>{{PAGENAME}}</b> is part of a series on [[Gaming]].</td> <td style="text-align: right; padding: 5px; font-size: 8pt; vertical-align: middle;"> <span id="gamingTemplateLink1" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent1">Games</span> • <span id="gamingTemplateLink2" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent2">Consoles</span> • <span id="gamingTemplateLink3" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent3">Portables</span> • <span id="gamingTemplateLink4" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent4">Developers</span><br /> <span id="gamingTemplateLink5" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent5">Comics</span> • <span id="gamingTemplateLink6" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent6">Websites</span> • <span id="gamingTemplateLink7" class="morphlink showhidetext" data-correspondingcontent="gamingTemplateContent7">Related</span> </td> </tr> </table> <table width="80%" cellpadding="0" cellspacing="0" border="0" style="background-color: #FFCC66; border-left: 1px black solid; border-right: 1px black solid; border-bottom: 1px black solid;"> <tr> <td style="padding: 5px;"> <table cellpadding="5" id="gamingTemplateContent1" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> <tr valign="top" style="background-color: navajowhite;"> <td style="text-align: justify; font-size: 10pt;">THE LIST OF GAMES</td> </tr> </table> <table cellpadding="5" id="gamingTemplateContent2" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> <tr valign="top" style="background-color: blanchedalmond;"> <td style="text-align: left; font-size: 10pt;">THE LIST OF CONSOLES</td> </tr> </table> <table cellpadding="5" id="gamingTemplateContent3" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> <tr valign="top" style="background-color: navajowhite;"> <td style="text-align: left; font-size: 10pt;">THE LIST OF PORTABLES</td> </tr> </table> <table cellpadding="5" id="gamingTemplateContent4" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> <tr valign="top" style="background-color: blanchedalmond;"> <td style="text-align: left; font-size: 10pt;">THE LIST OF DEVELOPERS</td> </tr> </table> <table cellpadding="5" id="gamingTemplateContent5" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> <tr valign="top" style="background-color: navajowhite;"> <td style="text-align: left; font-size: 10pt;">THE LIST OF COMICS</td> </tr> </table> <table cellpadding="5" id="gamingTemplateContent6" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> <tr valign="top" style="background-color: blanchedalmond;"> <td style="text-align: left; font-size: 10pt;">THE LIST OF WEBSITES</td> </tr> </table> <table cellpadding="5" id="gamingTemplateContent7" class="morphcontent hiddentext" cellspacing="0" border="0" width="100%" style="border: 1px black solid;"> <tr valign="top" style="background-color: navajowhite;"> <td style="text-align: left; font-size: 10pt;">RELATED CONTENT</td> </tr> </table> </td> </tr> </table>
Slideshow Example
[ ]
<div style="border: 1px solid black; padding: 5px;"> <div id="slideContent1" class="morphcontent">Here's the first slide. <span id="slideLink2" class="morphlink showhidetext" data-correspondingcontent="slideContent2">Here's the link to the second slide.</span> </div> <div id="slideContent2" class="morphcontent hiddentext">Here's the second slide. <span id="slideLink3" class="morphlink showhidetext" data-correspondingcontent="slideContent3">Here's the link to the third slide.</span></div> <div id="slideContent3" class="morphcontent hiddentext">Here's the third slide. <span id="slideLink1" class="morphlink showhidetext" data-correspondingcontent="slideContent1">Here's the link to the first slide.</span></div> </div>