I'm integrating XUpload Pro 2.3 into a webapp that must validate as XHTML Transitional (long story). I'm forcing the inline progress display, and it works great - shows up in the middle, the trans_bg covers the upload form page, etc., so long as the DOCTYPE statement is missing (it is missing in the XUpload distribution).
When I add the DOCTYPE statement, the upload progress window will only appear on the far left of the screen, approx 100px from the top of the page, and the trans_bg is visible for only about 50px above the upload_status, and for the width of the upload_status box. IE seems to look past this and displays the upload_status as expected, but FF (PC/Mac) and Safari have the left-display problem.
What can I change in the CSS to make XUpload display the upload_status properly and work with validated XHTML? How complicated is this? I suspect it's something on lines 406/407 of 'xupload.js', but I can't seem to discover what exactly needs to change.
XUpload - XUpload and XHTML Validation - upload_status Positioning
-
- Posts: 4
- Joined: Dec 11, 2006 3:56 am
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Thanks for reporting the problem. Fixed it.
Just download http://sibsoft.net/xupload2.js and replace your xupload.js with it.
Just download http://sibsoft.net/xupload2.js and replace your xupload.js with it.
-
- Posts: 4
- Joined: Dec 11, 2006 3:56 am
Thanks - but no dice - the inline progress window still rides the left edge of the page after replacing the xupload.js file.
I've hacked the rest of my project around to deal with out the XHTML Transitional validation. Would be nice to have, but for now I'm forced to proceed without it. If this is remedied in the future, I'd be very interested in adding it to my project and "correcting" things, so to speak.
I've hacked the rest of my project around to deal with out the XHTML Transitional validation. Would be nice to have, but for now I'm forced to proceed without it. If this is remedied in the future, I'd be very interested in adding it to my project and "correcting" things, so to speak.
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
-
- Posts: 4
- Joined: Jan 02, 2007 1:20 am
I have the same problem that DrNikon224 has, exept with a HTML 4.01 strict doctype instead of XHTML: without doctype the inline progress window is centered in the middle of the web page and trans_bg.gif covers the rest; with doctype the inline progress window sits at x=0, y=50 approximately while the trans_bg.gif only covers the narrow 50px to the top of the page and leaves the rest of the page uncovered.
Strange.
Above all happens in Firefox 2.0.0.1 on Mac.
In Safari 2.0.4 the inline progress window sits at 0,0,
in Netscape 7.2 at 0,50,
in IE 5.2 for Mac it sits at 0,50 even before I click "upload" (!!!) -
and in Opera 8,51 everything works fine!
Any ideas?
Strange.
Above all happens in Firefox 2.0.0.1 on Mac.
In Safari 2.0.4 the inline progress window sits at 0,0,
in Netscape 7.2 at 0,50,
in IE 5.2 for Mac it sits at 0,50 even before I click "upload" (!!!) -
and in Opera 8,51 everything works fine!
Any ideas?
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm