Pages

Wednesday, December 30, 2015

Making Shadowbox.js gallery plugin mobile friendly

Smaller cellphone screen - LG G Stylo


You want: to go to the Next or Previous image by clicking a larger area instead of the small buttons provided by Shadowbox.

You could modify the shadowbox_en.js code yourself or copy and replace the shadowbox_en.js with the Javascript from the following clip I uploaded to http://pastebin.com/fHHh3NCC.
There is JavaScript at the top and the necessary CSS for the media queries is at the bottom.

In small screens the tiny navigation buttons are hidden.

Simple. save and reload the page.

Thanks to http://www.joomla-css.nl/en/ for some good tips on how to make Joomla navigation menu using Bootstrap.





Larger screen - laptop

Sunday, June 14, 2015

BootNiter - CodeIgniter integrated with Twitter Bootstrap

For those of you wanting to have the look and feel of Twitter Bootstrap within CodeIgniter PHP Framework right away here is your starting point.

CodeIgniter Version 3.0.0
Bootstrap Version 3.3.4

Behold BootNiter. Don't mind the name but rather draw your site mock-up and then create your CodeIgniter Ms,Vs, and Cs taking advantage of the sweet look of Bootstrap.
Some examples included such as buttons, drop-down menu items. The browser you see in the following screenshots is Chrome.
Screenshot of emulated mobile rendering of page

Screenshot of desktop version

Get the file here. 1.33 MB ZIP. pass is bootlace