Hi,
What exactly you tried and it didn't work ?
Martin Grigorov
Wicket Training and Consulting
On Tue, Jun 24, 2014 at 10:32 PM, Lucio Crusca lu...@sulweb.org wrote:
Hi *,
In a long page I need a ModalWindow to position itself at the center of the
browser window even when the page is
In data mercoledì 25 giugno 2014 09:49:51, Martin Grigorov ha scritto:
Hi,
What exactly you tried and it didn't work ?
I added the code below, but please note that I'm no JS wizard, so it's likely
my code wouldn't work anyway, but the point is I don't even get JS errors and
the ModalWindow
Make sure that your code appears *after* the script src=.../modal.js.
With the browser Dev Tools you can put a breakpoint inside your function
and see whether it is called/used.
Martin Grigorov
Wicket Training and Consulting
On Wed, Jun 25, 2014 at 10:53 AM, Lucio Crusca lu...@sulweb.org wrote:
In data mercoledì 25 giugno 2014 11:09:42, Martin Grigorov ha scritto:
Make sure that your code appears *after* the script src=.../modal.js.
With the browser Dev Tools you can put a breakpoint inside your function
and see whether it is called/used.
I couldn't manage to set a breakpoint with
try with Wicket.Window.current
Martin Grigorov
Wicket Training and Consulting
On Wed, Jun 25, 2014 at 2:51 PM, Lucio Crusca lu...@sulweb.org wrote:
In data mercoledì 25 giugno 2014 11:09:42, Martin Grigorov ha scritto:
Make sure that your code appears *after* the script src=.../modal.js.
also try: this.window
Martin Grigorov
Wicket Training and Consulting
On Wed, Jun 25, 2014 at 2:53 PM, Martin Grigorov mgrigo...@apache.org
wrote:
try with Wicket.Window.current
Martin Grigorov
Wicket Training and Consulting
On Wed, Jun 25, 2014 at 2:51 PM, Lucio Crusca lu...@sulweb.org
In data mercoledì 25 giugno 2014 14:54:23, Martin Grigorov ha scritto:
also try: this.window
Ok thanks, this.window seems to be the correct one in my case, but I suspect
other variants are needed to be as much cross browser as possible.
Just in case others need it, my current working code is:
I always forget I should not change the subject, sorry... I send the message
again with the unchanged subject so that it remains attached to the rest of
this thread.
In data mercoledì 25 giugno 2014 14:54:23, Martin Grigorov ha scritto:
also try: this.window
Ok thanks, this.window seems to be
In data mercoledì 25 giugno 2014 18:05:54, Lucio Crusca ha scritto:
Just in case others need it, my current working code is:
Wicket.Window.prototype.center = function() {
var myWindow = this.window;
if (!myWindow)
myWindow = Wicket.Window.current;
if (!myWindow)
myWindow =
Hi,
there is currently no way to alter the position. It's always centered
first time it shows.
-Matej
On Nov 26, 2007 9:12 PM, Clay Lehman [EMAIL PROTECTED] wrote:
Hey everyone,
I was wondering if there is a way to specify ModalWindow's initial
positioning. I have left the cookie name as
10 matches
Mail list logo