|
|
|
|
Re: Making a popup [message #535137 is a reply to message #535135] |
Mon, 12 December 2011 05:42 |
|
balckbandit5
Messages: 104 Registered: December 2011
|
Senior Member |
|
|
Ok I tried with that script I had above but it didn't seem to work...there was some writing at the very bottom of the screen:
},"action":"NATIVE_JAVASCRIPT_CODE"}]}]; }
so presumably the dynamic action is working...just not the JS
is there something wrong with it?
I really have no idea what i'm doing with javascript not used it before
[Updated on: Mon, 12 December 2011 05:43] Report message to a moderator
|
|
|
|
Re: Making a popup [message #535151 is a reply to message #535137] |
Mon, 12 December 2011 07:08 |
c_stenersen
Messages: 255 Registered: August 2007
|
Senior Member |
|
|
When you create the item you can set it to type "number field". You can then create a dynamic action for it, choose advanced, action:key release, and on the condition you use "greater than" and 30. You can then choose notification, alert as the action, and just write your text in the text field. If this alert type isn't there (I didn't experiment very much with this in 4.0, and now I have 4.1 so it's difficult to test) you can choose "execute javascript code" and just write alert("my text here") as the code.
Edit: ok, you fixed it before I answered Happy to help.
[Updated on: Mon, 12 December 2011 07:09] Report message to a moderator
|
|
|
|