Jump to content
  • 0

Кроссворд для мобильных устройств


MePHiSto
 Share

Question

Здравствуйте, нужна помощь. Имеется готовый кроссворд, который хорошо работает на компьютере. Но есть проблема ввода текста с мобильных устройств, когда нажимаешь на поле ввода, само поле выделяется, но клавиатура для ввода даже не появляется. Помогите\подскажите, как заставить его работать на мобильных, код кроссворда прилагаю:
 

 
<script>
        $(function () {
            var grid = [' @ @ @ @@@ @ @@',
                        '       @      @',
                        ' @ @ @ @ @ @ @ ',
                        '         @     ',
                        ' @@@ @@@ @ @@@ ',
                        '      @        ',
                        '@@ @ @ @ @@@ @ ',
                        '     @   @     ',
                        ' @ @@@ @ @ @ @@',
                        '        @      ',
                        ' @@@ @ @@@ @@@ ',
                        '     @         ',
                        ' @ @ @ @ @ @ @ ',
                        '@      @       ',
                        '@@ @ @@@ @ @ @ ];
            var acrossClues = ['Foolishly edited any line%%INANELY',
                                'Screen icon, Ms Gardner, met topless celebrity%%AVATAR',
                                'Charts a dire path for organisation%%HIT PARADE',
                                'Joint article on deer migrating west%%ANKLE',
                                'Understated note removed from middle of caption%%SUBTLE',
                                'Alternatively the navy left in the evenings to provide aerial display++1%%NORTHERN LIGHTS',
                                'Cut grass back to base of log%%KNIFE',
                                'What an undertaker\'s tailor may need displayed around here++2++3%%HIS DARK MATERIALS',
                                'Yellowy brown bream swimming around%%AMBER',
                                'Telescope in which vodka martini might be seen%%SPYGLASS',
                                '\'Honest\' police held back new evidence%%CANDID',
                                'Stopped, but not beginning to be relaxed%%EASED',
                                '[[3]]',
                                'Turn left in front of study to find fair%%GOLDEN',
                                'The limits of navigational equipment%%COMPASS'];
            var downClues = ['[[1]]',
                                'What some people do to badger, in more ways than one%%BAIT',
                                'Due legal process in general%%DE GAULLE',
                                'From a railway line, travelling north, a girl in Pullman%%LYRA',
                                'Rock a sailor, getting up, supported by another%%BASALT',
                                '[[2]]',
                                'Bar a scoundrel, he is coming back in!%%ALEHOUSE',
                                'Note something curdling milk all over%%TENNER',
                                'The sea between Britain and New York is one%%BRINY',
                                'Journalist\'s written about honour fix%%EMBED',
                                'Pawn arrangement could provide men\'s cash%%CHESSMAN',
                                'Floors that lady made straight%%KOSHER',
                                'What one does to admirer to get married%%ANAGRAMS',
                                'Snobbish girl riding in Russian car?%%LA-DI-DA',
                                'Stop in Germany. It is in Germany%%DESIST',
                                'Barge through square? Unpleasant woman!%%SCOW',
                                'Gather food%%TUCK',
                                'A girl has her bottom pinched unfortunately%%ALAS'];
 
            $('#divTest').crossword({ gridMask: grid, acrossClues: acrossClues, downClues: downClues, validateAnswer: 'clue' })
        });
    </script>

это я использую непосредственно в html-файле

ещё 2 файла, которые использую, смотрите по ссылке http://www.fayloobmennik.net/5483975

Edited by MePHiSto
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy