Hi,
i just wanted to know, if i can use that
JavaScripting for "Mouseover Infowindows", i.e. used with "xforms:help" for own
comments in html-text? And how can i achiev that? Which functions do i need? How
can i embedd that JS to my html-code?
Thanks very much,
Marcus
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
On 6/17/07, Marcus <[hidden email]> wrote:
> i just wanted to know, if i can use that JavaScripting for "Mouseover > Infowindows", i.e. used with "xforms:help" for own comments in html-text? > And how can i achiev that? Which functions do i need? How can i embedd that > JS to my html-code? You can't really do this just with XForms, since there are no events such as "mouse over". So you would need to write JavaScript code for this. Using JavaScript, one way to do this is to use the YUI Overlay library, which we already use for other things. You can find more about it on http://developer.yahoo.com/yui/container/overlay/. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi Alex,
thanks for that info, i'll take a look at it later, while my head of projct just wants something else now, instead of the "mouse-over-info" :-( But just to let you know: I found a little tricky workaround to solve that problem and to use your "mouse-over-info" from the "xforms:help" The following worked for me, even if there will be better ways to solve it or to write some own JavaScript! ----------------------------------------------------------------------------------------------------------- <img id="comment-01" src="/kkbib/apps/images/info.gif" class=" xforms-help-image"><label class=" xforms-help" for="comment-01">Comment for Picture</label> <span id="comment-02" class=" xforms-help-image">Testeintrag</span><label class=" xforms-help" for="comment-02">Comment for Text</label> <a id="comment-03" class=" xforms-help-image">Testeintrag</a><label class=" xforms-help" for="comment-03">Comment for Link</label> But you have to be careful! I won't tell it a bug, because thats just a workaround, but perhaps it might be one, the following codes don't work, but freeze my FF until i abort the script :-(( ------------------------------------------------------------------------------------------------------------ <img id="comment-01" src="/kkbib/apps/images/info.gif" class=" xforms-help-image"> <label class=" xforms-help" for="comment-01">Comment for Picture</label> <span id="comment-02" class=" xforms-help-image">Testeintrag</span> <label class=" xforms-help" for="comment-02">Comment for Text</label> <a id="comment-03" class=" xforms-help-image">Testeintrag</a> <label class=" xforms-help" for="comment-03">Comment for Link</label> I don't know why this happens, but it seems to me, there MUST NOT be ANY space between the base-tag ( here img, span, a) and the common label-tag, otherwise the code doesn't work.... Best regards, Marcus ----- Original Message ----- From: "Alessandro Vernet" <[hidden email]> To: <[hidden email]> Sent: Thursday, June 21, 2007 5:25 AM Subject: Re: [ops-users] "Mouseover Infowindow" (xforms:help) for own comments in html-text??? > On 6/17/07, Marcus <[hidden email]> wrote: >> i just wanted to know, if i can use that JavaScripting for "Mouseover >> Infowindows", i.e. used with "xforms:help" for own comments in html-text? >> And how can i achiev that? Which functions do i need? How can i embedd >> that >> JS to my html-code? > > You can't really do this just with XForms, since there are no events > such as "mouse over". So you would need to write JavaScript code for > this. Using JavaScript, one way to do this is to use the YUI Overlay > library, which we already use for other things. You can find more > about it on http://developer.yahoo.com/yui/container/overlay/. > > Alex > -- > Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise > http://www.orbeon.com/ > > -------------------------------------------------------------------------------- > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |