SimplePortal

Support => International Support => Turkish (Türkçe) => Topic started by: ucundan on September 27, 2009, 03:36:57 PM

Title: Javascript problemi
Post by: ucundan on September 27, 2009, 03:36:57 PM
Arkadaşlar Teamspeak serverımın javascript kodlarını html kod bloğuna eklemeye çalıştığımda sayfa bembeyaz olup gidiyor, yani blok oluşmuyor. Kullandığım kod şu:

Code: [Select]
<script language="javascript" type="text/javascript" charset="iso-8859-1" src="http://www.tsviewer.com/ts_viewer_pur.php?ID=62351&bg=transparent&type=ffffff&type_size=11&type_family=1&info=0&channels=1&users=1&js=1&type_s_color=ffffff&type_s_weight=bold&type_s_style=normal&type_s_variant=normal&type_s_decoration=none&type_s_color_h=525284&type_s_weight_h=bold&type_s_style_h=normal&type_s_variant_h=normal&type_s_decoration_h=underline&type_i_color=ffffff&type_i_weight=normal&type_i_style=normal&type_i_variant=normal&type_i_decoration=none&type_i_color_h=525284&type_i_weight_h=normal&type_i_style_h=normal&type_i_variant_h=normal&type_i_decoration_h=underline&type_c_color=ffffff&type_c_weight=normal&type_c_style=normal&type_c_variant=normal&type_c_decoration=none&type_c_color_h=525284&type_c_weight_h=normal&type_c_style_h=normal&type_c_variant_h=normal&type_c_decoration_h=underline&type_u_color=ffffff&type_u_weight=normal&type_u_style=normal&type_u_variant=normal&type_u_decoration=none&type_u_color_h=525284&type_u_weight_h=normal&type_u_style_h=normal&type_u_variant_h=normal&type_u_decoration_h=none"></script><noscript>Enable JavaScript or visit <a href="http://www.tsviewer.com/index.php?page=ts_viewer&ID=62351">TeamSpeak Viewer</a> to display the TeamSpeak server.</noscript>
Ayrıca php kodu da php bloğunda çalışmıyor. syntax hatası veriyor:

Code: [Select]
<?php include("http://www.tsviewer.com/ts_viewer_pur.php?ID=62351&bg=&type=ffffff&type_size=11&type_family=1&info=0&channels=1&users=1&type_s_color=ffffff&type_s_weight=bold&type_s_style=normal&type_s_variant=normal&type_s_decoration=none&type_s_color_h=525284&type_s_weight_h=bold&type_s_style_h=normal&type_s_variant_h=normal&type_s_decoration_h=underline&type_i_color=ffffff&type_i_weight=normal&type_i_style=normal&type_i_variant=normal&type_i_decoration=none&type_i_color_h=525284&type_i_weight_h=normal&type_i_style_h=normal&type_i_variant_h=normal&type_i_decoration_h=underline&type_c_color=ffffff&type_c_weight=normal&type_c_style=normal&type_c_variant=normal&type_c_decoration=none&type_c_color_h=525284&type_c_weight_h=normal&type_c_style_h=normal&type_c_variant_h=normal&type_c_decoration_h=underline&type_u_color=ffffff&type_u_weight=normal&type_u_style=normal&type_u_variant=normal&type_u_decoration=none&type_u_color_h=525284&type_u_weight_h=normal&type_u_style_h=normal&type_u_variant_h=normal&type_u_decoration_h=none"); ?>
Title: Re: Javascript problemi
Post by: grafitus on September 30, 2009, 10:10:19 AM
JavaScript kodları genellikle </head> tagının üstüne eklenir. Ve PHP bloğunda PHP taglarını açmadan kodunuzu ekleyeceksiniz. (Bu arada include ile başka bir sunucu üzerinden dosya çağırılmır mı bilmiyorum.)
Title: Re: Javascript problemi
Post by: [SiNaN] on October 05, 2009, 10:19:23 AM
İlk kod HTML bloğunda çalışmalı, bizzat denedim. Hangi sürümü kullanıyorsunuz?

İkincisi ise include() fonksiyonu ile ilgili bir kısıtlamadır muhtemelen.
Title: Re: Javascript problemi
Post by: ucundan on October 06, 2009, 03:44:44 PM
2.3 versiyonunu kullanıyorum ama java kodunu çalıştırmayı şu ana kadar başaramadım. Kodu girip kaydet dedidiğimde sayfa bembeyaz kalıp kilitleniyor. Geri al yapıp öyle foruma giriyorum. Tiny portal kullanırken bu kodu rahatlıkla çalıştırabiliyordum. Bence simple portal da java yla ilgili bir problem var.
SimplePortal 2.3.8 © 2008-2024, SimplePortal