By joza on
Greetings,
I'm trying to insert a javascript code onto my site. It is a job roll ad that I got from a site called indeed.com.
The code itself looks like this
<script type="text/javascript"><!--
indeed_jobroll_format = "120x600";
indeed_jobroll_publisher = "8109288250801882";
indeed_jobroll_keywords = "English";
indeed_jobroll_location = "";
//--></script>
<script type="text/javascript" src="http://jobroll.indeed.com/ads/jobroll2.js">
</script>
<noscript><a href="http://www.indeed.com/">Jobs</a> by Indeed</noscript>
I tried to input it as both Full HTML and PHP code, to no avail. Can anyone recommend how I can get this ad to display so that I can insert it into a panel page?
Comments
=-=
PHP input format should indeed allow js to work in a node as it doesn't block any type of code as far as I can tell. Though the addition of panels may alter this behavior but I don't think it should.
Have you tried the JS on a page content type with the php input format enabled on the node?
I have tried the JS code on a
I have tried the JS code on a page content type with php input format enabled.
It seems like it should work but I get this error message every time from Firefox when I try to save it or preview it
I've tried it on multiple different computers too, not sure what the problem is.
The PHP code doesn't have an
The PHP code doesn't have an editor does it? Your Full and Filtered HTML inputs should have an editor, but the PHP one should not. (Check this under admin > site configuration > wysiwyg; The PHP code should read "No editor")
Have you tried putting the code into a regular book page instead of a panel page?
Yes there is no editor for
Yes there is no editor for PHP input - I have tried inputting the same code as a book page and just as a page to no avail
Inserting Java scrip same problem
I have had the same problem with the javascript code on my site, I have tried many of the same procedures with no success.
The wysiwyg editor is disable on my site but the page still hangs when I try to save.