Archives for February 2008
You are currently browsing 4 article(s) published in February 2008, please try the search if you can't fint what you're looking for.
jQuery external link favicons plugin
Wednesday, February 27, 2008
Inspired by "the CSS Guy's" Hyperlink Cues with Favicons I created a jQuery plug-in that does the same.
What it does is appends favicon-images (if there is one, else a default image will be used) to all external links on the site.
It's mega-tiny (like 20 lines of code (less than a k unpacked) and you use it like:
$.favicons();
You can check it out in action here and get the code from my google code SVN repository .
Enjooooooy
- Comments are off
- Filed under Javascript, jQuery, Progressive Enhancement
Mogr - your mobile starting point
Thursday, February 21, 2008

I just released a beta of my latest project, Mogr ('Mo' is for mobile, 'g' is for google and the 'r' adds to the web 2.0:iness and stands for RSS:) also, Mog is a creature from Final Fantasy).
Mogr is meant to be your mobile starting point and is very simply a list of your favourite feeds packaged in a neat interface that should fit your mobile phone nicely.
There's also a search-bar that lets you query your favourite search-engine.
Feeds are cached for an hour and site-favicons are cached forever (well, till i manually clear the file). All information you save on the site (your feeds, search-engine and other various settings) are stored in a cookie so there's no need for any sign-up.
Simply surf over to mogr.pixlperfik.com and add your feeds.
Suggestions or feedback? Please use the comments
jQuery Image Zoom Plug-in
Monday, February 11, 2008
Inspired by Cabel Sasser's FancyZoom I created my own version for jQuery.
It's pretty much the same only I skipped the shadows for incapable browsers (completely relying on box-shadow) but in contrast it's only about 90 lines of code (compared to a whoppin 761+318 that is FancyZoom), and it hopefully won't mess with your other JS as it's all wrapped in the jQuery-object and doesn't use any global vars. Imgzoom also validates in JSLint, so compression isn't be a problem (around 1k compressed).
Instead of the typical $('selector').plugIn()-jquery-plugin this one is run through $.imgzoom(); and, like imgbox and FancyZoom, applies to all links that points to images.
You can not, however, avoid zooming images using the rel-attribute, as you can with FancyZoom, and imgzoom does not group images or add any type of navigation the way imgbox does.
Imgzoom uses event bubbling rather than "hard-coded" events on anchors. This way dynamically inserted images (ajax or not) will also open in the imgzoom plug-in.
Have a look at the example-page and get the source here. Imgzoom requires the dimensions plug-in for jQuery.
The default styling for imgzoom can be found here and you'll need this icon as well:
![]()
Enjoy!
- Comments are off
- Filed under Javascript, jQuery, Progressive Enhancement
Some news
Thursday, February 07, 2008
Sorry it's been so quiet around here. I've been busy working on my framework, building a very simple blog on top of my framework, building some other freelance sites, trying to get all my projects set up on SVN so I can more easily work on them etc.
It's been kind of hectic.
I'm almost finished with the base of the framework (although I always work on it if I work on a project built on top of it) and am now in the process of setting up Google code projects for both my simple blog (aSimpleBlog) and my normal blog (aBlog) (pretty much what I use one exscale.se).
I've looked into using svn:externals so I can always use my framework (aFramework) as base for both projects, and should I change something in either of them (or the framework itself) every project will receive the update.
Right now I'm just a little too busy but in a month or so.
I've set up a website for my luvely lass Agnes, check it out at AgnesEkman.com. It runs on aSimpleBlog and scores about 80/100 on yslow (something I've really put work into this time around).
My work-mate (at least for another few weeks) Simon Jobling (aka one phat mo-fo DJ!) just set up SixNationsKickOff.com which "lets you keep track of the RBS 6 Nations rugby tournament by downloading all the fixtures for the competition into your personal organiser".
Good stuff.
I said "at least for another few weeks" because I've decided to leave Yahoo! and go back to my roots in Sweden and work for my previous employer, Web Guide Partner, again.
Yahoo has been a blast and I've met so many talented and cool people but one mustn't get stuck in the same place for too long so off we go again.
That's it for now. Once I get everything organized I'll hopefully have aFramework, aBlog and aSimpleBlog set up on Google code ready for download. I should also have moved to andreaslagerkvist.com by then. Exscale is starting to feel more and more dated every day. I'll be re-organizing articles and I may set up all my jQuery-plug-ins as a project by itself, not bundled with aFramework.
Aaaaaaanyway, loads to do, must get to it.
Laters!
- Comments are off
- Filed under Site News





