Codeigniter HTML5 games homepage
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

To make a codeigniter website with elastic layout that is responsive in any device, that will look like this: https://kippt.com.
I want the thumbnail images to open HTML5 games that I will have hosted on my server.
I want simple instructions so that I can do it myself starting with the codeigniter + twitter boostrap code => (https://github.com/sjlu/CodeIgniter-Bootstrap).

awarded to Wikimedia

Crowdsource coding tasks.

1 Solution


onclick the image call a javascript function which will redirect the page to the specific game. You have to work with controller and model.

function loadgame(id) {

window.location='<?php echo URL;?>'/loadgame/'+id+'

}

the loadgame function take a id as parameter which is game id that's may be a file name or function....

View Timeline