FancyZoom startup example

FancyZoom is a nice image lightbox plugin. Here is the simplest way to use it.

First you should have a way to initialize it when DOM is loaded , here we use addDOMLoadEvent introduced in Compatible Javascript code addDOMLoadEvent . Its better than old IE's load event.

Compatible Javascript code addDOMLoadEvent

I come across a piece of Javascript code like this one:

Its packed, but then I found the unpacked and improved version:

An Simple Example Help You Understand STL

This example comes from the book of "Addison-Wesley, Designing Components with the C++ STL, Electronic 3rd Edition.pdf". Its a simple list implements an iterator in the class.

Look at each function carefully and get a clear idea of the mechnnism you will understand the core of the STL.

Hello World!

This is the first post . Welcome to the site
Previous Page 1 ... 69 70