Date: Fri, 12 Jun 2026 04:47:01 %+0000 Mime-Version: 1.0 (Produced by Tiki) Content-Type: application/x-tikiwiki; pagename=Colorbox_Ajax_Load_Example; flags=""; author=luci; version=9; lastmodified=1287773975; author_id=213.19.47.154; summary=jonny%20fixed%20the%20code%2C%20so%20now%20it%20works%20in%20Tiki%206.x%20as%20well%2C%20thanks%20%21; hits=4488; description=""; charset=utf-8 Content-Transfer-Encoding: binary This page is an example wiki page for the [http://profiles.tiki.org/Colorbox_Ajax_Load|Colorbox Ajax Load|box;title=Colorbox Ajax Load profile as seen on profiles.tiki.org;] Profile. ! Example using CBAjaxLoad Plugin Alias The profile creates a __[tiki-admin.php?page=textarea&plugin_alias=cbajaxload&fullscreen=y&cookietab=3#tab3|CBAjaxLoad Plugin Alias|box;title=Review the configuration of CBAjaxLoad Plugin Alias and Close This Box;width=90%;height=90%;]__ (when you have admin rights you can review the plugin alias configuration by following the link) to simplify the required jQuery code insertion on a wiki page. This was tested and works successfully in Tiki 5.x and Tiki 6.x: {cbajaxload}{DIV(id="ajaxload")}[tiki-index_raw.php?page=HomePage|Content of a wiki page dynamically loaded to Colorbox]{DIV} {CODE(wrap=1 caption=Code:)}{cbajaxload}{DIV(id="ajaxload")}[tiki-index_raw.php?page=HomePage|Content of a wiki page dynamically loaded to Colorbox]{DIV}{CODE} ! Example using JQ Plugin This is just the same code but instead of using CBAjaxLoad plugin alias it uses jQuery code directly put in the JQ plugin: {JQ()}$jq("#ajaxload2 a").colorbox({href: function(){return $jq(this).attr("href")+" .wikitext";}});{JQ}{DIV(id="ajaxload2")}[tiki-index_raw.php?page=HomePage|Content of a wiki page dynamically loaded to Colorbox]{DIV} {CODE(wrap=1 caption=Code:)}{JQ()}$jq("#ajaxload2 a").colorbox({href: function(){return $jq(this).attr("href")+" .wikitext";}});{JQ}{DIV(id="ajaxload2")}[tiki-index_raw.php?page=HomePage|Content of a wiki page dynamically loaded to Colorbox]{DIV}{CODE}