Results 1 to 9 of 9

Thread: Ultimate Fade-In Slideshow (v1.5) & chrome

  1. #1
    Join Date
    Aug 2010
    Posts
    14
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade-In Slideshow (v1.5) & chrome

    1) Script Title: Ultimate Fade-In Slideshow (v1.5):

    2) Script URL (on DD):

    3) Describe problem:
    website: www.tamar-avni.com The slideShow dosen't work on Chrome. the CSS validats and the html validation has errors refering to the js. trying to "fix" them made no deference, the code dosn't work.

    4) an intresting fact about viewing this site in Chrome is that the inner pages work perfectly with all the DD scripst most of the time and on most PCs, but sometimes (and aspecialy on the customer's PC) the script doesn't work. the page is visible but not the images that should be desplayed by the script.
    I'm ageing fast trying to solve this... please help.
    Ilan.
    Last edited by jscheuer1; 08-11-2010 at 10:18 AM. Reason: remove broken link

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Use the current version:

    http://www.dynamicdrive.com/dynamici...nslideshow.htm

    Or, if you are unwilling to make such a change, here's a link to an interim version (v1.51a) that takes care of that problem, but otherwise works just like v1.5:

    http://www.dynamicdrive.com/forums/s...26&postcount=1
    Last edited by jscheuer1; 08-11-2010 at 10:47 AM. Reason: add interim version info and link
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    IlanD (08-15-2010)

  4. #3
    Join Date
    Aug 2010
    Posts
    14
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default His Majesty not satisfied...

    Thanks for the rapid reply!
    I've changed to the new script. explorer doesn't mind, it works fine.
    His majesty Chrome doesn't except...it seams the div is not visible to chrome. all that I see is a small section of the dotted border of the div's containing td, althogh it has dimensions in the css.
    any idea?
    Ilan.

  5. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Looks like some kind of a character encoding issue. Even though you have:

    Code:
    <META http-equiv=Content-Type content="text/html; charset=windows-1255">
    The page is being served/seen by Chrome (and Firefox and Safari) as UTF-16. Apparently so is the script, which makes it look like Chinese or some other Asian pictographic language.

    This may be due to the server's configuration, which generally is the only way to override the page's meta tag encoding. Though this can be done several ways on the server.

    However, I have a hunch that it's because the page itself was saved in UTF-16 in your editor, this is also known as UCS-2 Big (or Little) Endian.

    Ideally the page should be saved in the encoding it is being served as. This can be done in several editors. I'm only familiar with how in one, NotePad++.

    If you don't know how to do this in your editor (save as windows-1255), I can attach a version of your page that is saved in that encoding. But a more common encoding is UTF-8, which is available in a great many more editors and will also work for the Hebrew characters you have in the meta description tags. If you save in UTF-8 encoding, then change the meta tag:

    Code:
    <META http-equiv=Content-Type content="text/html; charset=windows-1255">
    to:

    Code:
    <META http-equiv=Content-Type content="text/html; charset=utf-8">
    Also Important: You may not be able to convert your current file. You may need to make a new file in the proper encoding. To that end, I'm attaching a properly encoded version in a .zip archive:

    Attachment 3471
    Last edited by jscheuer1; 08-12-2010 at 01:43 PM. Reason: Think I found the answer
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. The Following User Says Thank You to jscheuer1 For This Useful Post:

    IlanD (08-15-2010)

  7. #5
    Join Date
    Aug 2010
    Posts
    14
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default Wow, sounds interesting.

    Thanks John for your deep replay.
    I wonder though, when I first uploaded the site to the server, I had some rendering problems and the server support insisted I should upload in unicode. that worked and I re uploaded the site in unicode. can this be the conflict you refer to or is it a different issue?
    Ilan.

  8. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It's the same issue.

    If you have little endian like I'm beginning to think you do, on your copy (not the one from my post), change:

    Code:
    <META http-equiv=Content-Type content="text/html; charset=windows-1255">
    to:

    Code:
    <META http-equiv=Content-Type content="text/html; charset=utf-16l">
    You used unicode 16 which has l and b (little endian and big endian). Using unicode 8 is probably what they meant (utf-8). But using windows-1255 should also work if the page is saved that way.

    The thing is, whatever you use, the page must be saved in that encoding in the editor and its meta Content-Type tag must specify the same encoding that it was saved in.

    But, due to the way different browsers react, the best idea would probably be to save in utf-8 (which is also unicode) and use this meta Content-Type tag:

    Code:
    <META http-equiv=Content-Type content="text/html; charset=utf-8">
    Last edited by jscheuer1; 08-15-2010 at 12:16 AM. Reason: precision
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  9. The Following User Says Thank You to jscheuer1 For This Useful Post:

    IlanD (08-15-2010)

  10. #7
    Join Date
    Aug 2010
    Posts
    14
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default So all I need to do is ask...

    Thanks John!
    It works!
    You have been a grate help!
    You think if I change the encoding on all pages the inconsistency of the rendering of the different pages will also stop?
    Ilan.

  11. #8
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    As long as the markup and styles are consistent, yes. Having the same encoding on all pages would also be a good idea.

    You should however keep backups of what you have, just in case you run into problems. You cannot always be guaranteed to be able to easily switch the actual encoding of the page back, though in theory you can.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  12. The Following User Says Thank You to jscheuer1 For This Useful Post:

    IlanD (08-15-2010)

  13. #9
    Join Date
    Aug 2010
    Posts
    14
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default Well, you did it man.

    Thanks so much for all your help. it looks like all is well now. I hope the site will not start to act differently later like it did befor...
    thanks again,
    IlanD.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •