, Guest!
Already a Member? Login or Register.

Menu



Showcase


Due to the volume of spam happening on our forums, posting is now restricted to verified members only.  If you're not verified, drop us a note with your username.

Home > FlexCMS Support Forum > User Help > General Support Requests > Javascript problems

FlexCMS Support Forum


Javascript problems
Started September 2, 2006 @ 5:17pm by lionkyng
Post Message 
lionkyng


Posts: 3
 
Javascript problemsSeptember 2, 2006 @ 5:17pm
just started using FlexCMS v2 it is brilliant.
I've almost completed moving an existing site into Flex but there's just one problem I cannot get right.

I have a javascript providing scrolling textbox functionality. I placed a link to the .js file in the <head> section of my template like this

Code

<script language="javascript" src="http://www.mywebsite.com/ts_files/scroll.js"></script>

within the home page I have to make a call to a function within the .js file like this

Code

<SCRIPT LANGUAGE="JavaScript">Tscroll_init (0)</SCRIPT>

this is straightforward in any html page but just cannot get it working in Flex, I'm not sure how the function should be called within a Flex page,
any help would be very appreciated

lionkyng
 
DCSun
Administrator



Posts: 625
 
September 2, 2006 @ 7:55pm
Thanks for your kind words about FlexCMS -- we're glad you like it!

There shouldn't be any difference at all between how the JavaScript works in FlexCMS blocks or pages compared to a standard HTML page.

Have you verified that the code you added to the template is actually being printed into the page by viewing the source? And the same goes for the section that's calling it, is that displayed in the source? If both of those are there as they should be, what error or problem are you experiencing? Can you provide a URL where this is happening (feel free to send it to if you'd like it kept private)?


David


FlexCMS v3.2 Has Been Released!
 

Post Message 




Try & Buy FeedForAll - Easy to use RSS Feed Creator - great for iTunes users!

MEMBERS




All Contents, Code, Scripts and Technologies Copyright 2003-2009 FlexCMS.
All Rights Reserved. Software License Agreement

Processing Time: 0.07812 seconds.
 
Management Login

Powered By FlexCMS
Powered By FlexCMS