Tooltip with HTML Panel onmouseover
Can the tooptip constructor be called from a javascript
function called on a mouseover event. OR should it be used during
the page load it self.in the <script> tags with in the
body
Sorry but the tooltip is plain text only in Web Dynpro. The rendering isn't designed for any formatting and the WD Framework would safe encode (and render useless) any attempt to inject anything but text into the tooltip.
>would it be possible to create a component to show this kind of information when the mouse hovers over any ui element in the screen
No. There is no server event in Web Dynpro for onHover. You would need a full click event (from a button or LinkToAction) in order to trigger such a popup component.
Similar Messages
-
Example of localize tooltip for HTML panel
Hi,
is someone know where I can find examples of localized tooltip for HTML panel.
It 's easy for a button or a link. But I don't know how to do it with tooltips.
Many thanks.
SebastienThe Spry site version is fixed (plus another quote error I
found while i was at it..).
The LiveDoc version will take a bit longer to get the fix
live.
Thanks,
Don -
I've managed to create an html panel inside a tooltip, but
can't work out how to interact with it. I've looked at the example
of an interactive tooltip, but arn't sure how to modify this to
interact with the panel. Can anyone advise please. Thanks. My test
so far is here:
http://fctu.org.uk/samplepages/tooltip2.aspSorry, sorted it. Got my curly brackets in the wrong
place. -
Hi,
I would like to know if there is a way of including more than text in a tooltip, for example html tags to create a table or include an image. I have run some test and it doesn't seem so, but just to be sure.
On the same way, if the tooltip is not 'powerful' enough, would it be possible to create a component to show this kind of information when the mouse hovers over any ui element in the screen. The idea is to hover over a line in a table and show more information but with some format, not just text, that's why I was thinking on the tooltips.
Many thanks in advance.
JavierSorry but the tooltip is plain text only in Web Dynpro. The rendering isn't designed for any formatting and the WD Framework would safe encode (and render useless) any attempt to inject anything but text into the tooltip.
>would it be possible to create a component to show this kind of information when the mouse hovers over any ui element in the screen
No. There is no server event in Web Dynpro for onHover. You would need a full click event (from a button or LinkToAction) in order to trigger such a popup component. -
Variable OffsetX for tooltip/HTML Panels
I have a sample web page which uses the tooltips with HTML
panels:
http://www.fctu.org.uk/repfinder/tooltip.asp
I have adjusted the position of the tooltip using the offsetX
but is it possible to have multiple placements on the same page
please; although the reasoning isn't apparent from this sample page
I'd like some of the tooltips to appear to the left of the curser
and some to the right. I've seen the example for doing this with
ordinary tooltips, but can't quite equate that through to this.
Many thanksOk, I've checked the site linked here with Safari.
It works normally, so I'm thinking it's a Chrome problem. -
HTML Panel with Tabs like Sliding Panel tabs
Hi, what do I need to add/change to have HTML panels
switching with tabs that switches background image like the tabs in
sliding panels example?
Or can I modify the
sp_withTabs.js to have graphic tabs work with HTML
Panels?Nevermind, I got it. I used the SpryTabbedPanels.js and
modified the SpryTabbedPanels.css with my graphics, size, position
and what not.
I do have one more question. I'm using HTML Panels with Fade
in and out and when loading my page I have to have default content
in the main html doc for something to display when the page loads.
Then when I click on the first button, it then loads the real
external HTML panels. Is there any way I can load my first external
HTML page right when my site loads? -
Evaluate Script in HTML panel in Tooltip
I have tried this question in another thread and got some help from Ben but still can't quite get it to work.
I am trying to embed an HTML panel, which comtains spry xml data, into a tooltip but cannot get the scripts in the panel to run once they are in the tool tip. The example is the middle of the three line on this page: http://www.edwardshephard.net/caravanclub/tooltiptest.html which should call data in from this page: http://www.edwardshephard.net/caravanclub/clubtooltippanel.html.
I have added a {evalScripts:true} line as suggested by Ben, which looks like a good solution, but still no joy. Having looked at other threads I wonder if it needs some sort of post-loading observer thing to run the scripts, but I'm not sure and not experienced enought to work out the syntax. Would welcome any further help please. thanks, EdwardBecause you are also importing a spry:region and not only Spry Data, you need to manally call:
Spry.Data.initRegions();
Once the tooltip has loaded its HTML panel contents. -
Controlling a Spry HTML panel with a Jump Menu
Hi, I wonder if anyone can help.
I've implemented a HTML panel within a page to display different page elements and have it working no problem with a simple href and an onClick event but I would like to control what is displayed by using a jump menu (drop down list) - any idea how I can control that to populate the necessary DIV?
eg: <select name="site" size=1 onChange="hpanel.loadContent(this.href); return false;"> (obviously this doesn't work!)
Thanks in advance
NeilIt works fine, but your pages arent found;
http://www.thedesignforge.co.uk/clients/elsevier/laure/v2/dollar_rates.html
See its missing.
But
http://www.thedesignforge.co.uk/clients/elsevier/laure/v2/dollar_rate.html
Exists. So it seems to me you are linking to a incorrect file. -
I am trying to set ToolTip on my JPanel and the text is HTML format. One of the reasons I am using html format because it needs to be multiline and also localizable and it is easy to set fonts in html.
But the problem is I am getting a inconsistent tooltip with raw html data sometimes and ok rest of the times. Following is the html string I am setting as tooltip text.
String html = "<HTML><BODY STYLE=\"" +
"margin-left:3px; margin-right:3px; margin-bottom:3px;" +
"font-family : " + font.getFamily() + ";" +
"font-size : " + font.getSize2D() + "pt;" +
"font-weight : " + (font.isBold() ? "bold" : "normal") + ";" +
"font-style : " + (font.isItalic() ? "italic" : "normal") + "\">" +
"<b>File Name: </b> + fileName1 +
"<br>
"<b>File Name: </b> + fileName2 +
"</BODY></HTML>";
"font" is my locale based font.
Thanks
AmadWell I have tried simple html as well but the same problem. I think JToolTip can display inline styles but my problem seems to be that when i have panels in panel and setting tooltip on parent that's when it gets wrong.
Amad -
Images not loading in Spry HTML Panel
Hallo everyone
I am using links to load html fragments in a Spry HTML Panel, just like in the example page
http://labs.adobe.com/technologies/spry/widgets/htmlpanel/SpryHTMLPanel.html
The whole structure is inside a Spry Tabbed Panel.
All works ok if the target html pages are in the same directory as the mother page.
Images are standard in the "images" folder
The problem starts when I try to organise all the html fragments in a separate directory.
Updating links in all the html files is of course done correctly, images included.
Then the problem starts.
The html fragments load but with no images.
When I open the html fragments directly by the browser all is ok.
Any ideas would be appreciated
Thanks!Can you upload your pages to a server and give us a link?
If your images are in your site folder (no matter which directory), but they are not showing up in your fragments, it is likely that the paths are wrong. The images (it seems to me) should exist on the fragment and be linked from there.
I won't have a chance to fiddle around with this right now, but if your images are linked to the fragment locations and that does NOT work, try linking them as if they were on the page that is showing the fragments. I'm not familiar (yet) with this widget.
Beth -
Hi
I have an issue with Accordion Panels.
http://characteraday.businesscatalyst.com/guided.html
You can see in the link above that I have Accordion Panels on the right side that say open/close tip. The first one open and close and displays the tip. All the others do the same but when they open then push the one under it down. The first one does not do this and I like this a lot better. Any ideas how to make them all work the way the first one "Enter the Character's name" works.
Thanks for your time.Modify the following line by adding the mark-up coloured red.
<div class="AccordionPanelContent"><span class="CollapsiblePanelContent"><img src="productimages/tinyimages/doorkitseat.jpg" width="50" height="50">The <strong>Door Insert Kit</strong> is a bathtub conversion kit. By removing a portion of the bathtub wall and inserting a door, an existing bathtub becomes accessible, retaining its use a a bathtub. <em><a href="doorkitandseat.html"><strong>More</strong></a></em></span></div>
I hope this helps.
Ben -
I'm trying to put an accordion panel in a page of the website i'm creating but i've a weird problem.
First of all, this is the link of the page
http://wwwipiniriolotermeit01.businesscatalyst.com/menù.html
As you can see, when i choose one of the option of the panel, the background begin to shake.
Of course i've tried with other panels, included muse's widget but the results is the same.
Can someone help me to resolve this issue?
Thanks in advance.Thank you very much again.
Last time i've uncheck only the element of the master page's footer not the
entire "menu" page from the menù.
Now, as you say, the jittering is disappear.
Regards
Luca
2014-03-07 16:18 GMT+01:00 Aishvarya Raj Rastogi <[email protected]>:
Re: Trouble with accordion panel created by Aishvarya Raj Rastogi<http://forums.adobe.com/people/aishvarya+rastogi>in *Help
with using Adobe Muse CC* - View the full discussion<http://forums.adobe.com/message/6188378#6188378 -
I have a problem with tabbed panel...this panel has 3 columns, I copied to each of them a diffrent text (diffrent height)...I expected to obtain diffrent working area of column, for example 1st column-height 7500 px, 2nd-1500 px, 3rd-2500 px, but I received one height 7500 px, each column has been formatted to this size....below a text I have “empty space”- (it is a diffrence between working area and text area)...I put the text to the 1st column for example 7200 px height, empty space below this text is 300 px I received 7500 px of working area in this column, here the problem doesn`t exist but….2nd column i have height of text for example 1300 px, below this text i have 6200 px empty space...It should be height 1300 px of text and maybe 200 px of empty space...so the working area could have at 1500 px not 7500 px of height....I try to change it (to for example 1500 px) but it still return to the basic 7500 px height and can`t do it...The solution is to use another form like. the accordion form..but it is a row form….when you put a diffrent sized text (height) you will receive diffrent size of working area (height), you obtain 7200px text +300 px empty space=7500 working area in 1st row.. 1200 px text + 300 px empty space=1500 workin area px in 2nd row and 2500 working area px in 3rd row…everything is fine in this form…each row has been formatted to the different size of height…but I prefer to use a tabbed panel (column form) instead a accordion form.…I don`t to waste the time to correct the code in html text editor like PSPad…
Best Regards
KamilA couple of threads here that should answer your query.
http://forums.adobe.com/message/5080345
http://forums.adobe.com/message/5104253
Thanks,
Vinayak -
Getting a sliding panel loaded into an html panel to work.
Hi. This is my first post on the forum.
I've been using Spry a little here and there. Today I ran
into a situation where I want to load an external page, that has a
sliding panel in it, into an html panel. So far I have not had luck
and I suppose it has to do with loading the js file. At the moment
I have a right column that already has a sliding panel (working).
But it would appear that the loaded external html file (in the left
"main" column) is not picking that up. Any suggestions for a noob
as to what to do next? Viewing the external page by itself allows
the sliding panel to work (that is when I add the js file import to
the head of the external html file... but that head section does no
good when loaded into an html panel)
Anyway, any help at all is greatly appreciated.
Thanks,
EricThank you very much! I found the topic
here.
It will require a bit of a small learning curve for me as html
panel and sliding panels are my first interaction with js... even
my rollovers are css driven. Thanks! -
I'd like to load a page w/ dynamic data content through an
HTML Panel. Can it be done?Hi,
There is some problem in Spry where in if the loaded content
has any spry:regions or dataset objects, those are not executed as
expected. You need to replace the Spry.Utils.setInnerHTML function
with the following code
Spry.Utils.setInnerHTML = function(ele, str, preventScripts)
if(!ele)
return;
ele = Spry.$(ele);
var scriptExpr =
"<script[^>]*>(.|\s|\n|\r)*?</script>";
ele.innerHTML = str.replace(new RegExp(scriptExpr, "img"),
if (preventScripts)
return;
var matches = str.match(new RegExp(scriptExpr, "img"));
if (matches)
var numMatches = matches.length;
for (var i = 0; i < numMatches; i++)
var s = matches
.replace(/<script[^>]*>[\s\r\n]*(<\!--)?|(-->)?[\s\r\n]*<\/script>/img,
var oScript = document.createElement("script");
oScript.text = s;
ele.appendChild(oScript);
Spry.Data.initRegions(Spry.$(ele));
It should work fine.
-JV
Maybe you are looking for
-
CS4 animated gif imported from Flash - how to link
I have a few animated gifs published from Flash CS4 the files have clickTag info in the actionscript but Flash will not export that so I need to make the animated .gifs click to their respective links. How do I do in Photoshop CS4? any help?? rdef
-
ICal alerts to only one phone?
Not sure how to phrase it but it seems like a simple enough request. My wife and I each have iPhones and we are using iCloud to sync our calendars. We have multiple calendars set up - Her events, my events, joint events, work schedule, etc. Is ther
-
How to insert more than one values
Oracle 9i Hi all I have 80 values how to insert it in a single time, it is in production This is my insert statement Insert into FND_LOOKUP_VALUES (LOOKUP_TYPE,LANGUAGE,LOOKUP_CODE,MEANING,DESCRIPTION,ENABLED_FLAG, START_DATE_ACTIVE,END_DATE_ACTIVE,C
-
Time out occurred while waiting for memory resources
Team, I am have Microsoft SQL Server 2008 SP1( 10.0.2734.0) 64bit with application being SCCM 2007 I am getting below error in SQL error log :: Error 8645: Severity 17, state 1 A time out occurred while waiting for memory resources to execute the que
-
Shape outlines change size when skewed. Is this normal?
Good Morning InDeisgn Experts and Gurus, I created a shape in InDesign CS5, and applied and outline to it of 4px. However, when I skewed the shape, the size of the outline changed on the sides. Is this normal? How would I remedy this, besides creati