|
|
|
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&msg=34974868&tid=1334070]: |
0ms |
get settings: |
10ms |
get forum list: |
11ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
20ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
34ms |
get tp. blocked users: |
1ms |
| others: | 246ms |
| total: | 336ms |

| 0 / 0 |
