Announcement portlet Javascript

Other ways to insert JavaScript here

  1. Press the "Edit" button
  2. Press the "More" button
  3. Press the "Source" button
  4. make a script tag
  5. put your Javascript in it

If you want to use the page re-writer or otherwise effect other pages you will have to escape the scope of the page:

function temp(){
	        var doc=top.noodle.mainWindow().document;
	        var url=doc.location.href;
                //your code here