Recognising javascript
2 posts by 2 authors in: Forums > CMS Builder
Last Post: May 31, 2010 (RSS)
By degreesnorth - May 31, 2010
Hi
Is there a way to enter a line of javascript code in the section editor that gets recognised on the published page itself? I need to assign a specific line of javascript code (to create an image based menu) which is specific to each tour page. However, when I view the published page, it produces an error of "object doesn't support this object or method". I've tried using a text field, text box and wysiwyg as the field in which to enter the javascript code [ie, <script type="text/javascript" src="scandi.js"></script> ] but it's not recognising that line of javascript in the source code and leaving it blank (which is causing the browser error). Any ideas?
thanks in advance.
Is there a way to enter a line of javascript code in the section editor that gets recognised on the published page itself? I need to assign a specific line of javascript code (to create an image based menu) which is specific to each tour page. However, when I view the published page, it produces an error of "object doesn't support this object or method". I've tried using a text field, text box and wysiwyg as the field in which to enter the javascript code [ie, <script type="text/javascript" src="scandi.js"></script> ] but it's not recognising that line of javascript in the source code and leaving it blank (which is causing the browser error). Any ideas?
thanks in advance.
Re: [degreesnorth] Recognising javascript
By Jason - May 31, 2010
Hi,
Are you getting a javascript error? The best way to do what you're saying is to store your javascript in a text field. Do you have a link to this page so I can see the error?
If you could attach the file you're working with, I can take a look at it for you.
Let me know.
Are you getting a javascript error? The best way to do what you're saying is to store your javascript in a text field. Do you have a link to this page so I can see the error?
If you could attach the file you're working with, I can take a look at it for you.
Let me know.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/