Monday, September 8, 2008

Smooth Javascript Image Zooming For Your Web Pages

Wow.. TOday i have found one new fancy Zoom in Effect for Thumbnail images. Its Plus point is it works in all most widly used browsers Firefox, safari and IE6-7 both.

FancyZoom 1.1

http://www.cabel.name/2008/02/fancyzoom-10.html

Javascript Image Magnification 2.5

http://www.c6software.com/Products/PopBox/Default.aspx


Sunday, August 24, 2008

Block right click or disable keyboard on web pages

Hello frn'ds,

Today i was searching some tricks about protecting web contents, during this i have found one interesting trick (i.e. html code) by which we can disabled the context menu in browser. This code not only block the right clicking in the browser , it also blocks the keyboard's key press events.

< body oncontextmenu="return false;">

Benefits of this code,
1. Can prevent View Source of your html page.
2. Can protect your page contents.
3. Can protect your web images and so on.

click here to read more or know more

Tuesday, April 22, 2008

Drive are not opening in same window on double click in windows XP

If your Drives are opening in new window on double click, It might be possible that your folder setting can be changed:

follow the steps given below to make sure folder settings:
  1. Open "My Computer".
  2. Go on Tools menu and open Folder Option.
  3. In General Tab, check "Open each folder in the same window".
  4. Click on OK to save setting and close the "Folder Option" window.
if you still facing the problem then you need to follow these steps or refer this site:
  1. First Method:

    1. Open Start >> Run and type regsvr32 /i shell32.dll
    2. press ok
    3. You will see a message DllRegisterServer and DllInstall in shell32.dll succeeded
    4. that’s it
  2. Second Method:

    1. Open Start >> Run and type regedit
    2. Navigate to HKEY_CLASSES_ROOT/Directory/Shell
    3. Double click the default key type none and press ok.
    4. now navigate to HKEY_CLASSES_ROOT/Drive/Shell.
    5. Double click the default key type none and press ok.
  3. Third Method:

    If you don’t want to play with the registry ,you can run the following command instead at

    Run Prompt: ( Open Start >> Run )

    “reg add hkcr\drive\shell /ve /d none /f” (without double quotes)

Problem and Solution: Dirves are opening "Open With" window?

Hello all,

If you all are facing problem during double click on your local drive and it show you “Open with”. Then I am sure it’s a virus attack. Generally these viruses speared by Yahoo messenger.

Follow the steps given below to clean this virus and make your PC up to date:

1. First you need to fix this “Open With” window problem:

Click here for Reference:

Generally when a virus infects a windows system which causes a drive opening problem, it automatically creates a file named autorun.inf in the root directory of each drive.

This autorun.inf file is a read only ,hidden and a system file and the folder option is also disabled by the virus. This is deliberately done by the virus in order to protect itself. autorun.inf initiates all the activities that the virus performs when you try to open any drive.

You have to just delete this file and restart your system to correct this problem.

Follow the set of commands below to show and delete the autorun.inf

1. Open Start>>Run and type cmd and press enter. This will open a command prompt window. On this command prompt window type the following steps.

2. type cd\

3. type attrib -r -h -s autorun.inf

4. type del autorun.inf

5. now type d: and press enter for d: drive partition. Now repeat steps 3 and 4. Similarly repeat step 5 for all your hard disk partition.

Restart your system and your trouble will be fixed.

2. After Restarting of system, if you face problem like :

a.

Windows cannot find 'C:\WINDOWS\System32\WinSit.exe'. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search."

b.

Windows cannot find "C:\WINDOWS\inf\Other.exe". Make sure you typed the name correctly, and then try again.TO search for a file,click the start button, and then click search.

You need to follow these steps to resolve this problem or click here:

Go to Start --> run typein msconfig then goto the Startup tab then disable the exe from starting with windows


1. Click on OK button and restart the window.

2. WinSit.exe is part of a Worm named 'W32/VB-DXN' as far a i know it is spread via Yahoo instant messenger, it installs itself to various locations on the host computer you should check the following locations on your machine and remove any of the lsited files:-

C:\WINDOWS\Help\Other.exe
C:\WINDOWS\inf\Other.exe
C:\WINDOWS\dc.exe
C:\WINDOWS\sviq.exe
C:\WINDOWS\SYSTEM\Fun.exe
C:\WINDOWS\SYSTEM\WinSit.exe
C:\WINDOWS\config\Win.exe

