Notepad++ is a free source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL License.
Tag Archives: Tutorial
How To Create 3D Text using CSS3 | CSSReX

Css3 introduced few new interesting features, one of these is text-shadow.
Earlier Text Shadows were announced since the beginning of css2 however, the only browser that was supporting this functionality was Safari.
If you talk about today’s condition, almost all the browsers except Internet Explorer are running Text Shadows successfully.
ternarylabs/porthole Javascript Library
Porthole is a small Javascript library that makes it safe and easy to communicate with cross domain iFrames. Porthole relies on hidden iFrames (later referred to a as proxy) to exchange information. The caller sets a url fragment with the message to pass. The proxy by virtue of being served from the same origin as the callee, invokes a callback method with an event object that contains the message read from the url fragment. The message signaling mechanism is based on a resize event.
Create an Image Stack Illusion Tutorial
I found on Design Shack an interesting tutorial about creating an image stack illusion:
Use Pseudo Elements to Create an Image Stack Illusion | Design Shack.
PHP SDK 3.0 & Graph API base Facebook Connect Tutorial – thinkdiff.net
I found this awasome tutorial from Thinkdiff.net that explains how to use Facebook Graph API and SDK 3.0.
It gives you a complete example that shows you how to work with Facebook.
How Robots.txt Works
The Robot Exclusion Standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web crawlers and other web robots from accessing all or part of a website which is otherwise publicly viewable. Robots are often used by search engines to categorize and archive web sites, or by webmasters to proofread source code.
How to Find Facebook Page ID or User ID
If you need to find your Facebook Page id or your Facebook User id there’s this website: Find Facebook Page ID or User ID Online, By Joby Joseph, that finds your id for you.
Thanks to Joby Joseph.
How to Create WordPress Plugins
In this days I start developing a WordPress plugin so would like to give you the list of the websites that helped me.
- http://codex.wordpress.org/Writing_a_Plugin
basic guide to plugin development - http://corpocrat.com/2009/12/27/tutorial-how-to-write-a-wordpress-plugin/
another basic guide to plugin development - http://codex.wordpress.org/Creating_Options_Pages
when you create plugins you could need to have a settings page, here is a complete example fully functionally. - http://bavotasan.com/2009/a-settings-link-for-your-wordpress-plugins/
If you have a settings page it’s useful to have a “settings” link in WP plugins manager, this article give you a function to do it - http://planetozh.com/blog/2009/05/handling-plugins-options-in-wordpress-28-with-register_setting/
Your plugin settings are stored in WordPress system, here is an article about register and retrieve plugin setting - http://www.snilesh.com/resources/wordpress/add-custom-image-headers-to-your-wordpress-org-plugins/
When you add your plugin to WordPress website you can add the an image in the plugin page, this article explain you how to do it - http://wordpress.org/extend/plugins/about/validator/
A WordPress plugin has a “readme.txt” file that has its information, this tool checks and validates it
With this websites I created my WP plugin, in the next days I will post it. I hope these links will help someone else as much as they helped me.
PHP get_browser() workaround
To get information from the user’s browser in php there is a function called get_browser(). It returns an object which will contain various information, as the browser name or if javascript is enabled.
So I tried this function but my hosting server show me this error: browscap ini directive not set.
Looking on php.net I found that it works “by looking up the browser’s information in the browscap.ini file.”. Because it’s not my server I can’t do nothing, so I wrote to my hosting support and they gave me an alternative solution: phpbrowscap.
Just follow the QuickStart guide to set up the script and make it works.
If you need get_browser() function but you have server problem use this workaround.
Why use Modernizr?
Modernizr is a Javascript library that detects the features your browser can support, like HTML 5 and CSS3 .It let you manage what to do if the browser don’t show something in the right way.
This library use different approach than detect the browser type, it detects if the specific features are natively implemented. Modernizr aims to bring an end to the UA sniffing practice. Using feature detection is a more reliable way to establish what you can and cannot do in the current browser.
How to use it
First thing to do is to include it into your page “head” tag (download):
<script type="text/javascript" src="modernizr.js"></script>