Re: Javascript not working inside of cflayoutarea

2011-04-13 Thread Steve Sequenzia
Got it now. Thanks guys for all of the help. I really appreciate it. -Steve 1) in your main page change this: $(document).ready(function() { $(#accordion).accordion(); }); to this: doAccordion = function() { $(#accordion).accordion(); }); 2) make html code in your test.cfm

Re: Javascript not working inside of cflayoutarea

2011-04-12 Thread Steve Sequenzia
Thanks guys. Any idea how to make this jquery work in cflayout? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=utf-8 /

RE: Javascript not working inside of cflayoutarea

2011-04-12 Thread Andrew Scott
: Wednesday, 13 April 2011 1:09 PM To: cf-talk Subject: Re: Javascript not working inside of cflayoutarea Thanks guys. Any idea how to make this jquery work in cflayout? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html

Re: Javascript not working inside of cflayoutarea

2011-04-12 Thread Azadi Saryev
1) in your main page change this: $(document).ready(function() { $(#accordion).accordion(); }); to this: doAccordion = function() { $(#accordion).accordion(); }); 2) make html code in your test.cfm standards-compliant (add doctype, html, head, body, etc tags) and then add this as

RE: Javascript not working inside of cflayoutarea

2011-04-11 Thread Andrew Scott
http://www.andyscott.id.au/ -Original Message- From: Steve Sequenzia [mailto:c...@thinksys.com] Sent: Monday, 11 April 2011 3:45 PM To: cf-talk Subject: Javascript not working inside of cflayoutarea I have a index page that has a cflayout and a cflayoutarea with a source

Re: Javascript not working inside of cflayoutarea

2011-04-11 Thread Steve Sequenzia
Andrew, Thanks for the response. I fixed the functions to this format - funcName = function() {};. All of the scripts are in separate files. Do I need to use cfajaximport scriptSrc or can I just put the scripts into the CFIDE/scripts folder? I am confused how all that works. Thanks again.

RE: Javascript not working inside of cflayoutarea

2011-04-11 Thread Andrew Scott
: Steve Sequenzia [mailto:c...@thinksys.com] Sent: Monday, 11 April 2011 11:16 PM To: cf-talk Subject: Re: Javascript not working inside of cflayoutarea Andrew, Thanks for the response. I fixed the functions to this format - funcName = function() {};. All of the scripts

Re: Javascript not working inside of cflayoutarea

2011-04-11 Thread Steve Sequenzia
Andrew, I understand what you are saying. I would rather import the files. I just can't seem to get the syntax right. I am trying this - cfajaximport scriptsrc=\CFIDE\scripts\jquery\ When I do that all the other ajax stuff on the page does not load. Do I need to redirect all the files?

RE: Javascript not working inside of cflayoutarea

2011-04-11 Thread Andrew Scott
on, it is invaluable when it comes to development like this. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Steve Sequenzia [mailto:c...@thinksys.com] Sent: Tuesday, 12 April 2011 12:31 AM To: cf-talk Subject: Re: Javascript not working inside of cflayoutarea

Re: Javascript not working inside of cflayoutarea

2011-04-11 Thread Azadi Saryev
Steve cfajaximport scriptsrc=... is only for cf's built-in scripts - you do not use it to load anything else. and you only need to use it if you do not have access to default cf's scripts folder or if you have moved the default cf scripts to another folder. to load jquery or any other js

Javascript not working inside of cflayoutarea

2011-04-10 Thread Steve Sequenzia
I have a index page that has a cflayout and a cflayoutarea with a source to another cfm page. The cfm page that the cflayoutarea uses as the source has a jquery menu in it. When it loads all of the javascript that powers the jquery menu is not loading. I made sure that the javascript source