Rock your page. Free: rockucontrol control released, Open Source: revealtransitionimage

Source: Internet
Author: User

Recently, my mood has been a little low and I have no idea how to do things. Therefore, the third control was released only today.

Carefully check the instructions before use.

Note:

Scroll through a region on your page.

Set the rocktocontrol attribute to scroll the object,

The drop-down list lists controls such as runat = server table panel span on the current page,

If the content you want to scroll is not in the list, you can freely enter the Object ID in the input box.

There are two methods of scrolling: cyclic scrolling and back-and-forth scrolling. The scroll direction is the top, bottom, left, right (corresponding to the cycle mode), horizontal, and vertical (corresponding to the back-and-forth mode,

When rolling, the blank content that is equal to the high (width) Degree of the scrolling content will not be rolled out after a period like the marquee method.

To make the scrolling effect display normally, set the width and height of the scrolling object. For example, you need to scroll an object horizontally (left and right, if the width attribute of this object is smaller than the actual width, the scrolling effect is displayed.

Speed attribute setting speed. The larger the value, the slower the speed, in milliseconds.

Rockmode sets whether the rolling mode is loop or back-to-back. Originally, I made this attribute and changed the direction attribute, however, there was a very strange error (this function is normal in revealtransitionimage, you can check the relationship between duration and stay), so I have removed this temporarily, so after you change the rockmode, change the direction,

The ction attribute is used to set the scroll direction. When rockmode is set to rotative, there are four optional values: Up, down, left, and right. When rockmode is set to toandfro, there are two optional values: horizontal, vertical,

The enable attribute is to use or disable this control.

When we use table, if the content of a TD is wider than the width of the table, the width of the table will be extended by TD. I have solved this problem, therefore, you can safely set the table width and height to implement scrolling.

Very tired, so I only tested panel and table objects. If you have any questions, thank you very much. In addition, the setinterval method is used for controls, so it is difficult to use a unified framework to support multiple rockucontrol controls.CodeI may update the design when I am in a good mood.

Thanks again for your support.

Effect view: http://www.ht518.com/thincontrolsdemo.htm

U down d

Because what you do is not an advanced thing, it is not easy to take it out so that the experts do not know, so we needSource codePlease raise your hand and leave your email. I will send it to your mailbox.Please leave your email here. I am not willing to do anything about csdn.

 

Is there any development in Shenzhen Science Park? Can you leave your QQ.

I would like to remind you that some of my friends have no effect after using this control. I checked the result and found that the width and height were not set. For example, you want to scroll the table width. You set it to 200 (or no limit on it), and the actual width of your table is only 180. Do You Say It will scroll ???

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.