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: Multiple pages
godofhellfire
Junior Member

Posts: 2
Registered: 12/17/2004
Location: Ft. Lauderdale
Member Is Offline
posted on 12/17/2004 at 05:12 PM Reply With Quote
Multiple pages


Newbie here. Javascript infant. Picking up new project from disgruntled previous webmaster. He used the scroller and client would like to keep it. I've figured out the basics and have it working fine. Picking up content from external html file.

I notice in the documentation that you can use multiple external html files for the content. I had assumed, perhaps incorrectly, that by creating an additional scroll.tpl.js page (i.e. scroll.tpl.js0 - pointing to ann.htm and scroll.tpl.js1 - pointing to ann1.htm) that the scroller would display both consecutively. No such luck. Only displaying contents from ann1.htm.

Am I incorrect in my assumption or does the scroller only display content from 1 html page?
View User's Profile View All Posts By User U2U Member
godofhellfire
Junior Member

Posts: 2
Registered: 12/17/2004
Location: Ft. Lauderdale
Member Is Offline
posted on 12/17/2004 at 06:15 PM Reply With Quote

Just found previous post regarding multiple html pages posted by shannon on 12/10. Didn't seem there was a resolution on the subject.

I tried suggestion by rock, adding additional pages to the file separated by comma...

{
'file': '../subfolder/ann.html', '../subfolder/ann1.htm',
'content': ' ',
'pause_b': 0,
'pause_a': 0,
}

this seems to break the scroller. Nothing displays. If I do this...

{
'file': '../subfolder/ann.html',
'file': '../subfolder/ann2.html',
'pause_b': 0,
'pause_a': 0,
}

I only get the contents of ann2.htm in the scroller.

and if I do this

{
'file': '../subfolder/ann.html',
'content': ' ',
'pause_b': 0,
'pause_a': 0,
}
{
'file': '../subfolder/ann1.htm',
'content': ' ',
'pause_b': 0,
'pause_a': 0,
}

Nothing happens.

So what am I doing wrong.
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 12/20/2004 at 07:37 AM Reply With Quote

Try
ITEMS = [
{
'file': '../subfolder/ann.html',
'content': ' ',
'pause_b': 0,
'pause_a': 0
},
{
'file': '../subfolder/ann1.htm',
'content': ' ',
'pause_b': 0,
'pause_a': 0
}
];
BTW: you could always download the product from our site, the package contains useful demos.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Tigra Scroller
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
   
Tigra Scroller PRO
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