javascript - How do I hide html upload when flash is enable with SWFUpload? -


how hide "html upload" part when flash enabled in browser swfupload? looked wordpress source code see how they're doing. have settings parameter swfupload object looks this:

custom_settings : {     degraded_element_id : "html-upload-ui", // id of element displayed when swfupload unavailable     swfupload_element_id : "flash-upload-ui" // id of element displayed when swfupload available     }, 

i've put these id numbers div elements. have not figured out should more make work.

please me working, in way.

<style type="text/css">#divname { display: none; } </style> 

display hidden makes element hide, still takes space. display none makes element take no space, it's still in html code, nothing, it's commented out.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -