|
|
|
Динамические страницы
|
|||
|---|---|---|---|
|
#18+
Нужно обновлять данные на странице каждые 30 секунд. Как это сделать? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.08.2007, 12:28 |
|
||
|
Динамические страницы
|
|||
|---|---|---|---|
|
#18+
Какие данные? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.08.2007, 12:30 |
|
||
|
Динамические страницы
|
|||
|---|---|---|---|
|
#18+
Данные биру из БД MySQL и заношу в таблицу с помощью PHP. Нужно обновлять данные в таблице через каждые 30 сек, т.к. в БД они меняются... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.08.2007, 12:44 |
|
||
|
Динамические страницы
|
|||
|---|---|---|---|
|
#18+
Как вариант, используй Код: plaintext Cache for Windows NT (Intel) 5.0.20 (Build 6305) Fri Sep 16 2005 11:54:10 EDT ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.08.2007, 13:22 |
|
||
|
Динамические страницы
|
|||
|---|---|---|---|
|
#18+
krvsaКак вариант, используй Код: plaintext Cache for Windows NT (Intel) 5.0.20 (Build 6305) Fri Sep 16 2005 11:54:10 EDT А можно поподробнее. Это JavaScript? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.08.2007, 13:42 |
|
||
|
Динамические страницы
|
|||
|---|---|---|---|
|
#18+
k*yЭто JavaScript? Да. Вот некоторые подробности... ДокументацияsetTimeout Method -------------------------------------------------------------------------------- Evaluates an expression after a specified number of milliseconds has elapsed. Syntax iTimerID = window.setTimeout(vCode, iMilliSeconds [, sLanguage]) Parameters vCode Required. Variant that specifies the function pointer or string that indicates the code to be executed when the specified interval has elapsed. iMilliSeconds Required. Integer that specifies the number of milliseconds. sLanguage Optional. String that specifies any one of the possible values for the LANGUAGE attribute. Return Value Integer. Returns an identifier that cancels the evaluation with the clearTimeout method. Remarks In versions earlier than Microsoft® Internet Explorer 5, the first argument of setTimeout must be a string. Evaluation of the string is deferred until the specified interval elapses. As of Internet Explorer 5, the first argument of setTimeout can be a string or a function pointer. The specified expression or function is evaluated once. For repeated evaluation, use the setInterval method. Example The following examples use the setTimeout method to evaluate a simple expression after one second has elapsed. This example uses the setTimeout method to evaluate a slightly more complex expression than the one in the preceding example after one second has elapsed. window.setTimeout("alert('Hello, world')", 1000); The following example uses the setTimeout method to evaluate a slightly more complex expression after one second has elapsed. var sMsg = "Hello, world"; window.setTimeout("alert(" + sMsg + ")", 1000); This example uses the setTimeout method to hide a INPUT type=button object after three seconds. If the user clicks the Count Down button and then counts to three, the Now You See Me button disappears. Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.08.2007, 15:38 |
|
||
|
|

start [/forum/topic.php?fid=22&msg=34754204&tid=1457749]: |
0ms |
get settings: |
9ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
38ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
45ms |
get tp. blocked users: |
1ms |
| others: | 13ms |
| total: | 135ms |

| 0 / 0 |

Извините, этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
... ля, ля, ля ...