This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| selector { | |
| opacity: .75; /* Standard: FF gt 1.5, Opera, Safari */ | |
| filter: alpha(opacity=75); /* IE lt 8 */ | |
| -ms-filter: "alpha(opacity=75)"; /* IE 8 */ | |
| -khtml-opacity: .75; /* Safari 1.x */ | |
| -moz-opacity: .75; /* FF lt 1.5, Netscape */ | |
| } | |
| /* Source: http://snipplr.com/view/10094/crossbrowser-opacity/ */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (?x) | |
| \b | |
| ( # Capture 1: entire matched URL | |
| (?: | |
| [\w-]+: # URL protocol and colon | |
| (?: | |
| /{1,3} # 1-3 slashes | |
| | # or | |
| [[:alpha:][:digit:]] # Single letter or digit | |
| # (Try not to match, say "URI::Escape") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Assuming use of http://code.google.com/p/twitterjs/ for publishing to your website, and | |
| // http://apps.facebook.com/selectivetwitter/ for publishing to Facebook | |
| function fbRemove() { | |
| $('#tweet li').each(function() { | |
| var el = $(this); | |
| el.html(el.html().replace(/\s*#.*fb<\/a>/ig, '')); | |
| }); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // http://johannburkard.de/blog/programming/javascript/6-quick-jquery-tips-text-manipulation-timers-and-elements.html | |
| // The simple way – using regular expressions: | |
| var el = $('#id'); | |
| el.html(el.html().replace(/word/ig, "")); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| select * from html where url ="http://uk.movies.yahoo.com/cinemas/index.html?mid=&cid=3266&sp=mov&zip=me13er" and xpath="//div[@class='cintbl']/table[@class='timetable']" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Incrementer | |
| $(document).ready(function() { | |
| val = $('#episode').val(); | |
| $('#minus').click(function() { | |
| if (val>0) { | |
| $('#episode').attr('value', --val); | |
| console.log(val); | |
| } else if (val=0) { |
NewerOlder