slideshow window (detail view) scrunched in IE with javascript
  • ok here is an interesing one.

    My OS: Win XP, using IE 6 and Firefox 2
    i have the latest version of the script.

    I follow the instruction of one of the users to include the gallery using PHP include script in a file and then placed that file in my gallery folder to call index.php.

    the problem is my javascript rollovers stopped working becauyse the body onload command was no longer being recognized. I tried adding that to the index.php file body tag but this causes none of the gallery to load. SO from another forum post, i extrapoloated what i should do and thiat is edit

    ajax.functions.js

    and change

    window.onload = init;

    to this:
    window.onload = init; preloadImages();

    and now the JS rollovers work (YEA!)

    However now when i click on a thumbnail (this is only in IE, works nicely in firefox) the detailed overlay scrunches up and is only displayed in the top left of the browser (width of about maybe 400 px) instead of remaining centered

    again this only happens in IE after i change the onload setting.

    (also the the image name highlight rollovers stop working too but i dont really care about that)

    There is probably an extra ie hack i probably need to add to stop this behaviour but i am not a programmer and can only figure out so much before I need to ask

    any ideas would be appreciated.

    btw this is a terrific script! I just went through 2 other popular ones that were so difficult to setup and use. Yours is a fresh breath!

    Thanks

    John
  • actually that 'init' is a function that is defined a little down from that line you mention. juat copy preloadimages() inside the init() function and it should work.

    if it gives you trouble, try moving it to the beginning or the end of the function.

    good luck.
  • Hi Victor thanks for your reply, that is better coding for sure however looks like i was mistaken, the pop up gets scrunched whether i have that in or not doing the php include.

    it actually seems like the tables from my page, affect the layout of the pop up? i've tried various test etc to get it to work and it only shows up right if it is not within a table.

    can you suggest to me a better way then to include the gallery into an existing layout?

    thanks

    john
  • for embedding minishowcase into an existing site, please refer to the
    instructions.htm
    file that is included in the download zip file.
  • Hi Victor,

    i've decided to go back and try the header footer method. It is getting there just working on the css styling since it is not taking my footer stylings for some reason ( i put then in incldes.css as instructed) ....

    also you do realize that that file says absolutely nothing about enbedding minishowcase into a site?

    this is the best resource i could find and it took me 1/2 hour to find it

    http://minishowcase.net/community/comments.php?DiscussionID=90&page=1#Item_0

    thanks for your assistance and galllery.
  • i did not know, i thought i put it there.

    i will put it, thanks