RokBox, the successor of our popular RokZoom plugin, is a mootools powered JavaScript slideshow that allows you to quickly and easily display multiple media formats including images, videos (video sharing services also) and music. RokBox provides a theme system that allows you to create your own custom ones to fit your websites design. It includes two predefined themes, a Light theme and a Dark theme that will fit seamlessly into your site design. RokBox is as easy as pie to install and customize, providing an easy way to create your own custom themes for it.
[span class=alert]Please note that RokBox is not part of the template but is an independent download from http://www.rocketwerx.com/products/rokbox/overview.[/span]RokBox comes in 3 formats. A standalone HTML/JavaScript solution for inclusion in any website or page; A Joomla 1.0 plugin, and a Joomla 1.5 plugin. Each Joomla! plugins come with a system and a content plugin.
We highly recommend using RokBox in Joomla 1.5 for optimal performance and ease of use.
RokBox is a Joomla! plugin inspired by the now famous LightBox, but with a large support for multimedia content and not only images. RokBox is written by Djamil Legato.
<div class="example"> <h3>Title</h3> <p>Some content</p> </div>
[tag]{text}[/tag]=<tag>{text}</tag>Such as
[alert]{text}[/alert]=<span class="alert">{text}</span>As is apparent, each line is separated into distinctive sections. There are two parts, the RokCandy syntax (left of =) and the outputted HTML (right of =). You would create your own tag name and insert them between square brackets, [], followed by {text} and the closing tag with [] brackets again. This segment is followed by the = symbol and following on from that is the HTML output. Note, the {text} is required in both parts to denote what element is to be carried forward. You can use any value between the {} brackets, such as {title} or {link} as long as they are cross referenced in the HTML output as shown in the example below:-
[box title={title} link={link}]{text}[/box]=<div class="box"><h3><a href="{link}">{title}</a></h3><p>{text}</p></div>[span class=attention]Note, the best way to understand the syntax rules is to look at the default.ini file and see what syntax we use.[/span] [readon url="index.php?option=com_content&view=article&id=56&Itemid=67"]RokCandy Examples[/readon]
Praesent rutrum sapien ac felis. Phasellus elementum dolor quis turpis. Vestibulum nec mi vitae pede tincidunt nonummy. Vestibulum facilisis mollis neque. Sed orci. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed euismod magna a nibh.
[contentheading]This is a ContentHeading[/contentheading]Proin ac nunc eu nunc condimentum accumsan. Phasellus odio justo, euismod vitae, egestas a, porttitor in, urna. Maecenas vitae mauris. Donec vestibulum, nunc eu varius pharetra, massa est sagittis odio, sit amet eleifend elit dolor id tortor.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin sit amet odio quis sapien molestie ultrices. Vivamus quis lectus. Praesent eu mi. Curabitur pharetra leo sed nisl. Nunc vel nisi. Aliquam nulla. Etiam at est. Pellentesque arcu diam, tempus nec, sodales eu, ullamcorper quis, risus.
Proin ac nunc eu nunc condimentum accumsan. Phasellus odio justo, euismod vitae, egestas a, porttitor in, urna. Maecenas vitae mauris. Donec vestibulum, nunc eu varius pharetra, massa est sagittis odio, sit amet eleifend elit dolor id tortor.
Mauris euismod. In ac massa vitae quam tincidunt dapibus. Ut at tortor nec mi mattis blandit. Maecenas venenatis lorem at nulla. Phasellus a libero. Sed odio odio, eleifend dignissim, feugiat vel, tempor nec, ligula. Suspendisse lacinia convallis nulla. Vestibulum posuere, lacus aliquet pulvinar faucibus, tortor urna luctus diam, vitae ultrices ante magna non tellus.
Mauris euismod. In ac massa vitae quam tincidunt dapibus. Ut at tortor nec mi mattis blandit. Maecenas venenatis lorem at nulla. Phasellus a libero. Sed odio odio, eleifend dignissim, feugiat vel, tempor nec, ligula. Suspendisse lacinia convallis nulla. Vestibulum posuere, lacus aliquet pulvinar faucibus, tortor urna luctus diam, vitae ultrices ante magna non tellus.
Mauris euismod. In ac massa vitae quam tincidunt dapibus. Ut at tortor nec mi mattis blandit. Maecenas venenatis lorem at nulla. Phasellus a libero. Sed odio odio, eleifend dignissim, feugiat vel, tempor nec, ligula. Suspendisse lacinia convallis nulla. Vestibulum posuere, lacus aliquet pulvinar faucibus, tortor urna luctus diam, vitae ultrices ante magna non tellus.
Below is a list with bullets. To use this style create a list in the following format: [list class=class name][li]....[/li][li....[/li][/list]
[list class=bullet-1][li]To use this style create a list in the following format: [list class=bullet-1][li]...[/li][li]...[/li][/list].[/li][/list] [list class=bullet-2][li]To use this style create a list in the following format: [list class=bullet-2][li]...[/li][li]...[/li][/list].[/li][/list] [list class=bullet-3][li]To use this style create a list in the following format: [list class=bullet-3][li]...[/li][li]...[/li][/list].[/li][/list] [list class=bullet-4][li]To use this style create a list in the following format: [list class=bullet-4][li]...[/li][li]...[/li][/list].[/li][/list] [list class=bullet-5][li]To use this style create a list in the following format: [list class=bullet-5][li]...[/li][li]...[/li][/list].[/li][/list] [list class=bullet-6][li]To use this style create a list in the following format: [list class=bullet-6][li]...[/li][li]...[/li][/list].[/li][/list] [list class=bullet-7][li]To use this style create a list in the following format: [list class=bullet-7][li]...[/li][li]...[/li][/list].[/li][/list] [list class=bullet-8][li]To use this style create a list in the following format: [list class=bullet-8][li]...[/li][li]...[/li][/list].[/li][/list]Below is a list with special icons. To use this style create a list in the following format: [list class=class name][li]....[/li][li....[/li][/list]
[list class=special-1][li]To use this style create a list in the following format: [list class=special-1][li]...[/li][li]...[/li][/list].[/li][/list] [list class=special-2][li]To use this style create a list in the following format: [list class=special-2][li]...[/li][li]...[/li][/list].[/li][/list] [list class=special-3][li]To use this style create a list in the following format: [list class=special-3][li]...[/li][li]...[/li][/list].[/li][/list] [list class=special-4][li]To use this style create a list in the following format: [list class=special-4][li]...[/li][li]...[/li][/list].[/li][/list] [list class=special-5][li]To use this style create a list in the following format: [list class=special-5][li]...[/li][li]...[/li][/list].[/li][/list] [list class=special-6][li]To use this style create a list in the following format: [list class=special-6][li]...[/li][li]...[/li][/list].[/li][/list] [list class=special-7][li]To use this style create a list in the following format: [list class=special-7][li]...[/li][li]...[/li][/list].[/li][/list] [list class=special-8][li]To use this style create a list in the following format: [list class=special-8][li]...[/li][li]...[/li][/list].[/li][/list] [list class=special-9][li]To use this style create a list in the following format: [list class=special-9][li]...[/li][li]...[/li][/list].[/li][/list] [list class=special-10][li]To use this style create a list in the following format: [list class=special-10][li]...[/li][li]...[/li][/list].[/li][/list] [list class=special-11][li]To use this style create a list in the following format: [list class=special-11][li]...[/li][li]...[/li][/list].[/li][/list] [list class=special-12][li]To use this style create a list in the following format: [list class=special-12][li]...[/li][li]...[/li][/list].[/li][/list] [list class=special-13][li]To use this style create a list in the following format: [list class=special-13][li]...[/li][li]...[/li][/list].[/li][/list] [list class=special-14][li]To use this style create a list in the following format: [list class=special-14][li]...[/li][li]...[/li][/list].[/li][/list]Below is a list with number. To use this style create a list in the following format:[number color=color value=1]...some content...[/number]
[number value=1]To use this style create a list in the following format: [number value=1]...some content...[/number][/number] [number value=2]To use this style create a list in the following format: [number value=2]...some content...[/number][/number] [number value=3]To use this style create a list in the following format: [number value=3]...some content...[/number][/number]Praesent rutrum sapien ac felis. Phasellus elementum dolor quis turpis. Vestibulum nec mi vitae pede tincidunt nonummy. Vestibulum facilisis mollis neque. Sed orci. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.[inset side=right]You will need to use the following formatting: [inset side=right] ... some content ...[/inset][/inset]Vestibulum facilisis mollis neque. Sed orci. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed euismod magna a nibh.
Sed euismod magna a nibh. Praesent rutrum sapien ac felis. Phasellus elementum dolor quis turpis. Vestibulum nec mi vitae pede tincidunt nonummy. Praesent rutrum sapien ac felis. Phasellus elementum dolor quis turpis. Vestibulum nec mi vitae pede tincidunt nonummy. Vestibulum facilisis mollis neque. Sed orci. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.Praesent rutrum sapien ac felis. Phasellus elementum dolor quis turpis. Vestibulum nec mi vitae pede tincidunt nonummy. Vestibulum facilisis mollis neque. Sed orci. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
Praesent rutrum sapien ac felis. Phasellus elementum dolor quis turpis. Vestibulum nec mi vitae pede tincidunt nonummy. Vestibulum facilisis mollis neque. Sed orci. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.[inset side=left]You will need to use the following formatting: [inset side=left] ... some content ...[/inset][/inset]Vestibulum facilisis mollis neque. Sed orci. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed euismod magna a nibh.
Sed euismod magna a nibh. Praesent rutrum sapien ac felis. Phasellus elementum dolor quis turpis. Vestibulum nec mi vitae pede tincidunt nonummy. Praesent rutrum sapien ac felis. Phasellus elementum dolor quis turpis. Vestibulum nec mi vitae pede tincidunt nonummy. Vestibulum facilisis mollis neque. Sed orci. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.Praesent rutrum sapien ac felis. Phasellus elementum dolor quis turpis. Vestibulum nec mi vitae pede tincidunt nonummy. Vestibulum facilisis mollis neque. Sed orci. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
To see how this effects a template in the a real world scenario, we'll examine the front-page of the SolarSentinel demo site from a very average 768kb DSL connection. We used the Net panel in Firebug for Firefox to get our data.
First we'll see how the site loads the CSS without RokGZipper enabled:
As you can see because the SolarSentinel template allows for maximum flexibility with almost unlimited combinations of header/body/footer/backgrounds etc, there are multiple CSS files loaded as well as some of the CSS files needed for the modules used. Let's turn on RokGZipper and see what we get now:
As you can clearly see the 11 original requests have been reduced to 4 requests. The 104KB of CSS files has been reduced to just 18KB (17% of the original size!), and the original 1.44 seconds it took to download the CSS files has been reduced to just 359ms (400% faster!). A drastic improvement!
Now to see the effects on the JavaScript side. SolarSentinel is an extremely feature-packed template, and we've tried to show off as much as possible on the front page of the demo. This makes it an excellent example to really see the power of RokGZipper in action. First without RokGZipper enabled:
Once again, there's a lot of JavaScript there to power all the features and functionality we are showing off on the front page. This of course is a somewhat extreme case, and you probably would not have this much functionality turned on at any one time. Let's enable RokGZipper and see what we get:
The end result is even more dramatic than with the CSS. Those original 17 requests for the JavaScript elements have been reduced to just 1 request. The 164KB has been reduced to just 46KB (28% of the original size), and the 4.85 seconds it took before has been reduced to just 639ms (760% faster!).
Of course RokGZipper is particular useful with SolarSentinel due to the large amounts of CSS and JavaScript Files, but RokGZipper can be applied to any template and should improve your browsing experience significantly.