Skip to main content

Lindsay Donaghe's Library tagged codesnippets   View Popular

06 Nov 08

Information on Border Slants

Tutorial demo on how to make containers on web pages that are shaped like triangles and other polygons with regular and irregular straight edges using no graphics. This is an exploit of how browsers render borders to produce straight angles. Cool technique.

infimum.dk/slantinfo.html - Preview

css tutorials web design development codesnippets

01 Nov 08

Tripoli - a CSS standard for HTML rendering | DevKick Lab

A set of CSS standards for a generic cross-browser rendering of HTML 4 tags. It resets all elements and browser defaults so you can start with a standard base. Separates content from typographical layout and supports W3C standards. Also includes a demo generator with different 3 column/header/footer layouts.

devkick.com/tripoli - Preview

css html generator web development codesnippets downloads standards

20 Oct 08

jTemplates - template engine in JavaScript

A plugin for jQuery that makes client side dynamic content templates. Kind of like PHP on the client-side. Great for making repeating content such as displaying an RSS feed pulled from an Ajax call. This is going to come in handy for sure.

jtemplates.tpython.com - Preview

jquery plugins javascript ui web development downloads useful codesnippets

CSS Sprites2 Refactored: Building an Unobtrusive jQuery Plugin | Raleigh Web Design & Development | New Media Campaigns

An implementation of the CSS Sprites approach to elements with changing image states that is wrapped in a jQuery plugin. Allows you to choose the transition animation between the states which is a nice enhancement from the standard CSS only version.

www.newmediacampaigns.com/...g-an-unobtrusive-jquery-plugin - Preview

css javascript jquery plugin web development codesnippets downloads

» 20 jQuery Plugins for Unforgettable User Experience

Nice collection of various UI enhancements via jQuery plugins. Probably the most interesting are the background image switcher animation and the list box selection chaining plugins. The file tree and image cropping plugins seem useful as well.

devsnippets.com/...rgettable-user-experience.html - Preview

jquery javascript web development codesnippets plugins downloads

prettyCheckboxes - custom checkboxes / radio buttons - by Stephane Caron

jQuery plugin for masking regular check boxes and radio buttons with nice graphic versions that will appear the same across browsers/OSes.

www.no-margin-for-errors.com/...prettyCheckboxes - Preview

jquery javascript ui design web development codesnippets crossbrowser

30 Sep 08

Coding Horror: Cross-Site Request Forgeries and You

Explanation of and advice for handling common attacks through websites. Cross-Site Request Forgeries with a little bit of Cross-Site Scripting.

www.codinghorror.com/...001171.html - Preview

xss security csrf web development tutorials codesnippets

Why ASP.NET AJAX UpdatePanels are dangerous | Encosia

Good arguments against over-use of UpdatePanels and some sample script of how to replace their functionality with JSON calls.

encosia.com/...jax-updatepanels-are-dangerous - Preview

codesnippets asp.net ajax troubleshooting web development tutorials

  • <asp:ScriptManager ID="ScriptManager1" runat="server"
    EnablePageMethods="true" />
    <script language="javascript">
    function UpdateTime() {
    PageMethods.GetCurrentDate(OnSucceeded, OnFailed);
    }
     
    function OnSucceeded(result, userContext, methodName) {
    $get('Label1').innerHTML = result;
    }
     
    function OnFailed(error, userContext, methodName) {
    $get('Label1').innerHTML = "An error occured.";
    }
    </script>
    <asp:Label runat="server" ID="Label1" Text="Update Me!" /><br />
    <input type="button" id="Button2" value="Web Method Update"
    onclick="UpdateTime();" />
  • [WebMethod]
    public static string GetCurrentDate()
    {
    return DateTime.Now.ToLongDateString();
    }

Safari Developer FAQ

Looks like some of this is for the older versions of Safari but still helpful for those of us who don't use this beast very much.

developer.apple.com/...faq.html - Preview

safari web development faq troubleshooting tutorials codesnippets

23 Aug 08

