0
我有一些JavaScript彈出在html中正常工作。Drupal總是去除彈出窗口嗎?我怎樣才能使它工作?
我知道如何在彈出的作品,
但是當我試着去改變,並在page.tpl.php中使用的代碼,所有的人總是失敗
是Drupal的總剝離彈出?以及如何使其工作?
由於事先
----- -----加入 (我知道這個代碼是髒)
在<head></head>
:
<script type="text/javascript">
//default pop-under house ad url
infinityads_enable_pop = true;
infinityads_frequencyCap =0;
durl = '';
infinityads_layer_border_color = '';
infinityads_layer_ad_bg = '';
infinityads_layer_ad_link_color = '';
infinityads_layer_ad_text_color = '';
infinityads_text_link_bg = '';
infinityads_text_link_color = '';
infinityads_enable_text_link = false;
</script>
<script type="text/javascript" src="http://localhost/jjj/js.js"></script>
在http://localhost/jjj/js.js
:
document.write("<img src=\"http://www.myroitracking.com/newServing/tracking_id.php?d=ads.lzjl.com&r=http%3A%2F%2Fads.lzjl.com%2FnewServing%2Ftracking_id.php%3Fb%3D1%26>ruid=1\" width=\"1\" height=\"1\" />");
private_label_prefix = "infinityads";
infinityads_company_name = "infinityads.com";
infinityads_static_host = "static.hatid.com";
infinityads_service = "ads.lzjl.com";
infinityads_image_base_url = "http://creative.hatid.com/network_default/network_5/";
infinityads_search_base_url = "http://ads.lzjl.com/newServing/yesupSearch/web.php?q=";
infinityads_adhere_url = "http://infinityads.com";
infinityads_widget_title = "Clicksor Connect";
infinityads_widget_title_link = "http://www.clicksor.com/connect-widget";
infinityads_pub_host = "publisher.infinityads.com";
infinityads_nid=5;
infinityads_pid=5828;
infinityads_sid=9091;
infinityads_banner_adtype=0;
infinityads_enable_inter=false;
document.write("<iframe src=\"http://ads.clicksor.com/newServing/searchTrack.php?nid=5&random=439915900\" width=\"1px\" height=\"1px\" frameborder=\"0\" scrolling=\"no\" style=\"position:absolute;z-index:9999301;\"></iframe>");
if (typeof(Yesup) == "undefined") {
document.write('<script type="text/javascript" src="http://localhost/jjj/show_ad.js"></script>');
} else {
Yesup.Init();
}
in http://localhost/jjj/show_ad.js
is in此網址:
http://wimg.co.uk/YUZ.js
上面已添加代碼。我已經嘗試了許多方法,沒有運氣,包括JavaScript中的位置page.tpl.php – 2010-07-31 01:12:30
本地引用的文件實際上是否可用?此網站是否打算僅在服務器上查看時才能使用? – interfect 2010-07-31 01:39:20
本地主機只用於測試..是的,其實際可用 – 2010-07-31 02:08:47