Webuploader cannot run in Display:none

Source: Internet
Author: User

Webuploader.js multi-File Upload plugin

When the Display:none is set for its Div, the Webuploader button does not open and cannot be run

Workaround: When the browser loads, set the div display where the webuploader is located, and then set the hidden properties for

. tab-content >. tab-pane {
display:block; position:absolute; opacity:0; Filter:alpha (opacity=0) ;
}
. tab-content >. active {
position:relative; opacity:1;Filter:alpha (opacity=1);
}


Extended:
CSS element hiding
In CSS, there are many ways to hide an element (meaning invisible to the naked eye), some occupy space, some do not occupy space, some can respond to clicks, and others cannot respond to clicks.
{display:none;/* Do not occupy space, cannot click */}
/********************************************************************************/ 
{Visibility:hidden;/* Occupy space, cannot click */}
/********************************************************************************/ 
{position:absolute; top: -999em;/* Do not occupy space, cannot click */}
/********************************************************************************/ 
{position:relative; top: -999em;/* Occupy space, cannot click */}
/********************************************************************************/ 
{position:absolute; visibility:hidden;/* Do not occupy space, cannot click */}
/********************************************************************************/ 
{height:0; overflow:hidden;/* Do not occupy space, cannot click */}
/********************************************************************************/ 
{opacity:0; Filter:alpha (opacity=0);/* occupy space, you can click */}
/********************************************************************************/ 
{position:absolute; opacity:0; Filter:alpha (opacity=0); */* Do not occupy space, you can click */}
/********************************************************************************/ 

zoom:0.001;
-moz-transform:scale (0);
-webkit-transform:scale (0);
-o-transform:scale (0);
Transform:scale (0);
/ * IE6/IE7/IE9 not occupy space, ie8/firefox/chrome/opera occupy space. Can not be clicked * /

/********************************************************************************/ 

Position:absolute;
zoom:0.001;
-moz-transform:scale (0);
-webkit-transform:scale (0);
-o-transform:scale (0);
Transform:scale (0);
/ * Do not occupy space, cannot click * /


Webuploader cannot run in Display:none

Related Article

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.