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 » banner The latest public banner snipts.

showing 1-6 of 6 snipts for banner
  • Flash as3 clickTag solution
    public function handleClick(mouseEvent:MouseEvent):void {
    	var interactiveObject:InteractiveObject = mouseEvent.target as InteractiveObject;
    	var li:LoaderInfo = LoaderInfo(interactiveObject.root.loaderInfo);
    	var url:String;
    	for (var i:String in li.parameters) {
    		if (i.toLowerCase() == "clicktag") {
    			url = li.parameters[ i ];
    		}
    	}
    	if (url) {
    		if (ExternalInterface.available) {
    			ExternalInterface.call('window.open',url);
    		}else {
    			navigateToURL(new URLRequest(url),"_blank");
    		}
    	}else {
    		if(ExternalInterface.available) ExternalInterface.call('console.log', "ClickTAG: Couldn't find a valid clicktag variable");
    	}
    }
    myButton.addEventListener(MouseEvent.CLICK,handleClick);
    

    copy | embed

    0 comments - tagged in  posted by corbanb on Feb 08, 2010 at 3:59 p.m. EST
  • #140conf 468x60 Banner
    <!-- #140conf LA Meetup banner code begin -->
    <!-- 468x60 Banner -->
    <div align="center"><a href="http://www.meetup.com/140conf/calendar/11868810/" target="_blank"><img src="http://makeitwork.com/images/140conf/468x60.jpg" border="0" width="468" height="60" alt="#140conf LA Meetup: December 14th, Register Now!"></a></div>
    <!-- #140conf LA Meetup banner code end -->
    

    copy | embed

    0 comments - tagged in  posted by jeremyanticouni on Dec 01, 2009 at 4:10 p.m. EST
  • #140conf 160x600 Banner
    <!-- #140conf LA Meetup banner code begin -->
    <!-- 160x600 Banner -->
    <div align="center"><a href="http://www.meetup.com/140conf/calendar/11868810/" target="_blank"><img src="http://makeitwork.com/images/140conf/160x600.jpg" border="0" width="160" height="600" alt="#140conf LA Meetup: December 14th, Register Now!"></a></div>
    <!-- #140conf LA Meetup banner code end -->
    

    copy | embed

    0 comments - tagged in  posted by jeremyanticouni on Dec 01, 2009 at 4:10 p.m. EST
  • #140conf 125x125 Banner
    <!-- #140conf LA Meetup banner code begin -->
    <!-- 125x125 Banner -->
    <div align="center"><a href="http://www.meetup.com/140conf/calendar/11868810/" target="_blank"><img src="http://makeitwork.com/images/140conf/125x125.jpg" border="0" width="125" height="125" alt="#140conf LA Meetup: December 14th, Register Now!"></a></div>
    <!-- #140conf LA Meetup banner code end -->
    

    copy | embed

    0 comments - tagged in  posted by jeremyanticouni on Dec 01, 2009 at 4:05 p.m. EST
  • #140conf 120x240 Banner
    <!-- #140conf LA Meetup banner code begin -->
    <!-- 120x240 Banner -->
    <div align="center"><a href="http://www.meetup.com/140conf/calendar/11868810/" target="_blank"><img src="http://makeitwork.com/images/140conf/120x240.jpg" border="0" width="120" height="240" alt="#140conf LA Meetup: December 14th, Register Now!"></a></div>
    <!-- #140conf LA Meetup banner code end -->
    

    copy | embed

    0 comments - tagged in  posted by jeremyanticouni on Nov 30, 2009 at 8:39 p.m. EST
  • Show an autoupdating clock in the console
    #!/bin/bash
    
    while true
    do
      clear
      banner "Exact time" " `date | awk '{ print $4 }'`" "`date | awk '{ print $3$2" "$6 }'`"
      sleep 1
    done
    

    copy | embed

    0 comments - tagged in  posted by d1s4st3r on Apr 12, 2009 at 11:53 a.m. EDT
Sign up to create your own snipts, or login.