Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Proper syntax to call file content
amcullen
Junior Member

Posts: 2
Registered: 6/14/2006
Member Is Offline
posted on 6/14/2006 at 09:45 PM Reply With Quote
Proper syntax to call file content


Can someone help me? I want to add content to the scroller from a folder an another domain. Can someone help me with the proper syntax to use in either the 'file' or 'content' sections of the scroll.tpl.js file.

For example, if I want to access a html document at http://www.sample.com/scrollerfiles/test.html, how and where do I format this?

Whenever I try to add anything to the 'file' section, the scroller disappears, and I receive an error message saying " "the script may cause your computer to become unresponsive, do you wish to abort this script?
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 6/15/2006 at 01:13 PM Reply With Quote

all files must reside within the same domain. The default browser security settings prohibit javascript communicating across domains.
View User's Profile View All Posts By User U2U Member
amcullen
Junior Member

Posts: 2
Registered: 6/14/2006
Member Is Offline
posted on 6/15/2006 at 05:39 PM Reply With Quote

Thank you for your reply.

Does this also apply to subdomains? I have some blogs setup on my domain, which when created, become a subdomain. The scroller files are incorporated into each subdomain, but I would like the scroller to obtain it's content from a central source on the main domain. Thereby allowing me to update one set of files, which will change the content of the scroller on all blogs created. Any help on how to achieve this would be much appreciated.

Regards,

Andrew
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 6/16/2006 at 08:41 AM Reply With Quote

Unfortunately (or fortunately from the security point of view) sub-domains also will not do.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Vertical automatic scrolling
Horizontal manual scrolling
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004