ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

Why button is visible in mozilla firefox but not in IE8...

aks
8 Feb 2012 09:23:56 GMT
8 Feb 2012 09:23:56 GMT

Here is my zul page...


<?page id="page_ModelSearch" title="new page title" zscript-language="javascript" contentType="text/html;charset=UTF-8"?>
<zk>
	<window id="modelSearch_win" title="Model Search" border="border:5px;" width="100%" apply="XYZ">
		<box id="boxMain" width="100%" height="100%" align="start" heights="100%">
		
			<borderlayout id="borderLayout" width="100%" style="background-color:WHITE">
			
				<north size="6%" collapsible="true" minsize="50" splittable="false">
                                                                                                 .........................
                                                                                                 ........................
				</north>

                                                                                     <west size="25%" flex="true" maxsize="600" splittable="true" collapsible="true">
					<grid style="background-color:white;height : 600px; overflow : auto">
						............
                                                                                                                               ........................
                                                                                                            </grid>
				</west>
                                                                                     <center>
                                                                                           ...........................
                                                                                     </center>
                                                                                    <south size="40%" collapsible="true" splittable="true" visible="true" autoscroll="true" style="background-color:white;border:0px" border="none">
                                                                                    </south>
                                                                </borderlayout>
					
			<b ><vbox id="vboxCart" width="100%" height="30%" align="start">
				<button id="addCartBtn" src="/img/add-cart.png" tooltiptext="Add to Cart" label="Add to Cart"/>
				<space height="1px"/>
			</vbox></b>	
			
		</box>	
	</window>
</zk>


This code is working fine with Mozilla firefox but with IE8 the button "Add to cart" is not visible (at end of code <button id="addCartBtn"/>
What is the problem exactly...??? Is this browser issue or what else??
Please help me out..

Thanks in advance...

mhj
8 Feb 2012 10:37:31 GMT
8 Feb 2012 10:37:31 GMT

i did a test on zkfiddle and works fine with IE8 and chrome....

<?page id="page_ModelSearch" title="new page title" zscript-language="javascript" contentType="text/html;charset=UTF-8"?>
<zk>
  	<window id="modelSearch_win" title="Model Search" border="border:5px;" width="100%" >
		<box id="boxMain" width="100%" height="100%" align="start" heights="100%">
		
			<borderlayout id="borderLayout" width="100%" style="background-color:WHITE">
			
				<north size="6%" collapsible="true" minsize="50" splittable="false">
                                                                                                 .........................
                                                                                                 ........................
				</north>

                                                                                     <west size="25%" flex="true" maxsize="600" splittable="true" collapsible="true">
					<grid style="background-color:white;height : 600px; overflow : auto">
                                                                                                            </grid>
				</west>
                                                                                     <center>
                                                                                           ...........................
                                                                                     </center>
                                                                                    <south size="40%" collapsible="true" splittable="true" visible="true" autoscroll="true" style="background-color:white;border:0px" border="none">
                                                                                    </south>
                                                                </borderlayout>
					
			<vbox id="vboxCart" width="100%" height="30%" align="start">
				<button id="addCartBtn" src="/img/add-cart.png" tooltiptext="Add to Cart" label="Add to Cart"/>
				<space height="1px"/>
			</vbox>	
			
		</box>	
	</window>
</zk>

jumperchen
14 Feb 2012 08:35:28 GMT
14 Feb 2012 08:35:28 GMT

where is the <b > component?

mhj
24 Feb 2012 12:11:11 GMT
24 Feb 2012 12:11:11 GMT

oh! sorry
i forget to tell i removed b tag because appears an error...