Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Thu, Jan 27, 2011 at 11:25 PM, Christian Lohmaier
<lohmaier+ooofuture@googlemail.com> wrote:
Hi Michael, *,

On Thu, Jan 27, 2011 at 12:43 AM, Michael Wheatland
<michael@wheatland.com.au> wrote:
On Thu, Jan 27, 2011 at 8:38 AM, Christian Lohmaier
<lohmaier+ooofuture@googlemail.com> wrote:

i.e. anyone got code for a modeless prompt at hand, using jquery maybe?

 var message = prompt("promptText", "");

→ javascript prompt dialog that is modal, i.e. blocks interaction with
the parent window (the browser) unless the dialog is dismissed

Are you custom coding the popup?

??? No - the prompt is a simple javascript function. Just paste
<script type="text/javascript">
 prompt("prompttext", "defaultvalue");
</script>

into the HTML-box at http://jsfiddle.net and compare - the dialog you
get is modal

I don't think that we should be altering the CMS core code.

Well - it is not the core, just the function that reads the dialog,
but I wonder how you would change an unwanted behaviour without
changing the code that is causing it.

Isn't
there any options for this behaviour in Silverstripe?

An option to tell the browser to reinterpret the javascript functions?
No, how should that work?

Again: The function uses the simple javascript "prompt" command to get
the dialog. This javascript function (part of "vanilla" javascript) is
a modal dialog.

I don't know what kind of configuration you think that would magically
change this...

ciao
Christian

Rimas is correct, I was referring to Silverstripe's behaviour.

It might just be that I am used to using systems which have vast
libraries of options for UI and functionality.
One very good example: http://drupal.org/documentation/modules/overlay
Which allows multiple UI elements to 'popup' without interrupting your
browsing experience.

If this is a non-pluggable part of the Silverstripe UI, I don't expect
you to do anything about it. I just think it is poorly implemented UI
and was looking for other options to improve our experience.

Michael Wheatland

-- 
Unsubscribe instructions: E-mail to website+help@libreoffice.org
List archive: http://listarchives.libreoffice.org/www/website/
*** All posts to this list are publicly archived for eternity ***

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.