[HowTo] Make TabLinks Popup*
vrijvlinder
MVP
If you want to make TabLinks Popup instead of open in a new page, put this script in your master.default.php of your theme. In the end of the last < div > in the code. You can make specific ones do it and not others like in the example below, if you use a.Tablink , it will make all tab links open in a pop up . If you use their specific class name only those will popup.(remove the spaces I put between < > so the full code would show)
< script type="text/javascript" >
$(document).ready(function() {
$('a.MyDiscussions.TabLink').popup();
$('a.MyBookmarks.TabLink').popup();
$('a.TabLink').popup();
});
< /script >
This is useful to see inbox and other stuff in the same page.
Tagged:
0