It also creates the registry entries:-

HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows
run
\config\Win.exe

HKCU\Software\Microsoft\Windows\CurrentVersion\Run
dc2k5
\SVIQ.EXE

HKCU\Software\Microsoft\Windows\CurrentVersion\Run
Fun
\Fun.exe

HKCU\Software\Microsoft\Windows\CurrentVersion\Run
dc
\dc.exe

HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows
load
\inf\Other.exe

You should remove any of these occurrences that you find.


Please also check the following registry entry:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Shell

Explorer.exe \WinSit.exe

You should remove this entry. But save or print this information before removing.

Because after these changes if we restart the system, it might be possible that your desktop will not load so you just follow these steps to restore this entry in windows Registry.

1. Press ALT+Ctrl+Del to open Windows Task Manager.

2. Go on File -- > New Task ( Run ).

3. type regedit and press ok.

4. locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogo

5. Double click on shell.

6. Insert “Explorer.exe C:\WINDOWS\system32\WinSit.exe” in to “Value Data”.

7. Close the Registry.

8. Restart machine.

9. That’s it.

Tuesday, December 4, 2007

CSS Mouse Cursors and Custom Cursors

<p style="color:red;">

<span style="cursor:crosshair;">crosshair cursor</span>

<span style="cursor:wait;">wait cursor</span>

<span style="cursor:help;">help cursor</span>

</p>

























































































































SS2.1 Cursor Styles








autoThe UA determines the cursor to display based on the current context.
col-resize Indicates the item or column can be resized horizontally.
crosshairA simple crosshair (e.g., short line segments resembling a "+" sign).
defaultThe platform-dependent default cursor. Often rendered as an arrow.
helpHelp is available for the object under the cursor. Often rendered as a question mark or a balloon.
moveIndicates something is to be moved.
not-allowedIndicates that the requested action will not be carried out.
pointerThe cursor is a pointer that indicates a link.
row-resizeIndicates the item or row can be resized vertically.
textIndicates text that may be selected. Often rendered as an I-beam.
vertical-textIndicates editable vertical text.
waitthe hourglass (non-animated, sadly)
e-resizeIndicate that some edge is to be moved. For example, the 'se-resize' cursor is used when the movement starts from the south-east corner of the box.
n-resize
ne-resize
nw-resize
w-resize
s-resize
se-resize
sw-resize

Internet Explorer Security Settings on a Web page.

To help protect your security, Internet Explorer has restricted this site from showing certain content. Click here for options.


Actually Microsoft Windows XP Service Pack 2 locks down the Local Machine zone in Internet Explorer to help protect your computer from malicious attacks.

To work around this problem, you must force Internet Explorer to open your data access page by using the security settings of the Internet zone. You want to use the settings of the Internet zone instead of the settings of the Local Machine zone even when the data access page is opened on your computer by using the absolute path. To open the data access page by using the security settings of the Internet zone, you must add a "Mark of the Web" comment as a header in the HTML file for your data access page.

To add a "Mark of the Web" comment, follow these steps:
1. Start Microsoft Windows Explorer.
2. Locate the HTML file that corresponds to your data access page.
3. Open the HTML file by using a text editor, such as Notepad.
4. Add the following "Mark of the Web" comment as a header before the tag in your HTML file:

< ! - -
saved from url=(0014)about:internet - - >

Note The "(0014)" value is the string length of your URL.
5. Save the HTML file. Close the HTML file.

Open your data access page in Web Page Preview mode. Notice that your data access page is not blocked, and that your data access page appears correctly.

Friday, October 5, 2007

Unable to Start Debugging on the Web Server


Solution for the error:

"Unable to start debugging on the web server. Debugging failed because integrated windows authentication is not enabled. Please see help for assistance."

Steps 1.
Start --> Run --> inetmgr --> click on ok to open the iis window.

Steps 2.
websites
--> Right click on it ---> choose "Properties" to open the web site properties window.

Steps 3.
select "Directory securities" --> click on edit button in "Anonymous access and authentican control".

Steps 4.
check the "Integrated windows authentication" check box in authenticated access. and click on OK buton to close the authentication Method window.

Now you are ready to run your asp.net website with ASP.NET debugger.