| Page 1 of 1 | [ 6 posts ] |
|
Hi there,
Had a weird one that took a full day's debugging to work out! Using the uploader with queue management example, which was then shoehorned into a Layout, IE wouldn't upload. Typically with IE there was no error! Anyway, lots of alerts later I noted that it was stopping as soon as you tried to reference the upload object from within any function, including handleContentReady() and upload(). Started stripping down features until eventually removing the layout from that page makes it all work fine. I tried changing names of functions and objects, but nothing works in IE when you have uploader and a layout on the same page. Has anyone else experienced this or got uploader and layout working on the same page? If it would help I could knock up some examples, current stuff is password protected. Richard |
|
I haven't had the same issue with the Layout + Uploader, but we ran into an issue with anything that contains the uploader that then gets shown/hidden via css (ie: display: none;). IE seems to lose complete binding to submit the uploads to the server in this case and it seems it's more of a general thing with IE and showing/hiding flash.
I would suggest examining the CSS of your containing element with Firebug when you use the layouts and see if it has display: none; on it. Could you post a snippet of code with the markup of the containing element you're using to hold the Flash? |
|
That's very interesting actually, I had the layout being formed after the markup was done (including the flash etc), so simply moving it all around may well be worth a try. I'm pretty sure during the process of creating a layout, YUI marks stuff as display:none, so that could well be it.
I will let you know if changing the ordering helps! Richard |
|
Yup, that did it!
Moved the layout functions to the top of the script and put the upload constructer into the onRender event for the layout, now works in IE. Gotta love IE's 'quirks' Thanks for the tip. Richard |
|
Cool, glad I could be of assistance
|
|
Quote: I haven't had the same issue with the Layout + Uploader, but we ran into an issue with anything that contains the uploader that then gets shown/hidden via css (ie: display: none;). IE seems to lose complete binding to submit the uploads to the server in this case and it seems it's more of a general thing with IE and showing/hiding flash. awesome you don't know how far and wide i've searched about this error. had to register and say thanks ^__^ |
| Page 1 of 1 | [ 6 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group