-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello!
ZK 5 documentation regarding IE6 alpha fix seems to be out of date.
The wiki page Trouble_Shooting suggests the following:
<?script content="zDom.IE6_ALPHAFIX='.png';"?>
This didn't work for me so I looked at ZK 5.0 source code for guidance.
A ZUL-file in zkdemo (test/zk5-alphafix.zul) suggested the following:
<?script content="jq.IE6_ALPHAFIX='.png';"?>
That didn't work either. I think the reason is that in my project the alpha fix code is in an included ZUL file, not in the "main" ZUL file.
For example: a.zul includes b.zul, b.zul contains the code for the fix.
However, I managed to get it working with this in my ZUL file (script is a valid ZUL tag too!):
<script type="text/javascript">jq.IE6_ALPHAFIX='.png';</script>
The documentation should be updated to reflect the correct way to apply the alpha fix. I'd do it myself but I don't have write access to the wiki... or maybe I just couldn't find the edit button :)
every registered user has right to edit, (though the registration is a separate system than forum)
unless some spam user is blocked.
You may change your preference to prefered skin.
@gekkio, come on, it would be ur first contribution in our doc.
Finally found the edit link!
It was "View source" while I was searching for "Edit" :)
However, it seems that the specific page (Trouble_Shooting) I'd like to edit is locked:
'This page has been locked to prevent editing.'
My edit is locked too ??
@gekkio
protected pages are listed in
http://docs.zkoss.org/index.php?title=Special:ProtectedPages&limit=500
I'll discuss with others to see if it is necessary to protect certain page.
@terrytornado
By my edit, you mean which page? Or your wiki account? (not possible, I checked.)
We only blocked some spamming accounts.
Cool, thanks. I updated the documentation.
Hi Peter, Now i can edit again.
best
Stephan
PS: Sometimes i found typos i correct them.
@terrytornado
Inspired by you, I tried a way to check the spelling of wiki page
Download google toolbar for firefox.
It has spelling check tool inside it.
But it can only check content inside an input form.
Goto each wiki page, and edit the whole page. Then the content will be inside a form.
For example, I just modified
http://docs.zkoss.org/wiki/ZKCDI_Quick_Start_Guide
Hi,
I have tried the following alphafix commands, but when the page is first loaded (nothing in cache/no cookies) the alpha fix does not work - when I refresh the page it works then. Does any one of a fix for this? (We are using ZK 5.0.4)
In ZUL:
<?script content="zDom.IE6_ALPHAFIX='.png';"?> <?script content="jq.IE6_ALPHAFIX='.png';"?> <script type="text/javascript">jq.IE6_ALPHAFIX='.png';</script> <?script content="jq.IE6_ALPHAFIX='pn.png'"?> <zk:image mold="alphafix" src="/img/pn.png" />
In Java:
Script alphafix = new Script(); alphafix.setContent("jq.IE6_ALPHAFIX='.png';"); appendChild(alphafix);
Heres a simple ZUL file which shows the issue:
<?xml version="1.0" encoding="UTF-8" ?> <?script content="jq.IE6_ALPHAFIX='.png';"?> <zk xmlns:zk="http://www.zkoss.org/2005/zul"> <zk:window title="My First window" border="normal" width="400px" height="400px" sizable="true" style="background-color:#414b68" > <zk:image src="/img/pn.png" /> </zk:window> </zk>
The first time the page is loaded if I right click>properties on the image it displays:
http://127.0.0.1:8081/ZKApp/img/pn.png;jsessionid=32E318861C6823CBD4288197801B37CF
After a refresh it displays:
http://127.0.0.1:8081/ZKApp/zkau/web/img/spacer.gif
Thanks
Asked: 2010-03-17 07:25:31 +0800
Seen: 675 times
Last updated: Sep 20 '10