IE show/hide select boxes

9 views
Skip to first unread message

brent80301

unread,
Oct 11, 2005, 9:22:20 AM10/11/05
to DOM Tooltip Library
When a tooltip appears over top of a select box, the select box
disappears (as expected). It however does not reappear after the tip
disappears. Any suggestions? (IE6.0.29, WinXP Pro SP SP2)

-Brent

brent80301

unread,
Oct 11, 2005, 10:50:30 AM10/11/05
to DOM Tooltip Library
Oh yeah, I am using DOM TT Version 0.7.1.

gautam

unread,
Oct 14, 2005, 11:43:46 AM10/14/05
to DOM Tooltip Library
Why dont you replace the version with the one that has a fix and uses
the ifram concept in IE to get rid of the search and destroy
capabilities.

brent80301

unread,
Oct 17, 2005, 12:55:32 PM10/17/05
to DOM Tooltip Library
Thanks for your suggestion. Which version are you referring to? I am
using the latest (0.7.1).

vitorfreitas

unread,
Oct 18, 2005, 1:23:09 AM10/18/05
to DOM Tooltip Library
After a little bit of debugging this night i think i have solved the
problem.
To apply the hack just follow this steps:

1. Open the file "domLib.js";
2. search for the function "domLib_getElementsByTagNames(in_list,
in_excludeHidden)";
3. comment the following code in the function:
<code>
if (in_excludeHidden && domLib_getComputedStyle(matches[j],
'visibility') == 'hidden')
{
continue;
}
</code>

Now everything should work fine.
I just made this hack a few minutes ago, its not propally tested so, if
you find any problems with this hack or creat a better one please
informe.
Thanks.

brent80301

unread,
Oct 18, 2005, 9:41:17 AM10/18/05
to DOM Tooltip Library
After casual testing, your fix appears to work well for me. Thank you
very much for sharing.

-Brent

gautam

unread,
Oct 19, 2005, 12:20:02 PM10/19/05
to DOM Tooltip Library
Brent I modified this a bit so that you dont have to search and destroy
in IE by using Iframe - do you want to use that instead?

Dan Allen

unread,
Jun 12, 2006, 1:17:59 AM6/12/06
to dom-t...@googlegroups.com
This problem might be caused by a conflict in domLib version between
domTT and domMenu. I needed to add a feature that would check for
hidden select boxes initially so that I didn't end up making visible
select boxes that were initially hidden. If someone can give me some
examples as to when these select boxes don't show up again, I can
probably put in a fix. Let me know if you are using any other library
like domMenu as well.

/dan

On 10/19/05, gautam <gautam....@gmail.com> wrote:
>
> Brent I modified this a bit so that you dont have to search and destroy
> in IE by using Iframe - do you want to use that instead?
>
>


--
Daniel Allen
Registered Linux User #231597

Mojavelinux.com: Open Source Advocacy
http://www.mojavelinux.com

While I make a strong effort to keep up with my email on a daily basis,
life and work come first and, at times, keep me away from my mail for a
while. If you contact me and then don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the filters. Please don't hesitate to resend a message if
you feel that it did not reach my attention.

Dan Allen

unread,
Oct 23, 2006, 10:38:03 AM10/23/06
to dom-t...@googlegroups.com
Even with the iframe trick in place, search and hide select boxes is
still necessary for IE 5.0.

/dan

Reply all
Reply to author
Forward
0 new messages