black for a reason

Fix the advertlets

Friday, April 20, 2007

Nah, I don't fix advertlets by the meaning of fixing the advertlets. What I did was modify slightly of the jQuery just to make sure advertlets will work along with my other jQuery stuff in the template. If you follow my previous posting, you will know my solution was taken from david's recommendation whereby I redirect all the $ used to create effects to another name (to avoid conflict with prototype).

A simple technique of redirecting all variable in such, by using this statement:

JQ = $; //rename $ function

In my case, I put right after the line of code used to call jQuery scripts.

Mystery, solved :)



ps: If you wonder, how I removed the frame border? The simple variable name adv_iframe_border was obtained from zeo. Well, I'm just too lazy to read advertlets.js ;)



Previous Posts:
1. advertlets
2. updates on advertlets

Labels: ,




0 Comments (Post a Comment)

Creative Commons License