jQuery Slide Menu – IE8 Objected Expected Error

Tuesday, April 27th, 2010

This post stems from using the jQuery Slide Menu system found over at the very cool Dynamic Drive website.  For the most part, this menu system works 98% spot-on out of the box.  But if you attempt to view this in IE8, you will definitely find that it does not work.

Spent a lot of time researching this very obscure error that Microsoft IE produces.  Some of you know it very well, it’s the oh-so-descriptive “Object Expected” error.  It kindly gives you a column/character reference, but its completely useless as it does not correlate with the actual line/column numbers in your actual file.  Here’s a screen grab for your viewing pleasure:

Object Expected Error IE8

Pleasing, isn’t it?  Let’s not stray away.  I really did search high-and-low on Google, and my ever-so-favorite Experts-Exchange, and various other nooks on the ‘Net and not a single page to help.

Alas, I’ve found the solution.  And as easy as it is, you’ll be kicking yourself for not having thought of this yourself sooner.

Part of the setup for the menus is to link to two JavaScript files.

Here they are as presented on Dynamic Drive’s page:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript" src="jqueryslidemenu.js"></script>

Easy enough right? Copy/Paste into the head of your document and your good-to-go.  Yes and no.  Yes it’ll work “as seen on” Dynamic Drive, but not in IE8.

Solution to Object Expected Error

Store jquery.min.js locally at the root of your site and make sure you update your script string:

FROM:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>

TO:

<script type="text/javascript" src="jquery.min.js"></script>

Upload both your files and refresh.

Hope this works for you as well as it did for me!

What Pipes? Yahoo Pipes!

Wednesday, April 21st, 2010

Yahoo Pipes

Yahoo Pipes is a powerful composition tool to aggregate, manipulate, and mash-up content from around the Web from Yahoo! The name of the service pays tribute to Unix pipes, which can make it easy to chain simple utilities together on the command line.

Talk about total control over data. This overwhelming, futuristic application is intimidating at first – but once you get a grip – hold on for an amazing ride.

The application works by enabling users to “pipe” information from different sources and then set up rules for how that content should be modified.

A typical example may be CNN through Google Images, a pipe which takes CNN’s RSS feed and adds a photo from Google Images based on the keywords of each item.

Pipe Building

You make a Pipe by dragging pre-configured modules onto a canvas and wiring them together in the Pipes Editor.

Sharing a Pipe

Once you’ve built a Pipe, you’ll be able save it on Yahoo’s server and then call it like you would any other feed. Pipes offers output in RSS 2.0, RSS 1.0 (RDF), JSON and Atom formats for maximum flexibility. You can also choose to publish your Pipe and share it with the world, allowing other users to clone it, add their own improvements, or use it as a sub-component in their own creations.

I’ve recently set-up my own pipe, to merge my blogs into one seamless feed. I then tied that RSS feed, into my Facebook page.  This allows me to bypass Facebook’s single feed dilemma.

RSS Mash-up, Ka-pow!

Monday, February 8th, 2010

If you’re anything like me, a Geek, you probably have more than 1 RSS feed and multiple outlets that you would potentially LIKE to display them in. But most of these outlets (think: Facebook, Twitter, your Blog, etc…) pin you down to just 1 feed.

Allow me to introduce you to ChimpFeedr: enter a bunch of RSS feeds into ChimpFeedr, and they’ll mash ‘em up into one master RSS feed. Then, maybe you can use that master feed for your social outlets!

Very cool.