Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Is this IE bug?

Reply
Thread Tools

Is this IE bug?

 
 
harry
Guest
Posts: n/a
 
      05-25-2005
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


 
Reply With Quote
 
 
 
 
dotfx
Guest
Posts: n/a
 
      05-25-2005
try using > getElement(id).style.display = 'block';

Cheers
 
Reply With Quote
 
 
 
 
harry
Guest
Posts: n/a
 
      05-25-2005
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$...
> try using > getElement(id).style.display = 'block';
>
> Cheers



 
Reply With Quote
 
harry
Guest
Posts: n/a
 
      05-25-2005
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$ k...
> 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$...
> > try using > getElement(id).style.display = 'block';
> >
> > Cheers

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments