I am trying to create a block that has this javascript in it:
<SCRIPT language="JavaScript" SRC="http://eqlive.station.sony.com/includes/js_news/eq_headlines.jsp"></SCRIPT>
<noscript>The EverQuest Live news requires you to have JavaScript turned on.</noscript>
This is how I attempted doing it after searching in the forums, however it doesn't create a block.
$content = <<< _HTMLCODE_
<SCRIPT language="JavaScript" SRC="http://eqlive.station.sony.com/includes/js_news/eq_headlines.jsp"></SCRIPT>
<noscript>The EverQuest Live news requires you to have JavaScript turned on.</noscript>
I did search, which is where I found the script portion I posted. I finally figured out how to do it. None of the instructions were very clear on where exactly to put that script.
For those others who may have the same question and are new to this as I am, you don't put the code in the block under Block Administration. You actually create your own block.php file (somename-block.php) and upload it to your blocks folder.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum