IMPORTANT!

Snipt is going open source. We've toyed with this idea for quite a while, and have finally decided it's the right way to move forward.

A few things:
  • The entire Snipt source code will be released on GitHub under the 3-clause BSD License on Friday, September 10th.
  • While we'd like to think we're perfect, we realize we're only human. By open sourcing the software that runs this website, certain bugs or security flaws may be discovered that could compromise the privacy of your snipts.
  • Only the Lion Burger team will be able to push commits to the Snipt.net site. Contributors should send a pull request to add new features or submit patches.
  • By using this site, you agree not to be too angry or take any legal action against Lion Burger should this whole thing go up in flames some day.
  • Follow us on Twitter for updates.
I agree, close this message
Sign up to create your own snipts, or login.

Latest 100 public snipts » ie The latest public ie snipts.

showing 1-20 of 41 snipts for ie
  • CSS Gradients in IE
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#233e8b', EndColorStr='#0f1d53'); /* IE6,IE7 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#233e8b', EndColorStr='#0f1d53')"; /* IE8 */
    

    copy | embed

    0 comments - tagged in  posted by Jonic on Jun 28, 2010 at 11:31 a.m. EDT
  • Detectar version de IE con PHP
    <?php
    	$version = $_SERVER["HTTP_USER_AGENT"];
    	echo $texto_cortado = substr($version,30,3);
    ?>
    

    copy | embed

    0 comments - tagged in  posted by rmondragon on Jun 04, 2010 at 12:58 p.m. EDT
  • Cufón IE bugfix
    <script type="text/javascript"> Cufon.now(); </script>
    

    copy | embed

    0 comments - tagged in  posted by jpcbarros on Apr 23, 2010 at 1:30 a.m. EDT
  • html5 for ie
    (function(){if(!/*@cc_on!@*/0)return;var e = "abbr,article,aside,audio,bb,canvas,datagrid,datalist,details,dialog,eventsource,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,time,video".split(','),i=e.length;while(i--){document.createElement(e[i])}})()
    

    copy | embed

    0 comments - tagged in  posted by frontendcoder on Apr 14, 2010 at 5:37 p.m. EDT
  • jQuery Fix z-index IE bug
      $(function() {
    	var zIndexNumber = 1000;
    	$('div').each(function() {
    		$(this).css('zIndex', zIndexNumber);
    		zIndexNumber -= 10;
    	});
    });
    

    copy | embed

    0 comments - tagged in  posted by letitia19 on Mar 23, 2010 at 4:55 a.m. EDT
  • Make IE resize images smoothly
    img {-ms-interpolation-mode:bicubic;}
    

    copy | embed

    0 comments - tagged in  posted by nell on Jan 27, 2010 at 3:47 p.m. EST
  • IE Bugs
    The Internet Explorer Guillotine Bug
    The IE5/6 Doubled Float-Margin Bug
    IE7 Bottom Margin Bug
    The IE Escaping Floats Bug
    The IE6 Peekaboo Bug
    The IE6 Ghost Text Bug
    The IE6 Expanding Box Problem
    The IE6 3-pixel Gap
    

    copy | embed

    0 comments - tagged in  posted by paz on Dec 26, 2009 at 1:42 p.m. EST
  • Easy css hacks using SASS
    //Easy CSS Hacks using SASS
    // In most cases, you'll never need the 3rd, or 4th hacks here.
    
    #idtag
    	* html &
    		//IE6 and below
    		cssstyle: value
    	* first-child+html &
    		//IE7 only
    		cssstyle: value
    	html>body &
    		//IE7,IE8, and modern browsers
    		cssstyle: value
    	html:first-child &
    		//Opera only 9 and below
    		cssstyle: value
    	
    

    copy | embed

    2 comments - tagged in  posted by catcubed on Dec 02, 2009 at 3:39 p.m. EST
  • Browser/Engine specific styles
    -moz-border-top: 5px
    -webkit-border-top: 5px
    -k8-border-top: 5px
    -khtml-border-top: 5px
    

    copy | embed

    0 comments - tagged in  posted by paz on Nov 15, 2009 at 3:40 p.m. EST
  • Remove IE image toolbar
    <meta http-equiv="imagetoolbar" content="no" />
    

    copy | embed

    0 comments - tagged in  posted by siggiarni on Nov 09, 2009 at 11:36 a.m. EST
  • Use conditional comments to HIDE something from IE
    <!-- Use conditional comments to HIDE something from IE -->
    
    <!--[if !IE]>-->
    Do something here, IE will ignore this, other browsers parse it just fine
    <!--<![endif]-->
    

    copy | embed

    0 comments - tagged in  posted by fevangelou on Oct 11, 2009 at 9:16 p.m. EDT
  • ChromeFrame toggle
     <meta http-equiv="X-UA-Compatible" content="chrome=1">
    

    copy | embed

    0 comments - tagged in  posted by jmakeig on Sep 22, 2009 at 10:41 p.m. EDT
  • CSS Cross Browser Transparency
    .yourClass {
    
    filter:alpha(opacity=50);/*Needed for IE*/
    
    -moz-opacity:0.5;/*Older mozilla broswers like NN*/
    
    -khtml-opacity: 0.5;/*Old versions of Safari and "KHTML" browser engines*/
    
    opacity: 0.5;/*FF, Safari, and Opera*/
    
    }
    

    copy | embed

    0 comments - tagged in  posted by paz on Sep 07, 2009 at 8:15 a.m. EDT
  • IE Double Float Margin Bugs
    .yourClass {
    float: left;
    width: 350px;
    margin: 20px 0 15px 100px;
    display: inline;
    }
    

    copy | embed

    0 comments - tagged in  posted by paz on Sep 07, 2009 at 8:13 a.m. EDT
  • using javascript to emulate target="_blank"
    (function ($) {
    	function handleExternalLink (e) {
    		var t	= e.target;
    		// the target may not be an 'a' tag, so we climb the dom to find a link
    		while (t && t.tagName.toLowerCase() !== 'a') {
    			t = t.parentNode;
    		}
    		// no target?, target doesn't have a 'ext' class?, or 'external' role set?
    		if (!t ||
    			!($(t).hasClass('ext') ||
    			$(t).attr('rel').indexOf('external'))
    		) {
    			return;
    		}
    
    		if (!$.browser.msie) {
    			// If this isn't IE 6, use native browser functionality
    			$(t).attr('target', '_blank');
    		} else {
    			// otherwise, do it for 'em
    			window.open( t.href, (new Date()).getTime(), [
    			// array joining is faster than string concatenation
    				['height=', document.body.clientHeight].join(''),
    				['width=', document.body.clientWidth].join(''),
    				'top=0',
    				'left=0',
    				'scollbars=yes',
    				'resizeable=yes',
    				'status=yes',
    				'titlebar=yes',
    				'toolbar=yes'
    			].join(',') );
    			e.preventDefault();
    		}
    	}
    	// We watch the document container for click events
    	// Our function above will handle those clicks
    	$('#content-contain').click( handleExternalLink );
    
    }(jQuery))
    

    copy | embed

    0 comments - tagged in  posted by ritcheyer on Sep 04, 2009 at 12:56 p.m. EDT
  • IE z-index stacking issues
    // courtesy of Matthias Buehl
    $(document).ready(function() {
      
        if ($.browser.msie) {
        
    	    var zIndexNumber = 1000;
      	  
    	    $('div').each(function() {
    		    $(this).css('zIndex', zIndexNumber);
    		    zIndexNumber--;
    	    });
      	 
    	 } 
    	  
      });
    

    copy | embed

    0 comments - tagged in  posted by ritcheyer on Sep 04, 2009 at 11:41 a.m. EDT
  • Inline-block for IE6/IE7
    .element {zoom:1; display:inline;}
    

    copy | embed

    2 comments - tagged in  posted by nell on Aug 28, 2009 at 1:57 p.m. EDT
  • IE7 compatibility tag for IE8
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    

    copy | embed

    0 comments - tagged in  posted by siggiarni on Aug 25, 2009 at 9:33 a.m. EDT
  • IE default view
    <!--[if IE 6]>
    	<style>
    		body {display: none;}
    	</style>
    <![endif]-->
    

    copy | embed

    2 comments - tagged in  posted by Sulcalibur on Aug 06, 2009 at 8:42 a.m. EDT
  • IE6 Server Side Workaround
    dim userAgent
    dim killIE
    
    userAgent = request.ServerVariables("HTTP_USER_AGENT")
    killIE = instr(1, userAgent, "MSIE 6.0", 1)
    
    if ((killIE <> "") OR (killIE <> 0)) then
       <Code to execute if not IE6 goes here>
    end if
    

    copy | embed

    0 comments - tagged in  posted by mcroyle on Jul 29, 2009 at 3:30 p.m. EDT
Sign up to create your own snipts, or login.