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: using HTML files from another server with scroller
tommycahir
Newbie

Posts: 1
Registered: 8/6/2007
Location: Carlow, Ireland
Member Is Offline
posted on 8/6/2007 at 10:00 AM Reply With Quote
using HTML files from another server with scroller


Hi

I have implemented and got the scroller working using the sample's provided in sample 2, However i want to be able to have 4 html files that are located onanother server used as the content for the scroller. I know i can edit the scroll.tpl0.js file and add them in as 'files' but I get object not found when i do that.

My items section currently looks likethe below

ITEMS = [
{
'file': 'http://dubgsa.cvxzz.com/%7Essswww/public/VM.htm',
'content': '',
'pause_b': 10,
'pause_a': 1
},
{
'file': '../s0_data/cont2.html',
'content': '',
'pause_b': 10,
'pause_a': 1
}
]

I have used cvxzz as the domain on purpose as it is an internal site for the moment. BTW i have also tried to put in the URL as http://dubgsa.cvxzz.com/~ssswww/public/VM.htm but it still gives me the same issue

Does it matter that this html file is generated by MS word [user requirement :-( ]
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 8/6/2007 at 04:25 PM Reply With Quote

the browser security will block JavaScript from communicating across the domains so this will not work. You'll have to pull those files to the local server first.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos:
Multiple vertical scrolling
Horizontal scrolling
Free Download Free Download
Product Documentation Documentation:
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
   

Go To Top


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