[jQuery] Smooth Text-based fisheye
I would like to make a smooth text-based fisheye list. I already am using a
image based one seen at my test site: http://britenews.blogsite.org/home
britenews.blogsite.org/home
As you can see there the text list is too pop-y. I would love for it to grow
as a function of distance of mouse to element,(li in this case). any ideas
on implementation or is there a easier method to do this?
just for referance this is how im currently doing it. Im SURE there is a
better smoother way.
function fishTextIn(inObj)
{
jQuery(inObj).contents().find(".taggedlink").css("font-size","30px");
jQuery(inObj).nextAll("li").contents().find(".taggedlink").css("font-size","14px");
jQuery(inObj).prevAll("li").contents().find(".taggedlink").css("font-size","14px");
jQuery(inObj).next("li").contents().find(".taggedlink").css("font-size","20px");
jQuery(inObj).prev("li").contents().find(".taggedlink").css("font-size","20px");
};
--
View this message in context: http://www.nabble.com/Smooth-Text-based-fisheye-tp17268045s27240p17268045.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.