Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.

[HowTo] Make TabLinks Popup*

vrijvlindervrijvlinder Papillon-Sauvage MVP
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.