Posts Tagged ‘javascript’

Dynamically Calling Fancybox from Javascript

Fancybox is a really nice jQuery library for creating lightboxes.  There are a few simple examples and some documentation on their site but there seems to be no demonstrated method for loading a fancybox dynamically with javascript.  All of their examples require you to embed a link to the lightbox content somewhere in the page [...]

Continue reading »

Find RSS Feed Links With jQuery

This took me a little while to figure out so I thought I’d share. You can use a jQuery selector to find any RSS links on a page very easily. The following line will return a list of the RSS link elements. The following snippet will create an array of all the urls to the [...]

Continue reading »

Google AJAX Feed API Example with Socialbrowse

Today I learned that Google has a really awesome AJAX API for RSS and Atom feeds. It allows you to access RSS or Atom feeds using JavaScript in both JSON and XML format without having to setup your own proxy or deal with anything on the server side. They have a lot of great examples, [...]

Continue reading »

TicTacToe in jQuery

As a demo application for a project of mine I wrote TicTacToe in Javascript using the jQuery framework. I’ve added excessive comments to the code to provide an easy walk-through example on the jQuery/Javascript game. I’m in no way a JavaScript expert, there are a hundred different ways to program TicTacToe, and this code is [...]

Continue reading »

Proportional Image Resize in JavaScript

Socialbrowse currently shows summaries of shared links that have an ATOM or RSS feed.  The feeds come with images of all sizes and we have to change the height and width to fit within the alloted space.  CSS has max-width and max-height parameters but they have issues in IE and they don’t keep original proportions [...]

Continue reading »

Follow

Get every new post delivered to your Inbox.