|
|
|
XML + JS
|
|||
|---|---|---|---|
|
#18+
Помогите пожалуйста. Есть XML документ, вот его часть: ..... {include file="$fs_templates_path/modules/userpanel.tpl"} {if $display_flash==1}{include file="$fs_templates_path/modules/flash.tpl"}{/if} {if $display_head==1}{include file="$fs_templates_path/modules/hot_offers.tpl"}{/if} {if $display_head==2 || !$display_head}{include file="$fs_templates_path/modules/common_header.tpl"}{/if} ..... мне во второй строке: {if $display_flash==1}{*******}{/if} на месте *** нужно вызвать запустить JS код. Пробовал что то типа: {if $display_flash==1}{include file="$fs_templates_path/modules/flash.js"}{/if}, где в файле flash.js содержится нужный мне скрипт, появляется куча ошибок.. Я в XML совершенно ничего не понимаю, поэтому объяните если можете. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.11.2007, 08:08 |
|
||
|
|

start [/forum/topic.php?fid=14&fpage=56&tid=1334070]: |
0ms |
get settings: |
7ms |
get forum list: |
19ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
56ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
48ms |
get tp. blocked users: |
1ms |
| others: | 215ms |
| total: | 367ms |

| 0 / 0 |
