Page 1 of 1

HTML Nugget (Sidebar) - No JavaScript :-(

Posted: Sun Mar 11, 2007 3:12 pm
by JPTN
Is there a way to include JavaScript or PHP in the nugget?
I'm trying to run some code off another one of my websites.

Include JavaScript

Code: Select all

<SCRIPT> my code </SCRIPT>
doesn't show up.

I'm also trying to write a plugin that just displays ANY code I put in it, not a WYSIWYG nugget.

Any help or information is appreciated.

Re: HTML Nugget (Sidebar) - No JavaScript :-(

Posted: Sun Mar 11, 2007 4:23 pm
by garvinhicking
Hi!

Yes, you can use javascript.

You might need to disable the WYSIWYG editor to do so (because if you have the WYSIWYG editor enabled, it might not save your original content), and you might need to set "Apply Markup transformations" to "no" in the nugget.

Best regards,
Garvin

Thanks!

Posted: Sat Mar 17, 2007 10:48 pm
by JPTN
Thank you!

For some reason it's not loading a remote .js, but that probably has to do with my host/javascript security.

Regular JavaScript, HTML, and other works.

:-)