XUpload - XUpload and XHTML Validation - upload_status Positioning

Message
Author
DrNikon224
Posts: 4
Joined: Dec 11, 2006 3:56 am

XUpload and XHTML Validation - upload_status Positioning

#1 Postby DrNikon224 » Dec 15, 2006 5:09 am

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.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Dec 15, 2006 9:06 am

Thanks for reporting the problem. Fixed it.
Just download http://sibsoft.net/xupload2.js and replace your xupload.js with it.

DrNikon224
Posts: 4
Joined: Dec 11, 2006 3:56 am

#3 Postby DrNikon224 » Dec 17, 2006 9:11 pm

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.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#4 Postby PilgrimX182 » Dec 18, 2006 7:25 am

Hmm...PM me the URL to your upload_form.html, or put first 2-3 lines from it here. Are you sured you've updated your cache?

Manfred Kooistra
Posts: 4
Joined: Jan 02, 2007 1:20 am

#5 Postby Manfred Kooistra » Jan 03, 2007 4: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?

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#6 Postby PilgrimX182 » Jan 11, 2007 6:43 am

Erm..I've done some improvements there, don't remember what exactly, they will be in upcoming release, I hope it will be out this month.