[SOLVED] javascript in widget not working
Hi,
Can anyone tell me why when i put this javascript code in the text of the widget sidebar area, it delete all the content of all pages and of the other sidebar. Only the header and this sidebar remains!!! This is the code: <Script charset ="Shift_JIS" src ="Http://chabudai.sakura.ne.jp/blogparts/honehoneclock/honehone_clock_wh.js"> </ Script> Thanks to everybody Emanuele |
what is happening is that as the page is being dynamically built, that code is causing an error ending the building of the page. Check your error logs on the server to see if you can find out what the error is.
|
Thank you very much for your quick reply.
I have no idea how to check my error log!!! any tips? Thanks |
it's something on teh server. You could try this, go to the theme editor and edit index.php and add
HTML Code:
error_reporting(E_ALL ^ E_NOTICE); |
Now it's quite messy!!!
www.ashtangayogaoxford.org |
is the java code in?
|
no! it's not in the sidebar
should i put it in? |
well the error won't show if the code causing it is not there....
|
I put the code in the widget text of the left sidebar and this is what happen...
www.ashtangayogaoxford.org thankx thankx |
ok, take the code out (the java and the code you put in index.php) I was hoping it might show something but it doesn't
|
Thank you very much for all your effort. It's much appreciated! :)
If you have any other tips are all welcome. I'm going to donate. Thankx Emanuele |
you have an error in the way you have typed the code. Use this
HTML Code:
<script charset="Shift_JIS" src="http://chabudai.sakura.ne.jp/blogparts/honehoneclock/honehone_clock_tr.js"></script> |
You are amazing!
You can fix anything. Thankx |
All times are GMT -6. The time now is 06:05 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.