Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
setVisible issue Firefox
dorfi
Hi all,
I have an issue with the IWItem.setVisible on containers.
When i use setVisible function to show/hide a container, there is a layout problem on Firefox, the container is displayed with a smaller size (around half of table width).
With IE it works fine.
Any ideas?
Thanks
Find more posts tagged with
Comments
Bowker
Dorfi,
Welcome to DevNet. Can you specify which version of TeamSite and which version of FF? Also can you reduce the issue to a minimum case and post that too?
dorfi
Env: TS 7.2.1
FF: 3.6, 4
Attached you find a screenshot.
The code is very simple.
On ItemChange of a dropdown list a function uses setVisible(true) to show the container, hidden previously through setVisible(false).
if(item_chooseType_selected == "link")
{
container.setVisible(true);
}
A possible bug with FF?
connectTable.PNG
dataTable.PNG
Rick Poulin
That's because of a different interpretation of the box model in Firefox, since the doctype of TeamSite forms uses quirks mode in IE and their CSS is tailored to fit that model. You may be able to fix it with custom.css in the web/formspub folder in the UITK.. maybe.