article

Tuesday, April 6, 2010

Jquery Basics

Jquery Basics

jQuery Stucture
$ = jquery, selector is a DOM element and function execute a jquery fuction.
$(selector).function(parameters);

DOM - Document Object Model Wiki

Selectors

-> Select DOM elements eg: $('h1') ,$('div'), $('li')..
-> Select ID : $('#id_name')
-> Select Class : $('.class_name')



1. Click() Event




LINK


2. Hide and Show With Click Event



HIDE
SHOW
SAMPLE HIDE SHOW BOX




Effects

Fading Out and In : $(selector).fadeOut() and $(selector).fadeIn()
Sliding Up and Down : $(selector).slideUp() and $(selector).slideDown()
Sliding Toggle : $(selector).slideToggle()
Custom animation effect : $(selector).animate()


3. Fading Effect



fadeOut()
fadeIn()
A SAMPLE OF FADE OUT FADE IN




Attributes

attr()
attr() method makes it easy to retrieve a property value from the matched element. $(selector).attr(properties); Eg Attributes: id, class, title, src, href, etc

4. attr()


link


5. Change CSS







Sample text!


Testing!



Click me






6. Add/Remove attribute



jQuery: Add/Remove attribute







7. Add css style on clicking the link
$(document).ready(function(){
$("#clickme").click(function(){
$("#content").css({"color":"green","font-size":"20px"});
});
});
<div id="clickme">Click me</div>
<div id="content">
Contents
</div>

Jquery and CSS Twitter like Login

Jquery and CSS Twitter like Login




















Close


Sunday, April 4, 2010

Basic web effect with jQuery

Basic web effect with jQuery

Sample code for basic effect functions in jQuery

1. Hide and show effect











2. Hide and show effect




This div can be shown or hided slowly



3. FadeIn and FadeOut effect



This paragraph can fade in and fade out





4. Slide up and Slide down






This toggle can be slide up and down



5. Animate effect






6. Click paragraph and it will fade away









Example of Jquery, click paragraph
and it will fade away.







7. Expanding Textbox Facebook like















8. Custom Animation with animate() $(selector).animate()



animate()

==>

Saturday, April 3, 2010

Custom Form Element

Custom Form Element

If you want to know more and download the source follow the link below

http://customformelements.net/demopage.php

Checkbox and Radio Input Replacement

Checkbox and Radio Input Replacement

If you want to know more and download the source follow the link below

http://www.chriserwin.com/scripts/crir/index.php

NiceForm

NiceForm

If you want to read more and download the source follow the link below.

http://www.emblematiq.com/lab/niceforms/

CSS star rating redux

CSS star rating redux

If you want to read more and download the source follow the link below.

http://www.komodomedia.com/blog/2007/01/css-star-rating-redux/

Reddit style voting with php, mysql and html

Reddit style voting with php, mysql and html

How to build a star ratings jQuery Plugin

How to build a star ratings jQuery Plugin

If you want to read more and download the source follow the link below.

http://www.switchonthecode.com/tutorials/how-to-build-a-star-ratings-jquery-plugin

Mootool Rabid Rating

Mootool Rabid Rating

If you want to read more and download the source follow the link below.

http://msteigerwalt.com/widgets/ratings/v1.2/

Prototype Starbox

Prototype Starbox

Starbox allows you to easily create all kinds of rating boxes using just one PNG image.

If you want to read more and download the source follow the link below.

http://www.nickstakenburg.com/projects/starbox/

jQuery Start Rating

jQuery Start Rating

The Star Rating Plugin is a plugin for the jQuery Javascript library that creates a non-obstrusive star rating control based on a set of radio input boxes.

If you want to read more and download the source follow the link below.

http://www.fyneworks.com/jquery/star-rating/

jQuery Popup Dialog

jQuery Popup Dialog

If you want to read more and download the source follow the link below.

http://www.queness.com/post/1696/create-a-beautiful-looking-custom-dialog-box-with-jquery-and-css3

Demo

http://www.queness.com/resources/html/project/index.html

Simple toggle view

Simple toggle view

It's simple to hide information and show.

