Hi,
in another post I read that you could use jqueryui to show dialogs. I tried it:
-bound jquery and jqueryui as external jsscripts to the form.
-made a panel (hidden) with html properties - id : popuppanel
-made a button jquery onclick event: $("#popuppanel" ).dialog()
Nothing happens (no popup) on clicking yhe button, what can be the cause, am I not seeing something obvious?
popup dialg jqueryui
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 118
- Joined: Tue Oct 23, 2012 7:01 am
- Location: The Netherlands
-
- Ebase User
- Posts: 7
- Joined: Fri May 03, 2013 2:27 pm
- Location: Northampton, UK
- Contact:
Hi Harry,
I came across something similar before. If you set an element as hidden using the ebase properties then the element (popuppanel) wont appear in the DOM object and therefore the JQuery command wont find the element as it doesn't exist.
In order to do what you need I'd suggest removing the hidden property from the ebase properties and instead hide the element using CSS e.g.
You'll then be able to manipulate the popuppanel using JQuery as it will then be available within the DOM object once more.
Aron
I came across something similar before. If you set an element as hidden using the ebase properties then the element (popuppanel) wont appear in the DOM object and therefore the JQuery command wont find the element as it doesn't exist.
In order to do what you need I'd suggest removing the hidden property from the ebase properties and instead hide the element using CSS e.g.
Code: Select all
display:none;
Aron
0 x
-
- Ebase User
- Posts: 118
- Joined: Tue Oct 23, 2012 7:01 am
- Location: The Netherlands
Hi Aron,
Thakns for the reply. I tried it but I cannot get it working. In the Designer I opened the Styling Assisitant and under Advanced properties - Code I put the css line. The 'odd' behaviour is that I don't see the panel in the Designer view of the page anymore (It is still in the Outline, so I know it's there). And.. still no popup. How did you do this?
Thakns for the reply. I tried it but I cannot get it working. In the Designer I opened the Styling Assisitant and under Advanced properties - Code I put the css line. The 'odd' behaviour is that I don't see the panel in the Designer view of the page anymore (It is still in the Outline, so I know it's there). And.. still no popup. How did you do this?
0 x
Kind regards,
Harry
Harry
-
- Ebase Staff
- Posts: 89
- Joined: Mon Sep 10, 2007 11:48 am
Hi Harry - have a look at
http://forum.ebasetech.com/forum/viewto ... ght=dialog
It has a sample you can download.
Dave
http://forum.ebasetech.com/forum/viewto ... ght=dialog
It has a sample you can download.
Dave
0 x
Who is online
Users browsing this forum: No registered users and 23 guests