Geek Blog Post – Get Fancybox to work after Ajax update

May 23rd, 2010

I usually don’t go super geeky and post related to programming I usually only post major site updates, but I feel I need to post this javascipt code post. Warning, this post goes into super geeks mode starting now.

I’ve been searching to fix a bug in a site that I am developing. It a bug where if you load content using ajax that contains a fancybox link, you can not load the fancybox because fancybox is executed when the page and DOM where originally loaded. You need to find a method to reload fancybox. I’ve tried live and livequery, but after a few hours of fighting they would not work. After an intense google battle I came across this blog post:

http://alex.mamchenkov.net/2010/05/21/jquery-fancybox-with-ajax/

This blog contains the solution that I was looking for. I’m going to post the solution here as well. I figure the most places this is posted, the more people will find it when they are looking for it:

$.getJSON(ajax_url,function(HTML) {

    // populate my DOM with some HTML here

    // make fancybox reinit
    setTimeout(
        function() {
            $("a.some_fancy_box_element_class").fancybox();
        },
        600
    );
});

I hope this helps someone.

Websites that make the life easier.

January 20th, 2010

This is a different blog post then I typically do, usually it some pictures of a recent event or some new updates to the site. This is simply put a list. Its a list of Websites/Web-based Apps that I use on a daily basis that make my life easier.

Gmail – Simple. The best email out there. No to mention the fact that it keeps out 99% of the spam that I receive.

Twitter – I’ve been using twitter for 565 Days now and while I am not most active at posting content to twitter I do read the tweets of those that I follow on a constant basis. Twitter is a vital for knowing what is happening in the real time. I’ve used it many time to find what what is happening around me. If you have never tried search.twitter.com you should. There is so much information out there its crazy

Delicious – I’ve had several computers over the years and with each new one I’ve lost all of the bookmarks that I make in a browser. I don’t know about you but I bookmark a ton of stuff, whether is be important coding tips, funny website, or what every. I bookmark it all. With delicious all of my bookmarks are kept online and are synced to each browser that I use. Now there is no need to worry about loosing my book marks.

Google Reader – I pretty much get all my news from google reader. I subscribe to a bunch of different blogs and its nice to but its nice to have all the information aggregated into one place.

Google Wave – The ship is still out on this one, but I’ve been using it more and more a lately. Most people seem to have a tough time describing what google wave is. Simply put, its a collaboration tool. The staff at Wrecked Started using it last issue and it seemed to help the process along. Google Wave still has a way to go, its got some weird bugs, but all in all its pretty sick. I’m looking forward to using it in the future.

Facebook – It seems like everyone is using facebook now. I think that it has finally overshadowed Myspace. I’m on Facebook a couple time of day seems what everyone is up to. Its amazing how it draws you in.

Dropbox – I wasn’t sure whether or not to put dropbox on my list. Its technically not a website, its more of a tool. Dropbox allows me to sync all my files across multiple computers and have a version online (Thats my justification for putting it in this list) that I can always access. There is no thinking involved. I edit a file, its uploaded automatically to the web and sent to my other computers. I don’t have to think about it. I love it.

Chartbeat - Chartbeat is a another great web based  tool to monitor web-traffic to a site in realtime. I use this constantly with Wrecked. This is almost always open so I can see what is happening on Wrecked. It allow to me to see what people are looking at, how many people, where they came from, and all the other good information that a person running a website wants to know. It also sends me alerts to spikes in traffic so that I know what content is becoming popular and how people are finding it on the internet.

Hulu – I don’t know what I would do without Hulu. I watch probably 90% off all my TV on Hulu.

Thats it thats my list. Its not really that big, but its all web based stuff that I use everyday. I might add to this list as I add sites that I use everyday.. I’m not sure yet.

After writing this I find that I’m using more and more google apps then before, first just gmail, then last year I started using google reader, now this year google wave. (Google is also the voice mail client on my phone). I think they are taking over the world.

Wrecked Code Update!!!

January 27th, 2009

You might notice that yesterday some of the way wrecked looked changed slightly. You might ask why we took the time to make some small changes when there are other things to, well infact the change was a ton bigger than it appears, the whole site has been changed to be entirely CSS based. There are no more tables used for layout purposes and that reduced the code used to display pages by about half. This also means that the site is now about 95% xhtml and css validated. Why all this valitdation and CSS stuff? We are planning some really cool stuff to be implemented in the near future and CSS is a big part of that. CSS is way more friendly to dynamic pages and there is a lot of things you can do with it that our old layout would not have allowed to happen. If you notice any weird layout issues please let me know. I already know that there are a few out there and I’m trying to fix them. If you find anything leave me a comment. Look for cool things in the future….

Working on Wrecked Magazine

January 13th, 2009

Well, Issue 8 of Wrecked Magazine is up. I took this screen shot as I was putting together the files the Kevin sent over and preping them to gone online.

Ya, thats alot of windows.

Wrecked Magazine Video RSS (BETA)

November 20th, 2008

Over here at Wrecked we’ve gotten a lot of requests for a video rss feed so that people know the moment we post new videos. For the last few days I’ve been working on the Wrecked Magazine Video RSS functions. I thought that I would post a few of the rss links here before rolling them out live on the site. You can subscribe to the feed using a client.

The main video rss feed:
http://www.wreckedmagazine.com/videofeed/

The video feed for the Formula D Channel:
http://www.wreckedmagazine.com/videofeed/formula-d

International Channel:
http://www.wreckedmagazine.com/videofeed/international

Drift Alliance Channel:
http://www.wreckedmagazine.com/videofeed/drift-alliance

We’ll see how these work out and if there are no problems they should roll over to the site in a few days… Please let me know if you run into any problems with the feeds so I can make sure that are working properly.

Read the new issue of Wrecked Magazine

Subscribe to Wrecked Magazine Issue for Free

Be the first to receive links to read the latest issue of Wrecked Magazine before the public. Just enter your e-mail to get the newest Drifting content first!

Enter your e-mail:

Media Partners



Add Wrecked Magazine Here






footer