Position von Virtual Keyboard plugin -

Ich bin mit diesem plugin (http://www.jquery4u.com/plugins/jquery-screen-keyboard-plugin/#.UCTg6p1lTkd), um ein on-screen-Tastatur für einen Kiosk. Es funktioniert Super, aber ich brauche die Tastatur erscheint am unteren Rand des Bildschirms nicht unterhalb der Eingangs - /text-Bereich.

Innerhalb der externen jquery.keyboard.js die Datei habe ich Folgendes gefunden:

$.keyboard.defaultOptions = {

        //*** choose layout & positioning ***
        layout       : 'qwerty',
        customLayout : null,

        position     : {
            of : null, //optional - null (attach to input/textarea) or a jQuery object (attach elsewhere)
            my : 'center top',
            at : 'center top',
            at2: 'center bottom' //used when "usePreview" is false (centers the keyboard at the bottom of the input/textarea)
        },

Was sollte ich verwenden, statt 'null'? Wie soll das mit dem code Hinzugefügt werden?

Dank

InformationsquelleAutor Dan382 | 2012-08-10
Schreibe einen Kommentar