I need help with writing the javascript for a onmouseover event to display the contents of a url link when a mouse passes over a hotspot rectangle on an IBM Notes Page (Version 9).
onmouseover event
Instead of trying to do this with JavaScript, you could just add the contents of the link URL as Alternate Text on the second tab of the Hotspot Properties dialog.
Related
I currently have a older Domino site. It has a view that I have implemented clueTip to display content of the document as I hover over the link. The popup will close when the mouse is moved off of the link.
I would like to convert the site to xPages and eliminate jQuery and clueTip and go with all native xPages or dojo components but have similar behavior with my existing site.
One thought was to use the extension library dialog box but it has the title bar and I would rather not have the title bar.
Any idea how I can display contents from a notes document in a popup on my xpage view?
P.S. While the view is an old DOmino web view, the popup is a recent additon to the view and it is actually an xpage. I feed the clueTip control the URL of the xpage document via the rel parameter in the anchor tag and the xpage is displayed in a popup. If I could leverage that same xpage url that would be ideal.
Use Tooltip xe:tooltip control from Extension Library tab to show a document in a popup.
You can find a good example in XPages Extension Library Demo in Core_Tooltip.xsp.
What is the supported way to display an HTML webresource as a dialog ?
I have tried Xrm.Utility.openWebResource(webResourceName) but it's displayed as a webpage
Thanks
At the moment the only way to open your webresource in dialog mode is to use showModalDialog method of window. Check following url please - showModalDialog
If you're looking to display webpages inside a dialog in CRM 2013, as per my knowledge that is not possible.
However, in order to simulate what you're trying to achieve, you could design the entire dialog in HTML itself (having buttons like Next, and pages, etc.) and then display the HTML page as a popup using OpenWebResource. You can make use of the REST api of CRM to carry out the CRUD operations during the dialog progress.
Did you check the MSDN reference? You can control the width and height if that is what you are trying to achieve.
You can use:
Xrm.Internal.openDialog(address, settingsobject, null, null, return function)
var settingsobject=new Xrm.DialogOptions;
settingsobject.height = 420;
settingsobject.width = Xrm.Page.context.client.getClient() === Xrm.ClientNames.mobile ? 500 : 450;
I'm using the NativeControls plugin to create a tabbar - http://d.pr/vBJZ
Apparently, on first load, the tabbar has the onSelect event attached to them and i can refresh the webview just fine by doing window.location="http://someremotedomain.com".
But once the webview refreshed with the new external page - it seems the tabbar loses its onSelect event.
I suppose my real question is - why does the tabbar buttons loses its onSelect Event when the webbview starts to show a different (remote/external)page?
Does that mean that i have to re initialize the NativeControls on every new page? that isn't possible because the page im showing is coming from an external source, which doesn't include the phonegaps js related files.
My 2nd question - probably would help me dilemma, is there any way to grab the UIWebView control?
okay nevermind i figured out:
the javascript callback function doesn't exist anymore on the next page
yes you can - but i don't know in the js file but in the plugin/obj-c you can access the webview
How to create a popup for edit button in JSF page in Oracle jDeveloper 12c?
There is nothing special about JDeveloper 12c when it comes to working with popups. You can see a sample here that automatically migrates to 12c:
http://andrejusb.blogspot.co.uk/2009/11/crud-operations-in-oracle-adf-11g-table.html
Drag and drop popup onto the form from component palette. Design as needed. Make note of popup ID. D&D Operation (from component palette) > Show Popup Behavior onto button. Set popup id to id of previously created popup. Select method to launch, like action. Google is your friend here. Search "ADF Popup" - lots of hits, like this. Remember to upvote those of us who take time to help you here.
Is it possible to embed an audio object (mp3, wma, whatever) in a web-enabled InfoPath form ?
If it is, how do you do it ?
#Martin
That works for local forms that open in InfoPath. Nathan was asking about web-enabled forms. ActiveX controls are disabled for web forms, as evidenced by the informational label at the bottom of the design controls when the form compatability has been set to the web.
Now, I will admit that I know nothing about the HTML tags to play audio in a browser, but I have something else that might work. I had an InfoPath form that I needed to dynamically load an image into for a web-enabled form. Similar to the ActiveX issue, the Picture control was also disabled. What I did was put some managed code behind the form and execute the following when the form loaded.
public void FormEvents_Loading(object sender, LoadingEventArgs e)
{
string imgPath = "http://yoursite/yourimage.jpeg";
XPathNodeIterator xpni = MainDataSource.CreateNavigator().SelectSingleNode("/my:FormName/my:RichTextControlName", NamespaceManager).SelectChildren(XPathNodeType.All);
xpni.Current.InnerXml = "<img xmlns=\"http://www.w3.org/1999/xhtml\" src=\"" + filePath + "\" width=\"200px\" height=\"55px\" />";
}
I don't see why you couldn't take the same approach and load audio rather than an image.
It looks like you can't embed <object> tags in a richtext field. I'm getting nothing when I do it.
Have you tried manually modifying the XSL in order to generate HTML which embedds your audio file?
I don't think there is a way to do this using the InfoPath Designer, but if it ends up in the XSL; it may just get passed through to the web enabled form.
Edit: My apologies, I missed that the question was about Web forms - for which the below does not work. Must learn to read the question fully!
Go to menu View
Click on Design Tasks
Select Controls in the 'Design Tasks' Task pane
Click on the 'add or remove custom controls' button to install your custom
control
Click on the Add button and select ActiveX Control
Select the Windows Media Player control
Select the necessary properties for databinding and finish the wizard.
After you have added the control, you can drag and drop the control on your screen.
Right-Click on the control and select the 'Windows Media Player properties'
Fill in the URL to automatically embed the file to play.