|
|
|
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: |
6ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
58ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
32ms |
get tp. blocked users: |
1ms |
| others: | 242ms |
| total: | 371ms |

| 0 / 0 |
