Тёмыч Posted April 23, 2011 Report Share Posted April 23, 2011 http://chessfield.ru/chess/tasks/1Меня интересует вот этот кусок кода:<section class="chess-task-board"> <div id="chess-task-board"></div> <div id="promote-dialog" title="Выберите фигуру" style="display: none;"> <p>Для продвижения пешки выберите фигуру</p> </div> <ul class="metastat"> <li class="chesstaskrating"></li> <li class="votes-count1">88 голосов</li> <li class="attempts">Просмотров: 26750</li> </ul></section>На сайте на этом месте расположенна шахматная доска, помоему вот этой строчкой:<div id="chess-task-board"></div>Но ведь тут нет ни какой таблицы или блоков...как это сделано? Quote Link to comment Share on other sites More sharing options...
0 flagreit Posted April 23, 2011 Report Share Posted April 23, 2011 Чем смотрел? Есть таблица в блоке. Файрбаг используй Quote Link to comment Share on other sites More sharing options...
0 psywalker Posted April 23, 2011 Report Share Posted April 23, 2011 Чем смотрел? Есть таблица в блоке. Файрбаг используйДа, причём её трудно не заметить)А насчёт задачки: 1. Rd7 Nb4 2. Rd8 Quote Link to comment Share on other sites More sharing options...
0 Тёмыч Posted April 23, 2011 Author Report Share Posted April 23, 2011 Смотрел в фаерфоксе (ПКМ > Исходный код) Но таблицы там и правда нет. Quote Link to comment Share on other sites More sharing options...
0 psywalker Posted April 23, 2011 Report Share Posted April 23, 2011 Смотрел в фаерфоксе (ПКМ > Исходный код) Но таблицы там и правда нет.А ты не исходный код смотри. Quote Link to comment Share on other sites More sharing options...
0 Тёмыч Posted April 23, 2011 Author Report Share Posted April 23, 2011 А ты не исходный код смотри.А что? Quote Link to comment Share on other sites More sharing options...
0 psywalker Posted April 23, 2011 Report Share Posted April 23, 2011 А что?Доска генериться автоматом, поэтому открой файр-баг, вкладку HTML Quote Link to comment Share on other sites More sharing options...
0 Int Posted April 23, 2011 Report Share Posted April 23, 2011 Если выключить яваскрипт, то доски нет. А значит она на яваскрипте. Quote Link to comment Share on other sites More sharing options...
0 Тёмыч Posted April 23, 2011 Author Report Share Posted April 23, 2011 Если выключить яваскрипт, то доски нет. А значит она на яваскрипте.Ну конечно, фигурки как иначе передвигаються по вашему? Без них (скриптов) не обошлось. Quote Link to comment Share on other sites More sharing options...
0 psywalker Posted April 23, 2011 Report Share Posted April 23, 2011 Ну конечно, фигурки как иначе передвигаються по вашему? Без них (скриптов) не обошлось.Ну так а чё тада ты за вопросы задаёшь, если сам всё знаешь? Quote Link to comment Share on other sites More sharing options...
0 Тёмыч Posted April 23, 2011 Author Report Share Posted April 23, 2011 Знаю что? Что фигурки скриптами передвигаються? Ну тут особого ума не надо вроде. А спрашивал то я совсем другое. Quote Link to comment Share on other sites More sharing options...
0 psywalker Posted April 23, 2011 Report Share Posted April 23, 2011 Знаю что? Что фигурки скриптами передвигаються? Ну тут особого ума не надо вроде. А спрашивал то я совсем другое.Тебе уже и ответили другое 20 раз. Quote Link to comment Share on other sites More sharing options...
0 Тёмыч Posted April 23, 2011 Author Report Share Posted April 23, 2011 А я спорю? Quote Link to comment Share on other sites More sharing options...
0 psywalker Posted April 23, 2011 Report Share Posted April 23, 2011 А я спорю? Quote Link to comment Share on other sites More sharing options...
0 Int Posted April 23, 2011 Report Share Posted April 23, 2011 Ну конечно, фигурки как иначе передвигаються по вашему?Разговор-то о том, что доска рисуется яваскриптом. Он может не только перемещать объекты, но и создавать их. Quote Link to comment Share on other sites More sharing options...
0 Тёмыч Posted April 23, 2011 Author Report Share Posted April 23, 2011 Ну может и так. Кстати, в силу того, что у меня медленный нэт (хотя как это повлияло?) я сначала за место досок вижу чтото типа bka1 wbh2 wka3 wna2 . А потом появляеться доска. Quote Link to comment Share on other sites More sharing options...
Question
Тёмыч
http://chessfield.ru/chess/tasks/1
Меня интересует вот этот кусок кода:
На сайте на этом месте расположенна шахматная доска, помоему вот этой строчкой:
Но ведь тут нет ни какой таблицы или блоков...
как это сделано?
Link to comment
Share on other sites
15 answers to this question
Recommended Posts
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.