June

30th

2007

Sleeplessness leads to jQuery?

I couldn't sleep last night, having taken a nap in the early evening (oops) and so while chatting with Crimson I started to play around with jQuery. It started with finding a really nice Suckerfish implementation [[Superfish]] and then implementing in the Tooltips [[jQuery Tooltips]] as I had in the old site - something that a friend had privately complained about missing.

I've also modified the Writing page to use idTabs [[idTabs]]. Purty neat.

I had some trouble with jQuery - quite honestly, I failed to grok it right away. Crimson helped a lot with explaining how it worked and tied together and I was able to get things going with a little frustration[[Seemed like a lot at the time!]]. I "get" it now - and am playing around with it some. Anyway, now I have a nicer menu that has some nice effects and seems to work better x-browser, and my tooltips are back. I think I'll have to dig into this some more, too.

I want to learn PHP more than I want to learn JS and jQuery - but implementing some neat things that are already available is something I may play with in the next few days.


 
 
 
Lisa's avatar

Boo for the writing page tabs failing in Safari 3 and probably 2.


But I’m sure there’s something in a shade of grey…
Something in between…

 
 

Hi Lisa, just dropped by to say thanks for using Superfish and I’m so happy that you are enjoying jQuery. You have a cool site here. While I’m here, here’s a tip for getting rid of a slight bug in the CSS for your first level of submenus. Adding an explicit width to .nav li ul (I found that 9.8em works for me via Firebug) will keep the submenu at the correct width throughout the animation so it doesn’t then snap out to the correct length afterwards. Something similar should fix the next level of submenu too. Cheers!

 
 
Lisa's avatar

Hey, Joel - that rocks. Thank you!


But I’m sure there’s something in a shade of grey…
Something in between…

 




Please note that if you are logged out, your comment will go into a moderation queue for approval. Logging in before commenting will mean that your comments go live immediately.

Remember my personal information

Notify me of follow-up comments?

Please enter the word you see in the image below:


 

Tags

dem, jquery, js, learning, php

Members



Stay logged in?

Sections

Subscribe RSS   Powered by Flickr - View my Album! Flickr