Prototype Changes
August 31, 2006 | 3 Comments
I found this article via Ajaxian regarding a nice block of Prototype updates.
- Shorter syntax for event handling
JAVASCRIPT:
-
$('element').observe('click', function(e) { alert(e); });
-
- Make destructive Element, Form, and Form.Element methods return their first argument, so that multiple calls can be chained together.
JAVASCRIPT:
-
$(“sidebar”).addClassName(“selected”).show();
The following methods now return their first argument: Element.toggle, Element.hide, Element.show, Element.remove, Element.update, Element.replace, Element.addClassName, Element.removeClassName, Element.observe, Element.stopObserving, Element.cleanWhitespace, Element.scrollTo, Element.setStyle, Element.makePositioned, Element.undoPositioned, Element.makeClipping, Element.undoClipping, Form.reset, Form.disable, Form.enable, Form.focusFirstElement, Form.Element.focus, Form.Element.select, Form.Element.clear, Form.Element.activate, Form.Element.disable, Form.Element.enable.
-
- Form and Form.Element methods mixed in to $ and $$
- For consistency, Element.toggle, Element.show, and Element.hide no longer take an arbitrary number of arguments.
!! BACKWARDS COMPATIBILITY CHANGE !!
If you have code that looks like this: Element.show(‘page’, ‘sidebar’, ‘content’); You need to replace it with code like this: [‘page’, ‘sidebar’, ‘content’].each(Element.show);
- Mix in Form and Form.Element methods to forms and form field elements with $() and $$(). Closes #4448. [Dan Webb, sam]
- Add Object.clone
- Add Form.Element.disable and Form.Element.enable. Closes #4943.
- Field is now simply an alias for Form.Element.
- Add Element.Methods.getElementsByClassName and Element.Methods.getElementsBySelector. Closes #4669.
- Avoid race condition when stopping an Ajax.PeriodicalUpdater. Closes #4809.
- Improve support for synchronous requests. Closes #5916.
- Add serialization and observation support for input type=search. Closes #4096.
- Properly decode query components in String.prototype.toQueryParams. Closes #3487.
- Add Array.prototype.reduce:
- [1, 2].reduce() // [1, 2]
- [1].reduce() // 1]
- [].reduce() // undefined]
- Add Object.keys and Object.values
- Simulate non-GET/POST requests by POSTing with a _method parameter set to the actual verb
- Make Element.update() handle TABLE-related elements with the DOM API because of IE’s missing .innerHTML property on them
- Sync to script.aculo.us unittest.js library as of 2006/08/29
- Add additional unit tests to test/unit/dom.html for testing Element.update and $().update in various enviroments
- Prevent possible exceptions on unloading the page in IE
I'm psyched!
DotA WTF
August 31, 2006 | 21 Comments
With the release of DotA v6.36b, a new game mode has been added that, frankly, scares me a bit. This mode is enabled by the blue player typing: -wtf ...at which point all hell breaks loose.
-Wtf mode removes mana costs and cooldowns of all spells and abilities. Crazy. I've tested this mode out once with Prophet and happily walked up the field creating stream after stream of treants (units the Prophet can control) and zerged my opponent's base.
The mode is fun, overpowered and hugely imbalanced...but oh its bound to be a sweet, deadly game. Definately worthy of one -wtf mode game a night when my friends and I get together to play on Thursdays.
Bude’s Rip-Out Tunage
August 29, 2006 | 2 Comments
Bude tells me that he's been ripping out in DotA and WoW to this song. In fact, here's a quote from Bude himself:
This song is f'n dangerous - it gets you pumped so bad you might actually break shit. When the drum beats hit before the solo - watch the FUCK OUT! So if you want something to listen to while you "Flip out and kill stuff" this is it.
[...]
If u look at his damn boots he may boot you in the face because they are sooo in. Oh, and make sure to keep your volume down so you don't tear your door off.
I've been ripping out to "Cooking by the Book," but I figure I'd check it out anyways. Only halfway through I was slamming into walls and ripping my eyes out. If you're looking for a way to get totally pumped up and dessimate your enemies...your search ends here.
DIO - Rainbow in the Dark. Thank you, that is all.
DotA Allstars v6.36 Released!
August 24, 2006 | 72 Comments
DotA Allstars v6.36 has been released! w00t! You can download it here or here. Here's the changelog:
6.36
====* Added two new heroes (both disabled in -lm)
* New loading screen (thanks Artgerm)* Gravekeeper's Cloak reduced from 7/14/21/28 to 6/12/18/24
* Nether Ward HP reduced from 100/200/300/400 to 75/150/225/300
* Searing Arrows cooldown from 0 to 4/3/2/0
* Dark Ritual cooldown from 45 to 60/55/50/45
* Nightmare casting range from 650 to 500/550/600/650
* Storm's Dispel damage increased from 200 to 350
* Chakra cooldown from 25 to 19
* Viper's Poison Attack cooldown from 0 to 4/3/0/0
* Denied units now give off minor Experience instead of none (planned for improved league play from a while back, unrelated to the recent forum postings for those wondering)
* Improved Mana Burn cast range on neutral Satyr (only meaningful when converted since it does not autocast anymore)* Ogre Magi base damage improved
* Redistributed Crystalys/Buriza recipe costs from 1000/750 to 500/1250
* Improved base Intelligence on Phantom Lancer
* Increased Mask of Madness lifesteal from 10% to 17%
* Track cast range improved per level
* Increased Battlefury cleave aoe from 160 to 200, damage from +50 to +65 and a little more HP/Mana regen.
* Increased Leshrac's agility
* Improved how Doppelwalk levels
* Monkey King Bar's bonus damage increased from 90 to 100
* Luna attack range from 300 to 330
* Drunken Haze's duration from 5 to 7 seconds and slightly reduced mana cost
* Increased duration of level 2 and 3 of Doom by 2 seconds
* Changed level 2 and 3 Phantasm to take the same 200% extra damage as level 1
* Buffed Ursa's strength gain per level* Fixed the old incorrect Chaos Damage ladder tooltip to reflect the DotA custom settings
* Rebased Lightning Bolt due to it sometimes causing allies to lose their issued orders on the target
* Fixed a recent bug with Chronosphere that froze his images
* Fiend's Grip now properly stops the effect when you run out of mana
* Swapped the locations of Dusk and Twighlight Taverns to be consistent with the Sentinel side
* Temporarily disabled -lmap
* Fixed -vr to random inside the voted hero vs hero set, so for example, blue/pink don't always get the first one listed anymore. Don't confuse this with the 10 heroes being randomized, only the order which they are assigned once the lineup is voted on. This removes the voting bias that previously existed in informal games
* Fixed a Clinkz Searing/Windwalk exploit
* Fixed Perseverance undo ability and Reality from triggering Essence Aura
Pluto Forcibly Retired at the Age of 6,000,000,000,000,003
August 24, 2006 | Leave a Comment
No, this isn't an article like The Moon Is Made of Gas. According to C-Net, Pluto is no longer considered a planet by scientists due to the re-working of the definition of a planet. Had Pluto remained a planet in our solar system, our planet total would have quickly jumped to 12 by:
including Ceres, the largest known asteroid, which orbits between Mars and Jupiter; Charon, which has been considered Pluto's moon; and the recently discovered 2003 UB313, an object nicknamed Xena that was discovered in 2005 orbiting far beyond Pluto.
C-Net further writes that
Pluto is now considered a "dwarf" planet because it has an oblong orbit that overlaps with Neptune. Ceres and UB313 or Xena will also be considered dwarf planets. Charon will have no special designation.
This will most definately take school teachers a bit of time to teach childeren the proper number of planets. I remember a similar fiasco when the 4 food groups jumped to 5. Now that was a troubling time in my youth.
F3ll0wsh1p of teh R1ng
August 23, 2006 | 3 Comments
I stumbled on to this Fellowship of the Rings in gamer form. Funny stuff, although I think I like If WW2 Was Fought By Gamers better :) Its still funny stuff.
[At Bilbo's 111th Birthday]
Merry: "Omg, I pwn"
Pippin: "Sif, I pwn"
**Rocket goes off
Gandalf: "Pwned!"
Bilbo: "This = shiz, bai foos"
Bilbo has left the server
Frodo: "***!?"[later, in Bag End]
Gandalf: "Give teh ringz0r to Frodo"
Bilbo: "Sif! It r precious!"
Gandalf: "STFU NOOB!!!"
Bilbo: "ok"
Gandalf has logged on as admin
Bilbo has been kicked from The Shire**Later
Gandalf: "Show me teh ring, foo!"
**Gandalf rides out, does some research, comes back
Gandalf: "OMGZ, it R teh ring!"
Frodo: "***?"
Gandalf has logged on as admin
Frodo has been kicked from The Shire
Sam has been kicked from The Shire[At Isengard]
Gandalf: "sup dawg, i r g4nd4lf da gr3y!"
Saruman: "Foo! U R teh noob!"
Gandalf: "***?!"
Saruman: "Sauron pwns joo!"
Gandalf: "Sif, I R leet"
**Sarumon beats the **** out of Gandalf
Saruman: "Pwned!"[on the road to Bree]
Merry: "look foos, shrooms!"
Pippin: "Woot! Shrooms!"
Frodo: "Ph34r!"
Sam: "Shrooms!"
Frodo: "PH34R!1!1"
**black rider stops, sniffs, goes past
Frodo: "OMG, packetloss!"[Bree, in the Inn of the Prancing Pony]
**Frodo is drinking and dancing on a table, then slips
Frodo has left the server
Frodo has connected to the server
Frodo: "OMGz, dc'd"
Aragorn: "OMG, noobz"[at Weathertop]
Merry: "Mmm, shrooms!"
**MERRY IS BROADCASTING HIS IP ADDRESS!!!
Frodo: "Foos! Ph34r teh haxorz"
**the black riders attack
Merry: "OMG!!!"
Sam: "O.M.G!!!11"
Pippin: "***"
Frodo has left the server
**head nazgul stabs Frodo's ghost
Frodo has connected to the server
Frodo: "***... hax!"
**Aragorn lraps into the fray with a flaming brand
Aragorn: "PH34r!!!!!!"
Merry: "LOLOL flamed! "[on the road to Rivendell]
Aragorn: "ZOMG!Arwen!"
**Arwen rides up
Aragorn: "A/S/L? Wanna net secks?"
Arwen: "Sif! *** is up with Frodo?"
Sam: "teh leet Hax0r "
Arwen: "Firewall?"**Arwen rides off with Frodo, the nazgul give chase. Arwen crosses the ford at Rivendell.
Arwen: "PH34R!! My dad pwns urs!"
**nazgul start to cross
Arwen: "LOLOLOLO noobs!!1!"
**the ford rises up and washes the nazgul away
Warning: Connection Problems Detected
nazgul has disconnected
nazgul has disconnected
nazgul has disconnected
nazgul has disconnected
nazgul has disconnected
nazgul has disconnected
nazgul has disconnected
Arwen: "Pwnt"[at the Council of Elrond]
Gimli: "dwarves pwn!"
Legolas: "Sif, Elves pwn!"
Boromir: "OLOLOL noobs, men pwn!"
Elrond: "STFU tards!!1!"
**Frodo puts the ring on the plinth
Gimili: "Sif ring pwns all!"
**Gimli swings his axe at it, which shatters
Elrond: "**sigh, noob"[Frodo meets up with Bilbo]
Bilbo: "OLOL, me = 10th level thief!"
Frodo: "OMG, u r teh pwn!"
Bilbo: "Do u still have teh ringz0r?"
**Frodo shows Bilbo the One Ring
Bilbo: "OMG u tard, I want to TK you!"
Frodo: "sif!"
Bilbo: "ph34r my mithril"[The Fellowship leaves Rivendell]
**Gandalf leads the fellowship through the mountains
Legolas: "ZOMG, leet gfx!"
Gimli: "I R dropping frames! FFS"
**There's an avalanche which threatens to knock them off the shelf
Gimli: "Gandalf, teh draw distance is too far!1!!1"
Gandalf: "**Sigh. Moria?"
Gimli votes to change map to Moria
Votes 4 of 4 required
Legolas: "lolol Gimli, time to upgrade!"[The fellowship approaches the gates of Moria]
Gandalf: "FFS, its too hard! Anyone got a walkthrough?"
**The gates of Mordor open, but the Guardian attacks!
Frodo: "OMG! ph34r!"
Boromir: "GL HF"
Aragorn [broadsword] guardian
Legolas [arrow] guardian
Gandalf: "gg"[The fellowship enters the mines of Moria]
Gimli: "OMG!!!! PWNED!"
**After travelling some time in the dark the Fellowship come to a chamber with a large well
Gandalf: "teh bookz0r has some clues!"
**Merry knocks a skeleton in armour down the well
Gandalf: "OMG! noob!"
Merry: "d'oh"
**The fellowship hears the ork drums
Boromir: "***?"
Aragorn: "***?"
Frodo: "..."
Gandalf: "Oh ffs >.< "
**the fellowhip shores up the doors as the orks come
Boromir: "TEAMS FFS!"
Aragorn [broadsword] ork
Gimli [axe] ork
Legolas [arrow] ork
Aragorn [broadsword] ork
Aragorn [broadsword] ork
Boromir [broadsword] ork
Gimli [axe] ork
Gimli [axe] ork
ork: "OMG! h4x!"
Gimli: "pwned"!
Legolas [arrow] ork
Legolas [arrow] ork
Legolas: "lol!!"
Boromir [broadsword] ork
Gimli [axe] ork
Gimli: "Foos!" Legolas [arrow] ork
ork: "ffs, wallhax!"
**The cavetroll enters the chambers destroying the doors
Gandalf: "Oh ffs!"
Boromir: "Omg, its teh boss!"
Aragorn: "Sif noob, we're not at teh end yet!"
**Cavetroll slams Boromir and Aragorn out of the way, and then skewers Frodo
Sam: "OMG!"
Gandalf: "OMG!"
Aragorn: "omg, pwn!"
**Legolas jumps on the cavetroll and shoots arrows down into its head
Legolas [arrow] cavetroll
Ork: "OMG! PWNED!"
Gimli: "LOLOOLOL! noobs"
**The fellowship then runs through Moria, chased the whole way by a horde of orks
Boromir: "FFS! Teams, foos!"
**A flaming shadow starts to follow them, and the orks withdraw
Aragorn: "Now THIS is teh boss!"
Gandalf: "OMG!"
**The fellowship take to long flights of stairs that are starting to crumble and fall. Orks shoot at them with arrows.
Legolas: "LOL, noobs. Chex0r this out!1!"
Legolas [arrow] ork
Legolas [arrow] ork
ork: "AIMBOT!"
ork: "turn it off!"
Legolas: "lolol!"
**The fellowship crosses a bridge, Gandalf stops to confront the balrog
Gandalf: "joo shall not pass!"
Balrog: "***?"
Gandalf: "JOO SHALL NOT PASS!"
Balrog: "Sif, noob"
**Gandalf strikes the bridge with his staff, cracking it and causing it to break under the Balrog's weight
Balrog: "ZOMG! PWNED!"
Frodo: "OMG! Gandalf!"
**The Balrog falls and in a last act of defiance strikes out with its whip, entangling Gandalf
Gandalf: "D'oh"
Frodo: "OMG, joo foo!"
Gandalf: "fly u foos, fly!"
**Gandalf lets go and follows the Balrog into the crevass
Gandalf has left the server
Balrog has disconnected[After escaping Moria the fellowship finds itself in Loth Lorien]
**The fellowship rests, and in the night Frodo speaks with Galadriel
Galadriel: "For a noob, u r teh leet!"
Frodo: "Sif. I don't want teh ringz0r. Do u want teh ringz0r?"
Galadriel: "******! SIF I want teh ringz0r. I have enough h4x of my own!1"[The fellowship leaves Loth Lorien and sets out via river]
Saurman: "ph34r my army of uruk hai! Go outz0r, find teh hobbitz and pwnz0r them!"
uruk hai: "leet!"[stopping at the banks of the river, the Fellowship sets up camp]
**Frodo goes off looking for firewood, Boromir follows and confronts him
Boromir: "Gimmie teh ringz0r so ** hax can fight teh boss!"
Frodo: "Sif, foo. Punkbuster will pwn joo!"
Boromir: "Naw, we play on non-pb servers"
Frodo: "STFU noob"
Frodo has left the server
Boromir: "***! FRODO! Bring teh ringz0r back, faghat!"
**A group of Uruk Hai encounter Boromir
Boromir: "OH FFS, TEAMS!!"
Uruk Hai [arrow] Boromir
Uruk Hai [arrow] Boromir
Uruk Hai [arrow] Boromir
Uruk Hai [arrow] Boromir
Uruk Hai [arrow] Boromir
Uruk Hai [arrow] Boromir
Uruk Hai [arrow] Boromir
Uruk Hai [arrow] Boromir
Boromir: "****ing campers"
**Aragorn comes across the battle
Aragorn: "Boromir joo noob! ***!"
Uruk Hai: "Hah, pwn!"
Aragorn [broadsword] Uruk Hai
Aragorn: "I bring joo teh pwn!"
**Aragorn goes to Boromir
Boromir: "Damn lag!"
Warning: Connection problems detected
Boromir has disconnected
Aragorn: "FFS!"[Frodo returns to the bank of the river where he gets into a boat. Sam 'sees' him]
Sam: "Frodo! ***! Invisibility h4x!"
Frodo has connected to the server
Frodo: "Sam, STFU and FOAD!"
Sam: "Sif!"
Frodo: "Oh, ffs n00b!"3Nd!!!!11
Monty Python Legos
August 18, 2006 | 2 Comments
Life After Coffee's post on Monty Python and Star Trek reminded me of this great piece of work: Monty Python Legos!
Chuck Norris Bridge?
August 16, 2006 | 1 Comment
Hungary's Economy Ministry probably didn't know what it was getting into when it launched an Internet voting campaign to allow Web users to choose a famous person as the namesake for a new bridge to be built over the Danube in Budapest.
Reuters mentions that the head-runner is none other than Chuck Norris. This awesome voting is most heavily fueled by the Chuck Norris fad that has graced us by roundhouse kicking the world with his totally awesome (and true) facts. The walking-bearded god may very well become immortalized as a Hungarian bridge! For a time he was the top choice holding 11% of the votes! Sadly, since C-Net's article, his standing has fallen :(
Don't let this disuade you from voting for him! It is by far the best choice. I mean, if you think about this for a moment...naming a bridge after Chuck Norris could very well be the best move any country could make, as some of his strength and majesty will most definately rub off on the bridge in question causing it to quickly become the most sought after world wonder thats graced this planet since my birth.
If you care to cast your vote - which anyone seems to be able to do - and you can read Hungarian (here's a translator), head on over and cast your vote for the "Texas Ranger" himself. Voting ends September 8th.
And of course I would be remiss to exclude some comments I've read on Fark.com regarding the naming of the bridge:
"A bridge? Right, as if Chuck Norris is going to lie down and let people roll over him."
"Chuck Norris doesn't need a bridge. The river just gets out of his way."
"Chuck Norris could swim the length of the Danube to the Black Sea and still be up for karate practice."
"Chuck Norris is so fast he once ran around the world and punched himself in the back of the head!!"
"This is better than the old Chuck Norris ferry the bridge is replacing. The way it worked before is you drove up to the dock and Chuck Norris would roundhouse you or your car across the river."
"This bridge will be indestructible until the real Chuck Norris walks across it. The bridge will crumble in fear of the roundhouse kick."
I Guess You Should Cook By The Book
August 16, 2006 | 21 Comments
I'm not sure what to think about this but I'm sure I'll be repeating it over and over and over and over (etc).
If you really want to bask in this video's glory, check out the website dedicated to it (complete with disclaimer): Itsapieceofcaketobakeaprettycake.com!
Update: Here's the lyrics:
(Ziggy)
Hot pile on the candy
it's such a pretty sight
it makes the food taste dandy
but my tummy hurts all night(Stingy)
I'll put in some ingredients
but keep the rest for me
I'm not just disobediant
I'm careful can't you see(Stephanie)
I'ts a piece of cake to bake a pretty cake
if the way is ha-zy
you gotta do the cooking by the book
you know you can't be la-zy
never use a messy recipe
the cake would end up cra-zy
if you do the cooking by the book
then you'll have a cake
we gotta have it made
you know that I love cake
finally it's time to make a cake(Pixel)
Making food is just like science
with tools that blend and baste
every fun appliance
gives the food a different taste(Stephanie)
It's a piece of cake to bake a pretty cake
if the way is ha-zy
you gotta do the cooking by the book
you know you can't be la-zy
never use a messy recipe
the cake will end up cra-zy
if you do the cooking by the book
then you'll have a cake
we gotta have it made
you know that I love cake
finally it's time to make a cake
we gotta have it made
you know that I love cake
finally it's time to make a
(you gotta do the cooking by the book) cake
51% of College Humor Sold for ~$20mil
August 16, 2006 | 1 Comment

I'm not really a fan of College Humor...don't get me wrong, I don't hate it, I'm just not an avid viewer. It seems that some people are...in fact, some 6 million unique visitors a month are. The Gawker reports that InterActiveCorp took notice of the sheer number (read: success) of hits going to the beer-drinking-boob-posting-frat-boy blog site and made an offer. The result: College Humor has sold 51% of the site's ownership to IAC - and if you find it hard believe it, simply check IAC's list of businesses on its site. This ~$20 million+ move gives IAC a say in the way the lude blog is run...For the site's success, one can hope the influence would be minimal.
All things considered, the creators of College Humor (who are also the creators of BustedTees...where I got my cool shirt) are doing quite well, as Gawker states:
CollegeHumor founders Josh Abramson and Ricky Van Veen will continue to oversee the Connected Ventures operations. The Company recently released the book The CollegeHumor Guide to College and is developing a film for Paramount Pictures. Through Connected Ventures they also operate a number of other successful online content and retail brands including BustedTees.com, a retail business aimed at the CollegeHumor.com demographic.
This is definately a blogging success story if I've ever seen it.
Learning What I Know
August 15, 2006 | Leave a Comment
I recently received an e-mail from one of my subscribers that asked a question. The answer may be useful to some so I'm placing it here.
The original question
It seems so interesting developing websites application these days, thanks to the web 2.0 phenomena. I can't call myself a web developer or anything near that, but I'm interested to learn these kind of [things].
[...]
Since you seem to be real world developer to me, I have a couple of questions to ask you. I've been messing around with XHTML, CSS, Javascript, PHP and MySQL [for] a couple of months now, and it frustrates me sometimes when I sort of forget things and [can]'t understand the flow of the design of what I'm trying to achieve. [..]
Based on your experience, do you do everything by your own, i mean there are the front end and the back end [things], do you do both?
Talking of object oriented programming (i guess that's what prototype, script.aculo.us and ajax are really about), which OOP did u learn first? I [learned] simple Java before but does that come into play for web development as well? I mean, does it help if i go into detail learning Java?
Any other useful advice? I would appreciate your comments. Thank you.
My Reply
Web 2.0 phenomenon...Yeah, its good to stay on top of things like that :)
Development. XHTML, CSS, Javascript, PHP and MySQL...I do it all, however, I did not learn them all at once...but over a series of years. I think the key concept is to really try and keep your logic from your design - keep the MySQL/PHP side of things separate from the XHTML/CSS side of things ( e.g. Ajax, Templating, and the Separation of Layout and Logic). Javascript is a bit of a wildcard and bridges between both the presentation and logic.
You can do the above with and without Object Oriented Programming...although OOP is the preferred method. My first OOP language was Java. Next I branched out to Object Oriented PHP, and finally (last year) I learned Object Oriented Javascript.
All you really need is the OO concept in your head before you branch out and if you've used Java, you should be good to go. So to answer your question: "Does it help if you go into detail learning Java." is this: It won't hurt, but isn't necessary to succeed in learning the above languages/tools. When using Object Orientation and switching languages, its all about learning the syntax and the gotchas associated with your chosen language.
The biggest chunks of advice I can give regarding your tools of choice are as follows:
XHTML/CSS
- keep it simple
- use ids/classes rather than inline styles
PHP
- live on php.net
- learn through irritation with your own code...mine goes through constant revisions and optimizations
- pick up a templating engine to help keep your layout and logic separate. I use XTemplates. I'm thinking about looking into SmartyTemplates....use whatever you wish...but templates save TONS of time.
MySQL
- know your data
- know how to normalize your data
- download open source applications and look at their database structure for a good idea of what their doing and go from there
Javascript
- Learn to manipulate the DOM
- Learn OO Javascript
- THEN tackle Prototype and Script.aculo.us
Script.aculo.us 1.6.2 Released!
August 15, 2006 | Leave a Comment
Mir.aculo.us has announced the release of Script.aculo.us v1.6.2! This is primarily a bug fix, which is always a good thing. Here's the change log:
* Fix a problem in the drag and drop logic if an reverting/drag ending draggable was initialized for a new drag (for example by clicking repeatedly) for all cases where the default start/revert/end-effects are used, fixes #4706 [thx tecM0]
* Fix possible memory leaks with Draggables, fixes #3436 [thx aal]
* Throw nicer errors when requires script.aculo.us libraries are not loaded, fixes #5339
* Make slider handles work when not displayed initially by using CSS width/height, fixes #4011 [thx foysavas]
* Update sortable functional test with onUpdate counter
* Make more Element extensions unit tests work on Safari
* Add the assertMatch unit test assertion for asserts with RegExps [thx Ian Tyndall]
* Fix a problem with Effect.Move causing “jumping” elements because of very low float numbers in some situations
* Fix a missing semicolon in dragdrop.js, fixes #5569 [thx mackalicious]
* Fix a slight inaccuracy with Effect.Scale that could lead the scaling to be one pixel off
* Be more prototypish with Effect.Transitions.linear
* Make Effect.Scale recognize font sizes that use the pt unit, fixes #4136 [thx aljoscha]
* Fix IE hack in Effect.Opacity, fixes #5444 [thx nicholas]
* Fix IFRAME layout fix for IE and Autocompleter, fixes #5192 [thx tommy skaue]
* Fix only option in onEmptyHover, fiex #5348 [thx glenn nilsson]
* Fix Effect.BlindDown and SwitchOff handling of supplied callbacks, fixes #5089 [thx martinstrom]
* Fix a problem with field focus on Ajax.InPlaceEditor and loading external text, fixes #4988, #5244 [thx rob]
* Do not attempt to scroll if scrollspeed is 0/0, fixes #5035 [thx tomg]
* Fix a problem with Sortable Tree serialization, fixes #4939, #4688, #4767 [thx Sammi Williams]
* Fix an endless loop with sliders, fixes #3226, #4051, #4765 [thx jeff]
* Make autocompleter work with update DIVs that have scrollbars, fixes #4782 [thx Tommy Skaue]
* Corrected options parsing on switchoff effect, fixes #4710 [thx haldini]
Get the latest release over at Script.aculo.us!
WordPress Plugin: MyComic Browser
August 12, 2006 | 22 Comments
Contents:
While creating the Uber-Geeks Web Comic, I wanted to keep WordPress as the backend for all my comic posting needs...which was fine. In doing so, I lacked the appropriate browsing features that seem common amongst many web comics (like Penny Arcade and RealLife).
Description
This plugin places a comic browser in a comic post (along with the comic name) providing navigation to First, Previous, Next, and Last comics.
Installation
- Download and unzip mycomic.zip
- Place mycomic.php in your wp-content/plugins directory
- Log in to your WordPress admin panel and activate the plugin, then visit the new mycomic submenu of the plugins tab. This will allow mycomic to create its database tables.
- Once installed, be sure to enable the options and consider customizing the look by adding the mycomic CSS to your theme’s CSS.
- Edit Your Post/Page Tempates
Editing Your Post & Page Templates
Place the following line of code above the output of the content of a post/page:
-
<?php if($comic=mycomic_is_comic($id)) mycomic_navigator($comic,$id); ?>
Here's what the Uber-Geeks index.php looks like (line 14 has the code you want to insert):
-
<?php get_header(); ?>
-
-
<div id="content" class="narrowcolumn">
-
-
<?php if (have_posts()) : ?>
-
-
<?php while (have_posts()) : the_post(); ?>
-
-
<div class="post top" id="post-<?php the_ID(); ?>">
-
<h2 class="first"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
-
<div class="postmetadata">Posted in <?php the_category(', ') ?> by <?php the_author() ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></div>
-
-
<div class="entry">
-
<?php if($comic=mycomic_is_comic($id)) mycomic_navigator($comic,$id); ?>
-
<?php the_content("<span class=\"continue\">" . __('Continue reading','') . " '" . the_title('', '', false) . "'"); ?>
-
</div>
-
</div>
-
-
<?php endwhile; ?>
-
-
<?php else : ?>
-
-
<h2 class="center">Not Found</h2>
-
<p class="center">Sorry, but you are looking for something that isn't here.</p>
-
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
-
<?php endif; ?>
-
</div>
-
<?php get_sidebar(); ?>
-
<?php get_footer(); ?>
Place that line of code in similar fashion in any template file that you wish to display the MyComic Browser.
Adding A Comic
Once fully installed, you are free to mark your comic posts as comics (in order to add them to the comic browser table). While editing/adding a post, simply create a custom field:
- Key: comic
- Value: 1
Save your post and the browser will appear!
World of Warcraft MySpace Layouts
August 7, 2006 | 21 Comments
Blizzard, in their infinite wisdom has blessed MySpace with its presence! Over the past few months I've received a number of requests for World of Warcraft MySpace layouts and I'm happy to say that Blizzard has created a number of those layouts for anyone to use!
They've got one for each WoW race. To get them, simply head over to the World of Warcraft MySpace account and scroll down to the Skin your MySpace section and click on the races...or grab them directly from these links:
I’m So Hot
August 6, 2006 | 3 Comments
How can one person be so attractive? Just wow. To accomplish this look, simply loosen your lips and shake your head back and forth really fast...and snap a photo. This photo is not altered in any way :D I have Batchelder lips.




