Posts Tagged ‘Books’

Advanced Scriplaculous Sortable Demo Fix

Monday, April 20th, 2009

Heh.

There is a good example of using nested Scriplaculous Sortables. With one little flaw – Scriplaculous ver 1.6.x is used, and when you try to execute the code with newer version of library – sections.each is not a function error pops up.

Here is the way to fix it – you’ll probably need it if you want to save the results :-D

Just replace “document.getElementsByClassName(‘section’);” to “$$(‘.section’);”

Before

function getGroupOrder() {
	var sections = document.getElementsByClassName('section');
	var alerttext = '';
	sections.each(function(section) {
		var sectionID = section.id;
		var order = Sortable.serialize(sectionID);
		alerttext += sectionID + ': ' + Sortable.sequence(section) + '\n';
	});
	alert(alerttext);
	return false;
}

After

function getGroupOrder() {
	var sections = $$('.section');
	var alerttext = '';
	sections.each(function(section) {
		var sectionID = section.id;
		var order = Sortable.serialize(sectionID);
		alerttext += sectionID + ': ' + Sortable.sequence(section) + '\n';
	});
	alert(alerttext);
	return false;
}

Then modify it for your needs and go on )

What was that?
Quote:

As of Prototype 1.6, document.getElementsByClassName has been deprecated since native implementations return a NodeList rather than an Array.

Popularity: 31% [?]

3D cover design in two clicks

Tuesday, August 14th, 2007

Look at this:

3D cover design in two clicks 3D cover design in two clicks 3D cover design in two clicks 3D cover design in two clicks

It’s all virtual. And this is not a professional’s work. Those beautiful product boxes, books, and even DVDs – just in two clicks from you.

This is all a Box Shot 3D software, and it’ll cost a fifty if you want to remove watermarks from shareware version.

Some blah-blahs from official site:

Box Shot 3D is a virtual cover renderer based on ray tracing algorithms. What does this mean? Simply put, the box shots you create will look very realistic. This attractive display is often the deciding factor for purchasing products.

Because of high rendering technology, Box Shot 3D’s rendering is so life-like, customers may think they are seeing the actual product photo. Visit here for more details.

Please look at our product comparison here and judge for yourself the best, most economical and efficient method of creating your perfect product box shot.

This program worth a fifty. Of course you can spent this fifty it for a couple of good 3D design books, and then you can find a good freeware 3D editor, and learn how to use it, and then you’ll be able to render your product box shots! Or, as another way, you can pay a fifty to professional. He’ll do a work for you. One time.

Resume: try it, buy it, use it! My mark: 10 of 10 possible!

Popularity: 54% [?]


Switch to our mobile site