Javascript: google scroll up and down effects, compatible with IE6, 7,8, FF

2010 latest and fully compatible with ie6, ie7, ie8, ff css hack writing reincarnation. the mythical and creative new work "Qishan" is made public for the first time you can enjoy the p high-definition screen presentation of the game history

Simulation code of jQuery implementation principle-3 event processing

An event management object named events is added to the private extension object of the object. On this object, each event corresponds to an attribute with the same name. The attribute value is an array, the handler for this event is pushed into

JQuery-based code that can control left-right scrolling and automatic scrolling

I shared an example of controlling the scroll of the left and right sides and automatically rolling. It took more than two hours last night to endure the bite and sweat of the sick, and a line of hard-earned code. Haha.Two modes are encapsulated:

Solution to cover div floating layer with flash

Online solutions:From: http://codingforums.com/showthread.php? T = 95109(A) place Flash embed script in container (I use SWFObject. js) [embed the flash script into a div container](B) add wmode = transparent to Flash embed script [add wmode =

Javascript function parameters can have default values.

untitled document [Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]Here, I reference this code not because it is convenient for me to call it later, but because I have discovered some methods

Summary of quirks of different browsers

1. When setting div top, left must be set together. Otherwise, the object disappears, indicating that the layer postion is set to fixed.Document. getElementById ("mydiv"). style. top = 10 + "px ";Document. getElementById ("mydiv"). style. left = 10 +

Inherit IHttpHandle to organize and manage JS plug-ins

For example:Copy codeThe Code is as follows: Sometimes, the Js files referenced on the page will be more. If the page layout is neat and good, once the layout is slightly untidy, the whole page will look messy, is there a more concise way to

Dynamic horizontal navigation designed by DIV + CSS

:DEMO code: DIV + CSS creates exquisite navigation menus for sky collection. "> A Webmaster must have high-quality webpage effects and advertisement code. Jb51.net, special js effects for webmasters. Jb51.net script home special effect

A jquery-based image Switching Effect

The following code is a reference for anyone learning jquery.Html code:CodeCopy codeThe Code is as follows: Javascript:Copy codeThe Code is as follows:$ (Document). ready (function (){Var $ warp = $ ("# warp ");$ Warp. IsRunning = false;Var seconds =

JavaScript-linked unlimited encapsulation class. Data is not Ajax-connected and can be added at will

Html codeCopy codeThe Code is as follows: try Level 1: -- select -- Level 2: -- select -- Level 3: -- select -- Js CodeCopy codeThe Code is as follows:Var one = new Linkage ('base1', 'base2', data2 );One. init ();Var two = new Linkage

This and execution context implementation code

The execution context of the function depends on the current running environment:1. Global variables and global functions are attached to global objects (Windows). Therefore, using "var" or "this" is equivalent to defining global variables.2. The

Regular javascript scrolling plug-in

Core code:Copy codeThe Code is as follows:Control Code:Copy codeThe Code is as follows:Demo:Below is my HTML code. I can see what is going on at a Glance: unofficial ghost places in the third empire unofficial regulations in the third empire

Question about listening to browsers with youdao JavaScript

But I don't know if you have encountered such a situation. The new window is opened through instead of window. opener or showModalDialog.In particular, note that the address (PAGE) pointed to by this href is not developed by us. For example, we

Javascript web page Image Viewer (compatible with IE and FF) allows you to zoom in and out images

Fixed some errors of other versions on the Internet. Perfect no wrong version JS web page Image Viewer-can control the image zoom in and out to restore the mobile effect [Ctrl + A select all Note: If you need to introduce

Javascript + CSS achieve Flash dynamic news effect (pp original)

Picture News 1 Picture News 2 Picture News 3 Picture News 4 1 2 3 4 [Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]

Sample Code of the Javascript loop binding event

For example, a list with an uncertain length changes the background when the mouse passes through a certain line. Untitled Page 1st records 2nd records 3rd records 4th records 5th records 6th records [Ctrl + A select all Note:

Javascript implementation script with full uppercase letters

Complete code: [Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]Script description:Step 1: Add the following code to the AreaStep 2: Add the following code to the Area

FormValidate form verification function code update and download

FormValidate feature updateDownload:Http://xiazai.jb51.net/jslib/FormValidate.rarMore common methods:Http://jobj.googlecode.com/svn/trunk/FormValidate/demo.htmlAdd method:Extend,Add Verification Mode 4, the same as 3, but immediately stop the

Js mouse and keyboard event instance code

1. Which mouse button is clicked? click the left or right-click your mouse to try it [Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]2. What are the coordinates of the current mouse cursor?

Javascript input box prompt list Effect

The code can be more concise, and more convenient methods are welcome to contribute. the input box prompts the list effect _ script home location: CHINA USA Sex: Male Female education: Junior College undergraduate master

Total Pages: 5378 1 .... 5302 5303 5304 5305 5306 .... 5378 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.