Script disappearing in text widget
-
ARRGHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!
Right, i have spent two hours, its now 1am here, looking at WHY my javascript wont work in a text widget box.
The javascript is;
<script language=”javascript” type=”text/javascript” src=”http://www.librarything.com/jswidget.php?reporton=stonneway&show=tagcloud&header=1&cloudnum=30&cloudwhich=frequent&cloudcontrast=5&cloudsize=9&css=1&style=1&link=catalog&version=1″>
</script>When I save changes, and view the text box again, its blank except for the backticks. The blog just shows the back ticks as well.
I have tried putting backticks at the start and end of that sccript, using speach marks, using single speach marks, I’ve googled, searched till im blue, but NOTHING makes WP remember that script. Each time i save, the script vanishes leaving just the back ticks. Even without any form of backticks, with just the <script> text, it still disappears.
WHY oh why !?
Olly
-
Olly, stop and breathe!! :)
Javascript is disabled for security. I believe that there is more information in the FAQ at the top of the forum, alos at http://faq.wordpress.com.
Hope this helps.
Collin
-
ahhhh GGGREAT !
How about a pop up when you try to paste scripts in to teh widgets so that its apparent what is going on?
Only an idea.
-
Which begs the question, how can we put script into our blogs? I’ve had the same problem. Turning all JS of from the text widget means we can’t do the secure stuff either–for example enable an iframe for books from Amazon.
How to add this stuff?
-
- The topic ‘Script disappearing in text widget’ is closed to new replies.