[
https://issues.apache.org/jira/browse/CLEREZZA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793609#action_12793609
]
Reto Bachmann-Gmür commented on CLEREZZA-47:
--------------------------------------------
adding the html as string representation doesn't convince me, it make its hard
to edit (also, afaik it is only legal in xml mode since html 5).
so I'd suggest:
<body>
<div>
<div style="display: none">
<div id="myOverlayBody">body<div/>
</div>
<a href="#"
onclick="Overlay.show(document.getElementById('myOverlyBody', 'header', '20em',
'10em');">click here to add the overlay </a> <br/>
</div>
</body>
> Scripts: Overlay (virtual windows)
> ----------------------------------
>
> Key: CLEREZZA-47
> URL: https://issues.apache.org/jira/browse/CLEREZZA-47
> Project: Clerezza
> Issue Type: Bug
> Reporter: Reto Bachmann-Gmür
> Assignee: Tsuyoshi Ito
>
> http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/org/apache/clerezza/web/resources/scripts/staticweb/overlay.js
>
> implements such an overly with significant limitations:
> - the size has to be expressed in pixel (even though the comment implies the
> unit is part of the argument, expected is just a number of pixel)
> - the body can only be text and not an arbitrary element
> - the default size is absolute rather than in proportion of the window size
> - documentation in webguiexample is mssing
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.