Category 'D'


Very short trick: proxy RSS with SimplePie

If you use Flash or Ajax to read RSS feeds from other domains, you need to equip yourself with a proxy (tunneling) because of the protections imposed by both technologies (see tunneling and proxy servers for Ajax and beyond ). If your site or blog is already SimplePie , you can write a simple proxy like this:

More ...

jQuery Cheat Sheet and the first patch pending beta 1.3

The Cheat Sheet for jQuery 1.2 - very useful.

jQuery 1.2 Cheat Sheet

More ...

Internet Explorer 6: eliminate the double margin bug

Among the various funny "interpretations" that Internet Explorer 6 can do with HTML / CSS, one of the "double margin" is certainly the most annoying and frequent. In practice (hear, hear ...) good browser Microsoft succeeds - mysteriously - to double margins on items that are set to float! : As such the following CSS applied to a div with the id box :

More ...

Very short snippet: jQuery auto target blank link

Nothing new, but the sign to remind me: how to add an image to all the links that open a new page:

1
) . addClass ( 'external' ) ; jQuery ('a [@ target = _blank]'). addClass ('external');

More ...

Create a simple Feed Reader with SimplePie and jQuery

SimplePie is a PHP library can greatly simplify the recovery and handling of Feed RSS or, more generally, of XML formats. You can, for example, writing a few lines of code, exploiting some "funzioncina" jQuery to create a News Ticker to join our site / blog.

More ...

Upgrade to Wordpress 2.7

Like many I've done the upgrade to WordPress 2.7. Everything went well, as usual, except for two plugins:

Lighter Menus no longer makes sense in the new WordPress interface, then disable it (and delete) before upgrading.

For Simple Tags , however, you must alter one line of code that causes the malfunction of the Plugin in the release of WordPress 2.7. To do this go to the editor in WordPress Plugin internal and select Simple Tags. The line:

1
strpos ( $wp_version , '2.5' ) !== false || strpos ( $wp_version , '2.6' ) !== false ) { if ( strpos ($ wp_version, '2 .5 ')! == false | | strpos ($ wp_version, '2 .6 ')! == false) {

Should become:

1
strpos ( $wp_version , '2.7' ) !== false ) { if ( strpos ($ wp_version, '2 .7 ')! == false) {

Updated and everything will be fine: Always have a backup of files and database

More ...

Very short trick: how to center elements on the page, even on IE5

It's not that I always take it with Internet Explorer, it's just that damn thing every Web development (HTML and CSS) seems not work with the browser - still - the most common (one day someone will explain why). ; ad esempio ecco come posizionare un div al centro dello schermo: A very convenient method to place an item in the middle of the browser window is to the property sfrutture auto style margin , for example, here is how to position a div in the center of the screen:

More ...

How I Did It: How to Create a sticker-ribbon in 3 steps

The stickers (or ribbon) are those images that are placed in the top right or top left, and commonly have an angular shape band. There are various types, from simple static images to the most spectacular Flash movies. Sometimes they are constructed in such a way as to remain in their position even when scroll the contents of the browser window.

More ...

As IE6 endure and live happy

I always find some "ill" when I face the topic "compatibility between browsers." Also, and I have yet to understand the real reason, of all browsers who know the most "annoying" him remains: Microsoft Internet Explorer 6! Unfortunately, the release of IE 6 is still around and there are frequent reports of problems when viewing pages.

More ...

Skypemote version of Adobe AIR: 1000 downloads

Skypemote version of Adobe AIR

More ...



Stop SOPA