I just looked for popup image viewer, and I find that Amazon image viewer example will be very close to my needs. Here is Amazon page:
and Viewer code:
The viewer code contains a lot of extra code which, probably is not related to image viewer itself but related to other amazon applications, so I just wanted just clean code from extra stuff, to make it more compact and clean. I get confused to define purpose of some parts of code. Could someone help and specify exact parts of code that not related to viewer itself, so can be removed? Just comment unnecessary code blocks.
and Viewer code:
http://www.amazon.co.uk/gp/product/images/B000TER4HO/ref=dp_otherviews_1?ie=UTF8&s=electronics&img=1
The viewer code contains a lot of extra code which, probably is not related to image viewer itself but related to other amazon applications, so I just wanted just clean code from extra stuff, to make it more compact and clean. I get confused to define purpose of some parts of code. Could someone help and specify exact parts of code that not related to viewer itself, so can be removed? Just comment unnecessary code blocks.