Modal panel IE vs FF
tjakopec Jan 31, 2008 5:19 AMmodalPanel is not on center in IE, but in FF it is!!!
evidence :)
http://www.popovac.hr/orka/IE7.jpg
http://www.popovac.hr/orka/FF.jpg
source
<%@ page contentType="text/html; charset=UTF-8"%> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%> <%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="r"%> <r:modalPanel id="postavljanjeLozinke" height="300" width="400" moveable="false" resizeable="false"> <f:facet name="header"> <t:outputText value="#{messages['maticni.operater.pregled.lozinka']}" /> </f:facet> <f:facet name="controls"> <t:commandButton image="/slike/ikone/close.png" accesskey="X" style="cursor:pointer" onclick="Richfaces.hideModalPanel('postavljanjeLozinke'); return false;" /> </f:facet> <h:form id="postaviLozinku"> <t:panelGrid columns="2"> <t:panelGrid columns="1"> <t:outputText id="lozinkaPrviUnos" value="#{messages['maticni.operater.pregled.lozinkaPrviUnos']}" /> <t:inputSecret id="inLozinka" value="#{operater.lozinka}" size="30" onkeyup="razinaZastite(this);provjeraJednakosti('postaviLozinku:inLozinkaPonovo','postaviLozinku:inLozinka');" /> <t:outputText id="lozinkaDrugiUnos" value="#{messages['maticni.operater.pregled.lozinkaDrugiUnos']}" /> <t:inputSecret id="inLozinkaPonovo" value="" size="30" onkeyup="provjeraJednakosti('postaviLozinku:inLozinkaPonovo','postaviLozinku:inLozinka');" /> </t:panelGrid> <t:panelGrid columns="1"> <t:panelGrid columns="4"> <t:outputText id="razina1" value="1" /> <t:outputText id="razina2" value="2" /> <t:outputText id="razina3" value="3" /> <t:outputText id="razina4" value="4" /> </t:panelGrid> <t:outputText escape="false" value=" " /> <t:outputText escape="false" value=" " /> <t:commandButton id="promjeniLozinku" style="visibility: hidden;" value="#{messages['maticni.operater.pregled.promjeniLozinku']}"></t:commandButton> </t:panelGrid> </t:panelGrid> <t:outputText id="outLozinkaHelp" value="#{messages['maticni.operater.pregled.lozinkaHelp']}" /> <t:panelGrid columns="1" styleClass="popupPomoc"> <t:outputText id="r1" value="#{messages['maticni.operater.razina1']}" /> <t:outputText id="r2" value="#{messages['maticni.operater.razina2']}" /> <t:outputText id="r3" value="#{messages['maticni.operater.razina3']}" /> <t:outputText id="r4" value="#{messages['maticni.operater.razina4']}" /> </t:panelGrid> </h:form> </r:modalPanel>