iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi all,
Is there te possibility to open a WebCallOut when I do a click on the target element(for instance, a label) and not only on hover it?
Thanks in advance. Mino.
function WebCallOut1_OnInitialize(controlId) { var WebCallOut1 = ISGetObject(controlId); var label1 = document.getElementById("Label1"); Listener.Add(label1, "onclick", test); return true; } function test() { var callout = ISGetObject("WebCallOut1"); var label1 = document.getElementById("Label1"); callout.ShowAutoDetect(label1, true);//method makes callout show at proper place }
Regards,Handy
Hi Handy,
thanks for your quick and useful reply, it seems to be perfect for my case and it works finally! Just another question: I would like not to show my CallOut with AutoDetect property, but in a specified position (PointingBottomRight); I tried with :
callout.ShowPointingBottomRight(label1, true);
but it doesn't work. Do you have the right solution?
Thank you very much, Handy.
Regards,
Mino
Hi Mino,
Yes, you can by using SetPosition method.
e.g
callout.Show() callOut.SetPosition(x,y)
Hope this helps.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname