How is you JavaScript written?
Is it like this
Function funcName() {
}
Or is it written like
funcName = function() {};
This is important, and as per the nodes in the documentation there are
issues with JS not working, if you are not following the latter method. If
however you are doing this, can you confirm with me that it is loaded in the
page, or is it included as a separate file in the loading page.
By going to FireFox and using firebug you can confirm that the pages are
loading, after that you can either debug the script and see if it is being
run or not.
Regards,
Andrew Scott
http://www.andyscott.id.au/
> -----Original Message-----
> From: Steve Sequenzia [mailto:[email protected]]
> 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
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 files were being loaded on the
index
> page. I have also been trying to get them to load with cfajaximport
scriptSrc
> but that is not working.
>
> Here is some code:
>
> <cflayout type="hbox">
>
> <cflayoutarea name="nav" source="nav_pos.cfm">
>
> </cflayoutarea>
>
> </cflayout>
>
> The nav_pos.cfm has the jquery on it that is not working.
>
> Any help on this would be great.
>
> Thanks!
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343641
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm