SibSoft Ltd.
Development Services
software products
 RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

File sharing script
XUpload and XHTML Validation - upload_status Positioning

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload
View previous topic :: View next topic  
Author Message
DrNikon224



Joined: 11 Dec 2006
Posts: 4

PostPosted: Dec 15, 2006 5:09 am    Post subject: XUpload and XHTML Validation - upload_status Positioning Reply with quote

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.
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: Dec 15, 2006 9:06 am    Post subject: Reply with quote

Thanks for reporting the problem. Fixed it.
Just download http://sibsoft.net/xupload2.js and replace your xupload.js with it.
Back to top
View user's profile Send private message Visit poster's website AIM Address
DrNikon224



Joined: 11 Dec 2006
Posts: 4

PostPosted: Dec 17, 2006 9:11 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: Dec 18, 2006 7:25 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message Visit poster's website AIM Address
Manfred Kooistra



Joined: 02 Jan 2007
Posts: 4

PostPosted: Jan 03, 2007 4:20 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: Jan 11, 2007 6:43 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group