Wednesday, 31 July 2013

Elements are removed from HTML5

Removed Elements

The following HTML 4.01 elements are removed from HTML5:
  • <acronym>
  • <applet>
  • <basefont>
  • <big>
  • <center>
  • <dir>
  • <font>
  • <frame>
  • <frameset>
  • <noframes>
  • <strike>
  • <tt>

Wednesday, 17 July 2013

multiple CSS properties select in jquery

Q)  Is it possible to get value of multiple CSS properties in single statement?

Q)  multiple CSS properties in single statement

Q)  Select multiple CSS properties in jquery

 
Answers :   Well, before jQuery 1.9 release it was not possible but one of the new feature of jQuery 1.9                       was .css() multi-property getter.


var Collection = $("#login").css([ "width", "height", "backgroundColor" ]);

Collection will be an array and it will look something like this

{ 
  width: "100px", 
  height: "200px", 
  backgroundColor: "#FF00FF" 
}

Tuesday, 16 July 2013

prevent country specific redirection in blog

 If you want to prevent this country specific redirection then follow the steps given below.
Step 1 
Goto 'Design' from your blogger dashboard.
Step 2
Then select 'Edit HTML'.
Step 3
Find <Head> and paste the code given below right below it. 

<script type='text/javascript'> var str= window.location.href.toString(); if ((str.indexOf('.com/'))=='-1') { var str1=str.substring(str.lastIndexOf(".blogspot.")); if (str1.indexOf('/')=='-1') { var str2=str1; } else { var str2=str1.substring(0,str1.indexOf('/')+1); } window.location.href =window.location.href.toString().replace(str2,'.blogspot.com/ncr/'); } </script>

Tuesday, 2 July 2013

memcached for windows 7 download

    Download link
     memcached (32 bit)   https://www.box.com/s/0mybpplvz60f62dveoq7

      msvcr71.dll 
       http://www.dll-files.com/msvcr71.zip?0WJeVBVKmR

Extract msvcr71.dll from msvcr71.zip. We recommend that you extract msvcr71.dll to the installation directory of the program that is requesting msvcr71.dll.
If that doesn't work, you will have to extract msvcr71.dll to your system directory. By default, this is:
C:\Windows\System (Windows 95/98/Me)
C:\WINNT\System32 (Windows NT/2000)
C:\Windows\System32 (Windows XP, Vista, 7)
If you use a 64-bit version of Windows, you should also place msvcr71.dll inC:\Windows\SysWOW64\
Make sure overwrite any existing files (but make a backup copy of the original file).
Reboot your computer.
If the problem still occurs, try the following:
Open Windows Start menu and select "Run...".
Type CMD and press Enter (or if you use Windows ME, type COMMAND)).
Type regsvr32 msvcr71.dll and press Enter.