This file contains 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
<!-- | |
For http://v2ex.com/t/36683 | |
DEMO: http://jsfiddle.net/jST5v/ | |
by Romoo | |
--> | |
<style type="text/css"> | |
p{ | |
position: relative; | |
overflow: hidden; | |
width: 320px; |
This file contains 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
/* | |
Source:http://css-tricks.com/snippets/jquery/fixing-ie-z-index/ | |
*/ | |
$(function() { | |
var zIndexNumber = 1000; | |
// Put your target element(s) in the selector below! | |
$("div").each(function() { | |
$(this).css('zIndex', zIndexNumber); | |
zIndexNumber -= 10; | |
}); |
This file contains 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
<snippet> | |
<!-- put this file in /packages/User/<Folder Name>/console_log.sublime-snippet then restart your Sublime Text 2 --> | |
<content><![CDATA[console.log($1);$0]]></content> | |
<tabTrigger>conl</tabTrigger> | |
<scope>text.html,source.js</scope> | |
<description>console.log()</description> | |
</snippet> | |
<snippet> | |
<!-- put this in another file /packages/User/<Folder Name>/console_dir.sublime-snippet then restart your Sublime Text 2 --> |
This file contains 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
chrome.tabs.create({ url: "http://www.google.com", selected:false }); |