Forum Themes:
Welcome !

 "Hidden" tag

Author Message
Samuel

  • Total Posts : 11785
  • Reward points : 168350
  • Joined: May 23 '01
  • Status: offline
"Hidden" tag Fri. Aug 1, '08 5:21 PM (permalink)
Here is a custom PGDCode you can put into the control panel that allows you to hide some content in a message for whatever purpose you want:

The PGDCode:

Pattern:
\[(hidden)\=(\w+) title=([^\]\<\>]+)\](.+?)\[\/\1\]
Replace With:
<div style="border: 1px black dashed; padding:15px; margin:5px; background-color: #FAFAFA; width:50%;">   
<a href="#" onclick="$(this).hide('fast', function(){$(this).next().slideDown('slow').end().parent().css('width','90%')});
    return false;">$3</a>
<div id="$2" style="display:none;">
$4
</div>
</div>
Purpose: Hide some content
Example: [hidden=UniqueID_You_Choose title=Click Me]Content To hide[/hidden]
Begin Tag: [hidden=ID title=ClickMe]
End Tag: [/hidden]
ECMAScript Compliant and Ignore Case checked.

Note:

The Replace With can be modified to fit your styling needs. Just remember to include the $2 (the UniqueID), $3 (the link title to reveal the hidden content), and $4(the content that is hidden) symbols.

Example:

The following is a live example:

Click Here to see the example

<message edited by Samuel on Sat. Mar 27, '10 1:49 AM>
ASPPlayground.NET
~ see our Version 4 plans here

 
#1
    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.9