Categories

Category Specific RSS

Adding captcha capabilities

 

//Validate the Recaptcha’ Before continuing with POST ACTION function validateCaptcha() {     challengeField = $("input#recaptcha_challenge_field").val();     responseField = $("input#recaptcha_response_field").val();       var html = $.ajax({         type: "POST",         url: "../php/validateform.php",         data: "form=signup&recaptcha_challenge_field=" + challengeField + "&recaptcha_response_field=" + responseField,         async: false         }).responseText;       //console.log( html );     if(html == "success") […]

FacebookTwitterGoogle+PinterestTumblrStumbleUponRedditLinkedInBaiduApp.netBufferDeliciousDiggDiigoWordPressBlogger PostEmailPrintFriendlyShare

Add to bookmarks

$("a#bookmark").click(function(){    var bookmarkUrl = this.href;    var bookmarkTitle = this.title;         if ($.browser.mozilla) // For Mozilla Firefox Bookmark    {     window.sidebar.addPanel(bookmarkTitle, bookmarkUrl,"");    }    else if($.browser.msie || $.browser.webkit) // For IE Favorite    {     window.external.AddFavorite( bookmarkUrl, bookmarkTitle);    }    else if($.browser.opera ) // For Opera Browsers    {     […]

FacebookTwitterGoogle+PinterestTumblrStumbleUponRedditLinkedInBaiduApp.netBufferDeliciousDiggDiigoWordPressBlogger PostEmailPrintFriendlyShare

Browser Version

 

<!– Copy this code into the BODY section –>

<BODY>

<CENTER> <SCRIPT LANGUAGE="JavaScript"> document.write("<B>"+navigator.appVersion+"</B><P>"); </SCRIPT> </CENTER>

 

Note

I use Google Chrome and it displayed

5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.53 Safari/525.19

FacebookTwitterGoogle+PinterestTumblrStumbleUponRedditLinkedInBaiduApp.netBufferDeliciousDiggDiigoWordPressBlogger PostEmailPrintFriendlyShare

status bar digital clock

status bar digital clock

status bar digital clock

<html>

<head> <title></title> <script Language="JavaScript"> var timerID = null; var timerRunning = false;

function stopclock (){ if(timerRunning) clearTimeout(timerID); timerRunning = false; }

function showtime () { var now = new Date(); var hours = now.getHours(); var minutes = now.getMinutes(); var seconds = now.getSeconds() var timeValue = […]

FacebookTwitterGoogle+PinterestTumblrStumbleUponRedditLinkedInBaiduApp.netBufferDeliciousDiggDiigoWordPressBlogger PostEmailPrintFriendlyShare

Screen size

Show screen size settings

Screen size

<SCRIPT LANGUAGE="JavaScript">

<!– Begin document.write(‘Your screen is:\n\n’ + screen.width + ‘ pixels by ‘ + screen.height + ‘ pixels’); // End –> </script>

FacebookTwitterGoogle+PinterestTumblrStumbleUponRedditLinkedInBaiduApp.netBufferDeliciousDiggDiigoWordPressBlogger PostEmailPrintFriendlyShare