Loading...
 
Skip to main content

History: Colorbox_Ajax_Load_Example

Source of version: 5

Copy to clipboard
            This page is an example wiki page for the [http://profiles.tikiwiki.org/Colorbox_Ajax_Load|Colorbox Ajax Load] Profile.

! Example using CBAjaxLoad Plugin Alias
This was tested and works successfully in Tiki 5.x but not in trunk:
{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}
        

History

Information Version
Fri 22 of Oct, 2010 18:59 GMT-0000 luciash d' being ๐Ÿง™ jonny fixed the code, so now it works in Tiki 6.x as well, thanks ! 9
Wed 08 of Sep, 2010 21:39 GMT-0000 luciash d' being ๐Ÿง™ link to the plugin alias 8
Wed 08 of Sep, 2010 21:20 GMT-0000 luciash d' being ๐Ÿง™ little workaround to avoid displaying additional " external nofollow" after the title in Colorbox 7
Wed 08 of Sep, 2010 21:16 GMT-0000 luciash d' being ๐Ÿง™ code sample for the JQ plugin example 6
Wed 08 of Sep, 2010 18:40 GMT-0000 luciash d' being ๐Ÿง™ added the sample code 5
Wed 08 of Sep, 2010 18:37 GMT-0000 luciash d' being ๐Ÿง™ added example using JQ plugin 4
Tue 07 of Sep, 2010 21:36 GMT-0000 luciash d' being ๐Ÿง™ wrong link 3
Sun 22 of Aug, 2010 23:41 GMT-0000 luciash d' being ๐Ÿง™ absolute link 2
Sat 21 of Aug, 2010 02:06 GMT-0000 luciash d' being ๐Ÿง™ 1