| View previous topic :: View next topic |
| Author |
Message |
DrNikon224
Joined: 11 Dec 2006 Posts: 4
|
Posted: Dec 15, 2006 5:09 am Post subject: XUpload and XHTML Validation - upload_status Positioning |
|
|
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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Dec 15, 2006 9:06 am Post subject: |
|
|
Thanks for reporting the problem. Fixed it.
Just download http://sibsoft.net/xupload2.js and replace your xupload.js with it. |
|
| Back to top |
|
 |
DrNikon224
Joined: 11 Dec 2006 Posts: 4
|
Posted: Dec 17, 2006 9:11 pm Post subject: |
|
|
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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Dec 18, 2006 7:25 am Post subject: |
|
|
| 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 |
|
 |
Manfred Kooistra
Joined: 02 Jan 2007 Posts: 4
|
Posted: Jan 03, 2007 4:20 am Post subject: |
|
|
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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Jan 11, 2007 6:43 am Post subject: |
|
|
| 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 |
|
 |
|