Quantcast
Channel: TrickyclicksTrickyclicks | Trickyclicks
Browsing latest articles
Browse All 11 View Live

JQuery highlight column & row of table using delegate.

JQuery highlight column & row of table using delegate. $("#table").delegate('td','mouseover mouseleave', function(e) { if (e.type == 'mouseover') { $(this).parent().addClass("current");...

View Article



Difference between jQuery live() and delegate()

Live() vs. Delegate() both are use to attached event to current element and future elements which we append after DOM loaded e.g. we load some table rows using ajax. but still they have difference… let...

View Article

Disable submit button using live after form submitted

using live for form submit $("form").live("submit", function() { $('input:submit').attr("disabled", "disabled"); $('input:submit').addClass("disabled"); }); this code is to disabled the button and add...

View Article

5 Rules for a Creative Culture: MailChimp Grants Employees “Permission To Be...

Ben Chestnut, founder of MailChimp shares his views on what it takes to create a creative environment: Avoid rules. Avoid order. Don’t just embrace chaos, but create a little bit of it. Constant...

View Article

Image may be NSFW.
Clik here to view.

Text-indent IE7, IE8 Fix

SASS code .icon text-indent: -9999px float: left display: block font-size: 0 line-height: 0 overflow: hidden Font size to 0, line height to 0 then element should be block, overflow hidden…. works on...

View Article


Image may be NSFW.
Clik here to view.

Negative Margin for IE7 & IE8

Last tip was to fix the bug related to negative margin for IE…. use of zoom: 1 but today i faced another problem with negative margin its hide the div…. Here is trick use zoom:1, position: relative...

View Article

Using formtastic, Chrome form validation tooltip

HTML5 Interactive Form Validation Chrome Chrome automatic validate the “url” and “email”….. at front end. A small tooltip in red appeared. which is annoying because we don;t know where its coming from....

View Article

Strategies for startups

Brief collection of strategies that you can use to generate new ideas for startups: Repurpose Take a service or approach applied to one market, and apply it to another. Examples: Chill (Turntable.fm),...

View Article


Transparency Mixin SASS for All Browsers

Transparency Mixin =opacity(!opacity) opacity: !opacity /* for All Good browsers */ -moz-opacity: !opacity /* for Mozilla & Netscape */ -khtml-opacity: !opacity /* for Safari & Webkit */...

View Article


Test Difference between is(), hasClass() & $()

http://jsperf.com/diff-between-is-hasclass-class Test Difference between is(), hasClass() & $() Best is $()

View Article
Browsing latest articles
Browse All 11 View Live


Latest Images