uujgii / web-to-print-scripts

Automatically exported from code.google.com/p/web-to-print-scripts
0 stars 0 forks source link

IE6 fall-back #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We need to disable all advanced scripts for IE6. They should be able to
operate the site without the lovelies until they upgrade.

Original issue reported on code.google.com by zetapri...@gmail.com on 14 May 2010 at 10:48

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
We are talking about file uploading on preview pages and file uploading on my 
images page. Use realestate for testing.

Original comment by zetapri...@gmail.com on 14 Jun 2010 at 8:37

GoogleCodeExporter commented 9 years ago

Original comment by trilobit.alex@gmail.com on 15 Jun 2010 at 6:08

GoogleCodeExporter commented 9 years ago
Scripts are still running in IE6, tested it on realestate.zetaprints.com in IE6 
(version: 6.0.2900.2180.xpsp_sp2)

My images page
Images get queued indicating the script is active (my_images_queue2.png)

Preview page
tried it here:
http://realestate.zetaprints.com/?page=template;TemplateID=3F3CBD89-D183-41E3-AD
82-5E533E33E448
JS uploader is enabled (preview_page.png)

Original comment by agur...@gmail.com on 15 Jun 2010 at 11:00

Attachments:

GoogleCodeExporter commented 9 years ago
The URLs were changed to the new ones.

Change them back to
http://realestate.zetaprints.com/java/test/1/jquery.min.js
http://zetaprints.com/java/dev/imageEditor.js
http://zetaprints.com/java/dev/multiFileUpload.js
http://zetaprints.com/java/dev/fileUpload.js
http://zetaprints.com/java/dev/colorPicker.js
if you want to roll back.

Original comment by trilobit.alex@gmail.com on 15 Jun 2010 at 11:49

GoogleCodeExporter commented 9 years ago
Scripts are disabled in IE6. Tested in IE6, IE8, FF and Chrome on 
realestate.zetaprints.com

Original comment by agur...@gmail.com on 15 Jun 2010 at 1:44

GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 16 Jun 2010 at 3:02

GoogleCodeExporter commented 9 years ago
We need to add image editing script to the mix.

Original comment by zetapri...@gmail.com on 16 Jun 2010 at 3:03

GoogleCodeExporter commented 9 years ago
Think the image editor is here.

http://code.google.com/p/web-to-print-scripts/source/browse/#svn/branches/image_
editor

Original comment by zetapri...@gmail.com on 16 Jun 2010 at 3:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
SVN release
http://code.google.com/p/web-to-print-scripts/source/detail?r=114

The URL was changed to the new
http://zetaprints.com/java/dev/20100614/imageEditor.js

How it works.
The Image editor takes no action and exits on onClick in IE6

Original comment by trilobit.alex@gmail.com on 17 Jun 2010 at 3:04

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
IE6 pops up an error message notifying the user that the editor is not suported 
in IE6.
There's a typo in the message though (img_editor.png)

Should read:
"Sorry, but the image editor doesn't work in this version of Internet Explorer"

Original comment by agur...@gmail.com on 17 Jun 2010 at 2:45

Attachments:

GoogleCodeExporter commented 9 years ago
There should be no msg. Just exit the script.

Original comment by zetapri...@gmail.com on 17 Jun 2010 at 7:01

GoogleCodeExporter commented 9 years ago
There should be no msg. Just exit.

Original comment by zetapri...@gmail.com on 17 Jun 2010 at 7:02

GoogleCodeExporter commented 9 years ago
fixed

Original comment by trilobit.alex@gmail.com on 27 Jun 2010 at 10:47

GoogleCodeExporter commented 9 years ago
Pop-up err is removed. The "Edit" button does not work in IE6 - nothing happens 
on click - Test OK

There's a problem with this fallback regarding G-skin:
On "My images" page the "Upload new file" button disappears in IE after one 
image is uploaded (upload_button.png).