exe installer for AIR runtime and program - ActionScript.org Forums

Code snippet that lets you add the ability to check whether Adobe Air runtime is installed on a Windows computer before installing your own app package. Requires that you get permission from Adobe to redistribute the runtime with your app first.

www.actionscript.org/...showthread.php3 - Preview

adobeair codesnippets tutorials configuration windows

29 Jul 08

textsnip - Keep your text & code formatting safe from IM and Email

A nice, simple, free service that lets you paste text and preserves it's formatting. Especially useful for sharing things like codesnippets (which it helpfully formats with line numbers and color coding). You can even customize a url for your snips.

textsnip.com - Preview

tools text sharing codesnippets development useful free web service

03 Jul 08

Make your own IM bot in Ruby, and interface it with your Rails app

A tutorial on how to make an IM bot with Ruby on Rails. Something to keep handy with all the stuff lately about Gnip and Identi.ca opening up some possibilities.

rubypond.com/...terface-it-with-your-rails-app - Preview

ruby im bot projects development ror rails tutorials codesnippets

12 Jun 08

SonSpring | Removing Dotted Links

How to get rid of those annoying dots around active links in FF and IE (for use with the text-indent method of image replacement).

sonspring.com/...removing-dotted-links - Preview

css troubleshooting web development codesnippets firefox ie

  • a:active
    {
    outline: none;
    }
  • :focus
    {
    -moz-outline-style: none;
    }
09 Jun 08

Finally, the alternative fix for IE6's memory leak is available

A solution for settimeout memory leaks in IE6 that utilizes the finally portion of a try/catch block.

www.hedgerwow.com/...ie6_memory_leak_fix - Preview

javascript ie troubleshooting memoryleak codesnippets

» 10 Examples of Beautiful CSS Typography and how they did it… - Web Design Marketing Podcast & Blog

Examples of CSS tweaks for use with the few standard fonts that are available on everyone's computers to create elegant typography for websites. Interesting uses of letter-spacing and line-height to dress up your limited font choices.

www.3point7designs.com/...typography-and-how-they-did-it - Preview

fonts typopgraphy css web design inspiration codesnippets typography

01 Jun 08

4 Ways to Enhance Your Blog With FriendFeed | Bwana.org

Tutorial on several ways to add FriendFeed integration to your blog including a couple of different ways to include the FriendFeed comments and how to use the API's rss feed features.

www.bwana.org/...ance-your-blog-with-friendfeed - Preview

friendfeed blogging tools plugins wordpress codesnippets

30 May 08

Remove Nested Patterns with One Line of JavaScript

A javascript snippet that uses a while loop and regex pattern to remove string that are nested in other strings in a single line. Seems like there might be other possibilities for this usage pattern. Nice discovery.

blog.stevenlevithan.com/...reverse-recursive-pattern - Preview

javascript regex codesnippets tutorials

  • var str = "abc<1<2<>3>4>def";

    while (str != (str = str.replace(/<[^<>]*>/g, "")));

    // str -> "abcdef"
  • var str = "abc(d(e())f)(gh)ijk()",
    re = /\([^()]*\)/,
    output = [],
    match, parts, last;

    while (match = re.exec(str)) {
    parts = match[0].split("\uFFFF");
    if (parts.length < 2)
    last = output.push(match[0]) - 1;
    else
    output[last] = parts[0] + output[last] + parts[1];
    str = str.replace(re, "\uFFFF");
    }

    // output -> ["(d(e())f)", "(gh)", "()"]
26 May 08

UFrame: goodness of UpdatePanel and IFRAME combined - Omar AL Zabir blog on ASP.NET Ajax and .NET 3.5

A replacement for UpdatePanel in ASP.Net that lets you basically create an iFrame in the HTML using a div instead so the page is able to interact with the parent page's DOM. An option for cross-domain page embedding as well. Worth playing with.

msmvps.com/...panel-and-iframe-combined.aspx - Preview

asp.net mvc libraries downloads codesnippets web development

1 - 20 of 194 Next › Last »
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo