Is this IE bug?

Discussion in 'HTML' started by harry, May 25, 2005.

  1. harry

    harry Guest

    Uisng IE 5.5 (sp2) - intranet app & no other browser required.

    I have a table row with one cell in which there are 5 images. Depending on
    what the user does these are shown/hidden (using functions below) as
    neccesary.

    The trouble is when you resize the browser window, & the table automatically
    resizes's, those image's that have been made visible using the showObject()
    function below disappear!

    Tried it in Firefox & no problem so is this a bug in IE? if so has anyone
    else come across? workaround? or am I doing something daft?

    If I make the cell a fixed with rather than "100%" they stay visible!

    function showObject(id)
    {
    getElement(id).style.display = '';
    }

    function hideObject(id)
    {
    getElement(id).style.display = 'none';
    }

    Completely baffled!

    thanks

    harry
     
    harry, May 25, 2005
    #1
    1. Advertising

  2. harry

    dotfx Guest

    try using > getElement(id).style.display = 'block';

    Cheers
     
    dotfx, May 25, 2005
    #2
    1. Advertising

  3. harry

    harry Guest

    tried that thanks but still the same, also causes next image to start on a
    new line.

    I'm trying to have all images on the same line & shuffle up together as they
    are shown/hidden

    Think I might have to have cell fixed width unless you have any other ideas?

    thanks once again

    harry

    "dotfx" <> wrote in message
    news:d71bbo$8ok$-data.net...
    > try using > getElement(id).style.display = 'block';
    >
    > Cheers
     
    harry, May 25, 2005
    #3
  4. harry

    harry Guest

    think I've found a workaround,

    <body onResize="showButtons()">

    so the images(or buttons) are hidden/shown everytime the window is resized!

    not very pretty but then IE isn't is it!

    thanks

    harry


    "harry" <> wrote in message
    news:7lWke.39179$...
    > tried that thanks but still the same, also causes next image to start on a
    > new line.
    >
    > I'm trying to have all images on the same line & shuffle up together as

    they
    > are shown/hidden
    >
    > Think I might have to have cell fixed width unless you have any other

    ideas?
    >
    > thanks once again
    >
    > harry
    >
    > "dotfx" <> wrote in message
    > news:d71bbo$8ok$-data.net...
    > > try using > getElement(id).style.display = 'block';
    > >
    > > Cheers

    >
    >
     
    harry, May 25, 2005
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John

    Re: BUG? OR NOT A BUG?

    John, Sep 20, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    587
  2. RedEye
    Replies:
    2
    Views:
    615
    Jason Kester
    Dec 13, 2005
  3. Michel Joly de Lotbiniere

    Bug Parade Bug 4953793

    Michel Joly de Lotbiniere, Nov 30, 2003, in forum: Java
    Replies:
    4
    Views:
    671
    Michel
    Dec 2, 2003
  4. DarkSpy
    Replies:
    4
    Views:
    915
    tom_usenet
    Jun 27, 2003
  5. Steve Holden
    Replies:
    1
    Views:
    421
    Behrang Dadsetan
    Jul 2, 2003
Loading...

Share This Page