Advanced Scriplaculous Sortable Demo Fix

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: 15%

!T.O.O.H.!

March 1st, 2009

The Obliteration of Humanity.

The old band from Czech Republic, and the good one! And the dead one. They was banded in 1990 - and was disbanded in 2006 (I think so), what a mess. I’m really in grief for them. And damn the Earache!

Guys are: Humanoid, Schizoid, Wokis and Freedom. Here they are:

!T.O.O.H.!

And - !T.O.O.H.! homepage in English.

Their swansong - Ràd a Trest (Order & Punishment) is absolutely brilliant thing! Very, very distinctive sound, evil lyrics, just good musical material - and 36:41 of pleasure. One of the best albums ever for me now. Listen to it, first time sound looks strange somehow, but you’ll love it!

Note: pleasure guaranteed only if you’re in love with good old death metal ;)

Popularity: 22%

Ahsoka Tano (Star Wars: Clone Wars) Nude

January 17th, 2009

Seems like all the men thinking about same thing.
And here it is!
Ahsoka Tano Nude
Yeah, yeah. Ahsoka Tano porn e Ahsoka Tano nudo.

Star Wars: Clone Wars star Ahsoka Tano poses nude :-D
Catch it - most probably i’ll remove this picture later.

Popularity: 42%

Star Wars image experiment

January 17th, 2009

Now I’m ready to test something.
Someone can think that picture is offensive somehow - I assure you that is not.
At first, Ahsoka isn’t child, she seems so only next to Skywalker. At second she’s a freekin cartoon character - she have no age at all.

Popularity: 22%

Star Wars: Clone Wars

January 17th, 2009

Ashoka - Star Wars: Clone Wars
Yeah.
Finally I realized that Star Wars: Clone Wars now is not only theatrical movie, it’s a TV series ))

Yoda - Star Wars: Clone Wars
And yeah.
Just good for me. Maybe even better than Episode I.

Now I thinking about good old trick ;) - you’ll see it soon, just little experiment.

Popularity: 31%

Diablo Swing Orchestra 2009 album

January 4th, 2009

Diablo Swing Orchestra

Diabloswings must be in studio now. Maybe not just now - but in two months they have to…

“All in all, we can promise a more playful album with perhaps a little more aggressive-sounding songs. Some notes on the new songs are that we make more use of brass instruments than on the previous album. Some songs will also feature a male opera singer (we’ll reveal names later) and they will be sung in English, Russian, French and Italian.

“Details regarding studio and what label who will release the album is yet to be finalized but it will probably be sorted out during the upcoming month. Pre-production will continue during the autumn and we’ll hit the studio around January-February of 2009.”

Taken from here.

Shit, I’ll wait, cause it worth it!!

Popularity: 28%

WordPress Dashboard problem fix

January 3rd, 2009

WordPress 2.7 offsite webshot

Heh. I’ve got “dashboard problem” in admin area. For long. ))

Now it’s over.

When you see 404 page instead of your dashboard - and somethings like “admin.php?page=index.php” in your addressbar - you just need to go to your wp-content/plugins/ directory and rename index.php there to index.html

P.S. BTW WP2.7 adminpanel looks really great! Upgrade ASAP.

Popularity: 5%

Crisis Santa (?)

January 3rd, 2009
Crisis Santa

Were you good enough in 2k8 ??

Popularity: 13%

And else one BMG I Feel Love video

October 30th, 2008

Blue Man Group - I Feel Love

Instead of this one.
I love `em.

Popularity: 49%

Fixed BoxOver js library

May 28th, 2008

Hi there, my dear java-damned-script fans!

boxoverToday I used to find an strange bug in pretty little fine-looking-hints library, called BoxOver from here. As you know, for the chars ", [ and ] with this library you must use ", [[ and ]] to display… It works, but only once for brackets.

So, I tried to find a fix… None found. At the forum some guy gave an ugly fix with &rbr; and so on…

Shame on you guys, did you ever heard of regexp syntax? ;)

Here’s the BoxOver library with fixed [ and ] brackets display:

Download BoxOver 2.1a javascript library (28th May 2008)

BTW, when I tried to register on forum to post my fix - I can’t - because of captcha insult, and that’s why I posted it here.

Popularity: 69%

Cynic Reunited

May 11th, 2008

Cynic is one of my will-hear-till-death bands. And (as a lot of people) I thought they broken forever after their one-and-best Focus album.

But seems like nowdays dead walked to live.

I have they brilliant "Live in Norway at Hovefestivalen 2007" video from european tour - with new song and other funny stuff…

And I saw a lot of guys asking "Is anybody have a tracklist?".

Hell yeah, I made it for you guys. Here it is:

Cynic - Live at Hovefestivalen 2007

tracklisting as follows:

01 Intro 00:00-04:02  
02 Veil of Maya 04:02-09:25  
03 Celestial Voyage 09:47-13:27  
04 The Eagle Nature 13:51-17:35  
05 Sentiment 17:35-22:55 // extended
06 I’m But A Wave To… 23:48-29:14  
07 Evolutionary Sleeper 30:54-35:33 // new song
08 Textures 36:00-40:32  
09 Uroboric Forms 41:18-45:02  
10 Cosmos 46:08-50:52 // Portal demo
11 How Could I 51:59-57:31  

And - we’re waiting for 2008 album. How do I know? Heheheh. From wikipedia article ;)

Popularity: 20%

FireFox 2 silently crashes (shit)

May 8th, 2008

I’m not happy with FireFox last two or three months. It crases eventually (but often, yeah) and silently. Front end just disappears, but process remains - and actively eats memory.

Most recent case is: clear cache then open some "heavy" site with some flash elements.

Maybe FF itself is innocent but plugins (for ex. Firebug)

firefox

Popularity: 20%