w00t! the most used browser on the Earth got its damn upgrade, so that it now has a decent supports for CSS and (you won’t believe it) alpha transparency in PNG’s! Great! Yay! Weeeeeh.
OK. Now the bad news.
Put a video from Youtube on your page, then let’s have any javascript more complex than alert(’hello world’);, like for instance slimbox the image lightbox implementation we use in lightbox plugin we have in our alpha (lightbox is that box appearing in the middle of the page with the nice fade transition).
You’ll get a “Cannot display web page” error, and no content for your web page :/
first of all, this code does not validate, and so breaks the validation of your blog (if you’re using flatpress) here’s a working and validating markup:
still, the wmode and transparent couple is what breaks IE7 (d’oh). This parameter makes your flash nicely not overlap other contents. In fact, as Flash is an external plugin object it is usually drawn OVER the rest over the content. But if, say, we have a dropdown menu, we would wont it to appear OVER the flash object and not BEHIND. So this is the reason for having the transparent parameter (as far as I’ve understood :P): it will make the plugin behave how you would expect, to stay as it should stay :)
Anyway, if you need IE to work (and you should), then your markup should read
So, no, “transparent” thingie. In most of the cases you shouldn’t have issues, though.
Please notice this may not be related (only) to IE but to Flash… Firefox and Opera are not affected.
Now.
Oh, dear NoWhereMan, are you really telling use we should edit our markup every time we want to add a video?
Well, not really. If you have FP alpha you can (and you should!) use the cool tag, which automagically generates the correct and valid markup. And now you can even say w00t.
Yeah, I know it’s not this big discovery, I already knew Gravatar, but I didn’t know they were so easy to implement.
What is a gravatar?
A gravatar, or globally recognized avatar, is quite simply an 80×80 pixel avatar image that follows you from weblog to weblog appearing beside your name when you comment on gravatar enabled sites. Avatars help identify your posts on web forums, so why not on weblogs?
I’ve also managed to have an hack for SPB, if you’re interested. But it’s very hackish :/
Open sb_comments.php, then search for the line saying
'if ( isset( $comment_entry_data[ 'EMAIL' ] ) ) {
/* other stuff here */
}
after that line, paste this
// yeah, this way I'm doing the isset twice,
// but at least instructions are simpler for you
$comment_email = isset($comment_entry_data['EMAIL'])? $comment_entry_data['EMAIL'] : '';
$grav_url = "http://www.gravatar.com/avatar.php?gravatar_id=".md5($comment_email)."&size=40";
$avatar = "<img class=\"avatar\" src=\"$grav_url\" alt=\"Avatar for $name\"".
"width=\"40\" height=\"40\" title=\"Avatar for $name\" />";
then, you’ll have a bunch of $blog_entry[’…’]; change the last one (”$entry_array[ ‘entry’ ]”) into the following