" Love is life. And if you miss love, you miss life "  —  Anonymous

Posts Tagged  ›  Scripting

 

Tutorial: Easy “Spoiler” Show/Hide Element using Javascript

more...

Sometimes we want to hide some content at first page load to reduce bandwidth transferred to the user. Usually when we just want to show the thumbnails of the image and then the original (big) sized image hidden next to it.

more...

 

Open With Notepad++ Context Menu on Windows 7

more...

I just installed a fresh copy of Windows 7, and almost all of my  previously installed program on Windows Vista is working perfectly. One of them is Notepad++.

But there’s one thing missed: there is no Open with Notepad++ option on Windows Explorer context menu when I try to right-clicking on text files. I guess this is a bug from Notepad++. I am using Notepad++ v5.5.1 Unicode.

more...

 

Greedy and Non-Greedy Matching using Perl Regular Expression

more...

In this article I will show the difference between the default greedy (.+ and .*) and non-greedy matching using Perl-compatible regular expression.

more...

 

Tutorial: Minimize Windows Mobile Application Form Using C#

more...

winmobileIn Microsoft .NET Framework application development, we can use a simple Minimize() method to minimize the application form to the Windows taskbar. But how to do that in Microsoft Windows Mobile environment is not as simple as that.

more...

 

Validating Email Form Field Using PrototypeJS and Regular Expressions

more...

Annoyed with form submitters that keep fills the email form field with an invalid email? You can use javascript’s regular expressions to validate it. There’s so many regular expressions form to validate e-mail on the internet but many of them is very long and difficult to understand to modify to suit my need. The regular expressions is expressed below:

/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,60})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i

more...

 

Avoid CSS/Javascript XHTML Document Error Using CDATA

more...

Based on W3C Recommendation Document on XHTML 1.0 (Review Section: C.4. Embedded Style Sheets and Scripts), XHTML document don’t allow you to have any embedded stylesheet and/or script which using < or & or ]] or -- . We should use external stylesheet and/or script if we use any of those symbols, so XHTML parser could parse the XHTML document correctly.

more...

 

Another Cross-Post Wordpress to Facebook

more...

This is another trial post from WordPress blog to my Facebook Account. This is done after analyzing from previous error which is mentioning that fopen() function is failing. I already fix it by allowing fopen to open url in server’s PHP configuration. Will it work?

more...