HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

[HowTo] Make TabLinks Popup*

edited August 2013 in Tutorials

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.

Sign In or Register to comment.