2

theme 17 : FACADE

F E A T U R E S
  • 4 customizable links
  • 400px posts
  • Slide out askbox
  • Tons of custom options! Including: Audio Post Colors, Body background, Pattern Header, etc.
N O T E S:

Only the first few tags come up on this theme. Mainly because it looks best with only 3-5 tags on the Index Page. Once you click through they are hidden on the Permalink Page. So don’t worry if not all your tags are appearing its suppose to do that to keep the theme nice and neat.

R U L E S
  • Please don’t remove the credit
  • Don’t repost and claim as your own
  • Feel free to edit and customize as much as you want!
  • ♥ or reblog if you’re using

lpreview || code

Implicit v.1.3 – Full-Screen Blazing-Fast Magazine Theme | FreezeTheme

Implicit v.1.3 – Full-Screen Blazing-Fast Magazine Theme | FreezeTheme

Free Download Implicit v.1.3 – Full-Screen Blazing-Fast Magazine Theme Nulled

Implicitis a full Responsive and Retina Ready WordPress Theme for Magazine. This theme is built on Bootstrap framework and works perfectly on desktop, tablets and mobile phones. Some features of Implicit are: WooCommerce 2.0+ full integration and compatibility, BuddyPress 2.0+ compatible with full skin included, Awards…

View On WordPress

Clonerello

We’re in the middle of writing a Trello clone using backbone.js and I created an impressive bug. When I went to test my shiny new delete button, it deleted everything that had a delete button, even things that weren’t on the current page.

I think what happened was that the first handleDelete would re-render the parents page and then trigger the delete button on that page. I just didn’t have enough time last night to dig any further.

App.Views.ListsIndex = Backbone.CompositeView.extend({
  template = JST["lists/index"],

  events: {
    "click .delete": "handleDelete"
  },

My naively generic click event.

At this point, it’s blatantly obvious how bad it is to not be more specific with my button attributes, as there are a couple of other classes that would listen on exactly the same event. However, it’s hard to be exactly precise with selectors when your views are dynamically created. Luckily, jQuery has a mechanism to stop event propagation, aptly named, stopPropagation.

  handleDelete: function (event) {
    event.preventDefault();
    event.stopPropagation();
    ...

One way to completely stopped the aforementioned destruction is to use event.stopPropagation().

I added that to every instance of handleDelete. My delete’s stopped deleting what they weren’t supposed to. Again, I’m not sure how jquery triggers events, and it just doesn’t seem right to possibly be triggering the wrong events.

 "click .list.delete": "handleDelete"

We should be at least a little more specific in our selectors…

Watch on oirartnoc-oa-adiv.tumblr.com

Eurener - Portugal Project #webdeveloper #webdesign #web #developer #eurener #Portugal #design #html5 #php #jQuery #javascript #Ajax #css #Project #gestão #documentos #utilizadores

Making live search using json_encode in codeigniter

Here is to to get live search in reference to the design of the following image.

image



Create a table of hotels and use the following model

function select_table_column($table_name, $column_name,$criteria = null, $id = null)
{
$this->db->select($column_name);
$this->db->from($table_name);
if (!is_null($id)) $this->db->where(‘id’, $id);
$this->db->order_by(‘id’, ‘desc’);
return $this->db->get()->result();
}

/*
* Now, use this in your controller
*/

$get_Manufacturers = $this->M_selections->select_table_column(‘hotels_table’,hotel_’name’);
$encoded_Manufacturers = json_encode($get_Manufacturers);
$data[‘manufacturers’] = $encoded_Manufacturers;

/*
* Now, you have json encoded hotels list
*/

/*
*Then set up a view and add jquery and bootstrap support along with
* bootstrap-typeahead
*/


<link rel=”stylesheet” href=”<?php echo base_url(“assets/css/bootstrap.min.css”); ?>”>
<script type=”text/javascript” src=”<?php echo base_url(“assets/jquery-1.11.1.min.js”); ?>”></script>
<script type=”text/javascript” src=”<?php echo base_url(“assets/js/bootstrap.min.js”); ?>”></script>
<script type=”text/javascript” src=”<?php echo base_url(“assets/js/bootstrap-typeahead.min.js”); ?>”></script>

/*
* Here is your input box for hotels search
*/

<input id=”manufacturer_typeahead” type=”text” class=”col-md-12 form-control” placeholder=”Search cities…” autocomplete=”off” />

/*
* Then use this jquery to add data to this input box
*/


<script>
$(function (){
$(‘#manufacturer_typeahead’).typeahead({
source: <?php echo $manufacturers;?>
});
});
</script>

Rapido v1.1 Responsive Admin Dashboard Theme | FreezeTheme

Rapido v1.1 Responsive Admin Dashboard Theme | FreezeTheme

Free Download Rapido v1.1 Responsive Admin Dashboard Theme Nulled

Rapidois the tool designed by Clip-Theme to fulfil every possible need of those developing a completely responsive and “mobile first” web project. We are very well aware that you, as developer, need to concentrate on the functional features of a project, that is why, we would like to provide you the essential tools in order to…

View On WordPress

Text
Photo
Quote
Link
Chat
Audio
Video