22. September 2009 by Mads
Yes sorry, this isn’t Silverlight related at all, but it’s still nice to know, so I thought I would share. I am currently doing a website that uses a “fancy” menu with a lot of jQuery. It were all working fine, until I added Lightbox2. Well, the product it self is working fine and is actually very nice, but when used together with jQuery, at least the combination of the versions I were using of both, it causes problems – “Error: 'null' is null or not an object”. To make a long story short, I found the problem. A script that comes from the lightbox2 overwrites the jQuery “$” sign, which isn’t good and makes this error appear. Luckily there is a very easy fix for this. Replace “$()” with “jQuery()” – and now your running again, at least I were. Hope this helps you too. - Enjoy!
20. December 2008 by Mads
Today I saw this blog post over at Nikhil K's blog about a "jquery-like" framework for Silverlight to help developers build professional UI. Actually this "jquery-like" framework is an extension for the Silverlight.FX, which is created by Nikhil K. The "jQuery-like" framework is build by Daniel Crenna. Here is some code from the sample that comes with the release. // Slide Script Animator.WithNew(horzSlideContainer) .WithEasing(EffectEasing.QuadraticInOut) .Slide(SlideMode.Left) .For(1.Seconds()) .Play(); The code above "slides" this grid, defined in XAML. <Grid x:Name="horzSlideContainer"> <Image Source="/MS.net.png" /> <Image Source="/Silverlight.png" /> </Grid> If you want to know more about this, visit the blog listed below. You can also find download links for the release at the blogposts. Resources: Nikhil K's blogpost - Fluent Animations in Silverlight Daniel Crenna - Composing animations with Silverlight.FX Enjoy and happy coding :)