Wednesday, November 25, 2009
The Lightbox + jQuery Problem
Category: Web Design | Added by Young
As I was designing this personal website on the WordPress engine, I decided to use the famous Lightbox to display my Portfolio page. I had used it for other sites before (not on the plugin basis) but to my dismay, it failed to work. I then installed the Lightbox 2 Plugin for WordPress, thinking that something in WordPress was screwing it up. It took me so long to find the answers, and I would like to present it here in the hopes of providing a more comprehensive and straightforward solution.
Many blogs out there will tell you that the first thing to check is whether you have wp_head() function in your header.php.
Including <?php wp_head(); ?> in your header.php lets WordPress scan for all the enabled plugins, generate the code for CSS and Javascript declarations needed to style them, and dynamically insert them. Lightbox CSS and JS files fall within its realm and it’s a good idea to check this.
So you can imagine my frustration when this didn’t solve the problem. After hours of internet research, I realized that jQuery, which I was using to systematically add styling to my list items, interferes with the Prototype-based JS files used by Lightbox. This can be easily fixed by adding a declaring a no-conflict variable and using it to call every function:
1 2 3 4 5 6 7
| var $j = jQuery.noConflict();
jQuery(function(){
$j("div.pages ul li").prepend("+ ");
$j("div.links ul li").prepend("+ ");
$j("div.archives ul li").prepend("+ ");
$j("div.categories ul li").prepend("+ ");
}); |
I hope this saved someone hours of Googling.
No Comments »
Monday, November 2, 2009
Mariscos El Veneno
Category: Food | Added by Young
Mariscos El Veneno is a Mexican seafood restaurant in Chicago’s Ukranian Village that will change your life. From what I understand, the name translates to something like “poison seafood,” and it may sound like a bad Mexican seafood joke, but the food here is nothing but spectacular. I have gone to this place maybe three times now, and it’s yet to disappoint me.
If you are thinking tacos and burritos when you hear Mexican food, the delicious seafood cooked in Nayarit style (which I had never heard of until I visited this restaurant) will blow your mind. There is a similar restaurant across the street with flashier exterior and more inviting parking lot, but I never found the reason to try that place. You can tell the restaurant’s integrity by its largely Hispanic customer-base. Mariscos El Veneno is a BYOB joint, and will provide ice buckets and uncork your wine free of charge. In fact, the first time I went I obliviously ordered beer; the waiter said “we’re BYOB” then proceeded to ask the people (in Spanish) at the table next to us whether I can have one of their beers. They said yes!
I cannot tell you how many times I wished I spoke Spanish, but it never kills me as much as when I start talking about MEV. I never can remember what these amazing dishes are called (other than the Cucaracha shrimp, not shown but tear-jerkingly good), but to the left is my absolute favorite. I usually just point at the picture on their menu – the braised collection of shrimp, oysters and the juiciest octopus you will ever sink your teeth into. The spices are melded together so well in the broth that it is impossible to single out one of them, but it really requires the willpower of a Buddhist monk to stop eating this, no matter how full you are. I usually overeat like it was Thanksgiving. Probably not great for my health.
On our last visit we decided to order something we had not had before – and the waitress recommended the fish to the right. With a mountain of crabmeat/cheese stuffing on top, it was deep-fried to perfection, succulent yet with a crispy batter.
A word of caution, however – do NOT liberally sprinkle that salsa on top of your free appetizer ceviche! The stuff packs some serious, serious heat. I’m Korean and can handle my fair share of heat, but that undiluted habanero salsa can destroy your mouth. I was lucky to have someone warn me about it before I dug into it, but it still nearly gave me an anaphylactic shock.
1 Comment »
Friday, October 30, 2009
Obsession
Category: Doodles | Added by Young

I’ve always been obsessed with drawing samurais. It might have to do with the fact that I have a black belt in Kendo, the ancient art of swordplay, though I have not touched a wooden sword in 10 years or so (that’s what she said). I just colored in the sketch I had from my months in Korea. I probably could have done better with the shading, but…I’m just learning to use the WACOM.
It’s Friday! Not that it really matters to me.
No Comments »