Go to realestate.zetaprints.com in IE
Navigate to "My images" page and upload an image. The Button should disappear 
right after you do that.

Original comment by agur...@gmail.com on 28 Jun 2010 at 12:39

Attachments:

GoogleCodeExporter commented 9 years ago
OK, we have a problem here.
It was tested at the same time as the developer was working on something else 
using the same site.
So, which scripts did you actually test?

We need to clearly separate the 2 areas somehow.
No more testing of scripts to be done until then.

Original comment by zetapri...@gmail.com on 28 Jun 2010 at 12:45

GoogleCodeExporter commented 9 years ago
SVN release
http://code.google.com/p/web-to-print-scripts/source/detail?r=125

Now, "Upload new file" button doesn't disappear in IE after upload

Original comment by trilobit.alex@gmail.com on 30 Jun 2010 at 12:07

GoogleCodeExporter commented 9 years ago
These are the scripts currently on realestate:

http://realestate.zetaprints.com/java/test/1/jquery.min.js
http://zetaprints.com/java/dev/20100625/imageEditor.js
http://zetaprints.com/java/dev/20100625/multiFileUpload.js
http://zetaprints.com/java/dev/20100625/fileUpload.js
http://zetaprints.com/java/dev/20100614/colorPicker.js

Problem remains.
Login to (in IE)
http://realestate.zetaprints.com/ as a printer and navigate to My Images page. 
Don't move the cursor. Wait the page to load with all image thumbs. You'll 
notice that the "Upload new file" button does not show up until you hover the 
mouse in the area where it it suppose to be. Shows up on mouse hover.

Original comment by agur...@gmail.com on 30 Jun 2010 at 7:34

GoogleCodeExporter commented 9 years ago
I replicated this issue in IE8 reliably and every time. Just follow the 
instructions above.

Observations: 

1. moving the cursor over the area around the button makes IE to draw it
2. resizing the window makes IE to draw it
3. moving the cursor over FOLDER field makes IE to draw it when the dropdown UL 
with the list of folders shows

Suggestions: 
1. it's not the first time we encounter this problem, but I cannot recall if it 
was IE or FF. 
2. Try to force style change on the button and what is over the button. It can 
be hidden by something opaque.

Original comment by zetapri...@gmail.com on 1 Jul 2010 at 12:01

GoogleCodeExporter commented 9 years ago
To fix this problem, we need rewrite CSS class in G-skin styles.css

1551
#newFileFormForm .submit /* Upload new file */
{
  cursor:pointer;
  border:none;
  background:url(img/btns.png) no-repeat;
  background-position:0px -50px;
  color:#FF0000;
  font-weight:normal;
  font-family: arial,sans-serif;
  font-size:9pt;
  width:120px;
  height:28px;
  position:relative; /* this is problem string, remove this, IE don't like this */
  top:1px;
}

Original comment by trilobit.alex@gmail.com on 3 Jul 2010 at 7:25

GoogleCodeExporter commented 9 years ago

Original comment by trilobit.alex@gmail.com on 5 Jul 2010 at 3:50

GoogleCodeExporter commented 9 years ago
Last SVN release
http://code.google.com/p/web-to-print-scripts/source/detail?r=128

Last changes
http://code.google.com/p/web-to-print-scripts/source/diff?spec=svn128&r=128&form
at=side&path=/branches/skins/g-skin/styles.css

The URL was changed to the new.
http://zetaprints.com/java/dev/20100625/g-skin/styles.css

Original comment by trilobit.alex@gmail.com on 5 Jul 2010 at 4:25

GoogleCodeExporter commented 9 years ago
Script is disabled in IE6. I only get a hint after I delete an image from the 
grid - "Edit" button appears but disappears right away.

Original comment by agur...@gmail.com on 5 Jul 2010 at 8:00

GoogleCodeExporter commented 9 years ago

Original comment by zetapri...@gmail.com on 17 Jul 2010 at 2:27