If you want to read more and download the source follow the link below.

http://www.queness.com/post/1743/create-a-fast-and-simple-toggle-view-content-with-jquery

jQuery Tabbed Interface

jQuery Tabbed Interface

It displays information and in the same time it can saves heaps of spaces in a webpage.

If you want to read more and download the source follow the link below.

http://www.queness.com/post/106/jquery-tabbed-interfacetabbed-structure-menu-tutorial


Demo

http://www.queness.com/resources/html/tabmenu/jquery-tabbed-menu-queness.html

Thursday, April 1, 2010

Block USB Devices

Block USB Devices

1. Go to Start –> Run, type Regedit.
2. Go to HKEY_LOCAL_MACHINE\System\CurrentControlset\Services\USBStor
3. In the right pane, look for value Start and have value as 0000000(3)
4. Double click on that and change that value to 4.

Enable (Disabled Task manager)

Enable (Disabled Task manager)

1. Go to "Start" -> "Run" -> Write "Gpedit.msc" and press on "Enter" button.
2. Navigate to "User Configuration" -> "Administrative Templates" -> "System" -> "Ctrl+Alt+Del Options"
3. In the right side of the screen verity that "Remove Task Manager"" option set to "Disable" or "Not Configured".
4. Close "Gpedit.msc" MMC.
5. Go to "Start" -> "Run" -> Write "gpupdate /force" and press on "Enter" button.

How to change IP

How to change IP

1. Click on "Start" in the bottom left hand corner of screen

2. Click on "Run"

3. Type in "command" and hit okYou should now be at an MSDOS prompt screen.

4. Type "ipconfig /release" just like that, and hit "enter"

5. Type "exit" and leave the prompt

6. Right-click on "Network Places" or "My Network Places" on your desktop.

7. Click on "properties"You should now be on a screen with something titled "Local Area Connection", or something close to that, and, if you have a network hooked up, all of your other networks.

8. Right click on "Local Area Connection" and click "properties"

9. Double-click on the "Internet Protocol (TCP/IP)" from the list under the "General" tab

10. Click on "Use the following IP address" under the "General" tab

11. Create an IP address (It doesn't matter what it is. I just type 1 and 2 until i fill the area up).

12. Press "Tab" and it should automatically fill in the "Subnet Mask" section with default numbers.

13. Hit the "Ok" button here

14. Hit the "Ok" button againYou should now be back to the "Local Area Connection" screen.

15. Right-click back on "Local Area Connection" and go to properties again.

16. Go back to the "TCP/IP" settings

17. This time, select "Obtain an IP address automatically"tongue.gif

18. Hit "Ok"

19. Hit "Ok" again

How to Add a Paypal Donation Button?

How to Add a Paypal Donation Button?

1. Log in to your PayPal account.

2. Click Merchant Services.

3. Click Donations.

4. Complete the form with the details of your item and select the Donation button you wish to use. For assistance with this process, click More Resources in the upper right corner of this page.

5. In the Currency drop down box, select the type of currency you would like to receive your payments in.

6. If you need to specify additional details, click Add More Options and fill out the appropriate fields, otherwise click Create Button Now.

7. If you selected Add More Options, click Create Button Now.

8. Copy the HTML code into a text file in Notepad and save it. Click Done if you are finished creating buttons, or click on Create Another Button if you want to make additional buttons.

9. Login at Blogger.com.

10. Click on Layout link on Dashboard.

11. Click the Add page Element link in sidebar on the Page Elements subtab of Template tab.

12. Choose the Html/Javascript option in the popup window.

13. Paste the code from Paypal under the Contents window. Save.

14. Clear Cache and view Blog.

To Hide The Drives In Your Pc.

To Hide The Drives In Your Pc.

Goto run.Type regedit.Now go to:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ExplorerNow in the right pane create a new DWORD item and name it 'NoDrives'. Now modify it's value and set it to 3FFFFFF (Hexadecimal) .Now restart your computer. So, now when you click on My Computer, no drives will be shown. To enable display of drives in My Computer, simply delete this DWORD item that you created.Again restart your computer.You can now see all the drives again.

Related Post