Re: Re: [SMARTY] RFC: domTT functions (similar to {popup} for overlib)

From: Date: Sun, 08 Dec 2002 15:36:11 +0000
Subject: Re: Re: [SMARTY] RFC: domTT functions (similar to {popup} for overlib)
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6687@lists.php.net to get a copy of this message
On Sun, Dec 08, 2002 at 03:49:17PM +0100, Rasmus Schultz wrote: > Nice work - I have two comments though .. > > First, since it does everything overlib does, wouldn't it have made > sense to implement a replacement plugin, with an option to switch > between using one or the other? I mean, if I wanted to switch to > domTT instead of overlib, I would have to edit every file on my > site now ... Yes that would make very much sense. I had planned on further refining the plugin options to accept the same set of parameters (I've already done this in some cases, ie domTT uses 'content' where overlib uses 'text'). I didn't name them popup and popup_init because I'm still using overlib also. Once the plugin (and possibly domTT itself) it could be renamed and dropped in if one chooses to do so. Note that I am not, at this point, suggesting this plugin to be a replacement for the overlib plugin. > You should check if your modifications are somehow responsible, > although probably they're not? and/or report the error to the > programmer. I experienced this problem using the library natively on whichever IE6 version I use at work (probably the same one you're using), but I can't reproduce it with the version that comes with XP. This is on my TODO to track down on Monday as it is certainly a problem. Hopefully I'll find the problem and report it back to the domTT author. > Also, yes, it hides form elements when tooltips appear over them - > frankly that looks like half a solution to me? on forms where the > inputs are integrated into a layout, you'll get holes when the > form elements are hidden, it's going to look weird ... I'm not > sure what's worse, really - but I'll stick with overlib for now, > and frankly I'll recommend others to do the same, at least > until this library is debugged ... It is only supposed to hide select/list elements when the tooltip collides with them. The reason it does this is because IE will draw the select/list element above the tooltip layer regardless of the z-index you give it. For an example load http://www.unixbrewers.org/selectbug.html in IE. You should not see the select element, but you will. This is a known bug in IE. So, what's worse a form element being hidden or showing through a tooltip or menu? For me, I need the element to be hidden. I'm certainly not suggesting anyone use one library over the other. Use whatever you are comfortable with. I am merely providing options. Thank you for your input, -Scott -- eventus stultorum magister

« previous php.smarty.general (#6687) next »