Widget:IncludeTibContentOnClick: Difference between revisions

From Rangjung Yeshe Wiki - Dharma Dictionary
Jump to navigation Jump to search
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div id="tibContent"></div><script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script><script>
<div id="tibContent"></div><script>
$( "#ooui-php-5" ).click(function() {
$(function () {
$("#tibContent").load("index.php/<!--{$page}-->/tib #tibContentToLoad");
$('#ooui-php-5 .oo-ui-labelElement-label').click(function() {
$("#tibContent").load("<!--{$page|escape:'url'}-->/tib #tibContentToLoad");
});
});
$('#ooui-php-5').click()
}());
</script>
</script>

Latest revision as of 11:44, 3 August 2021

<script>

$(function () { $('#ooui-php-5 .oo-ui-labelElement-label').click(function() { $("#tibContent").load("/tib #tibContentToLoad"); }); }()); </script>