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: Use .asp and mssql?
dino
Junior Member

Posts: 3
Registered: 4/6/2005
Member Is Offline
posted on 4/6/2005 at 02:40 AM Reply With Quote
Use .asp and mssql?


I'm trying to get Tiagra Scroller(free version) to get its content from the results of a select query from a mssql database using an asp page. The asp page uses asp's document.write property to display the results of the query. I renamed scroll.tpl1.js to scroll.tpl1.asp and I changed the scroll.html file's document.write property to point to the asp page, but it doesn't work. It just returns a blank page. Does anyone know a way to do this? thanks.
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 4/6/2005 at 08:34 AM Reply With Quote

Please attach here sample of your tpl.asp
View User's Profile View All Posts By User U2U Member
dino
Junior Member

Posts: 3
Registered: 4/6/2005
Member Is Offline
posted on 4/6/2005 at 02:41 PM Reply With Quote
tpl sample


Hi-
Here is my scroll.tpl1.asp file. For testing, the only line I changed from the file supplied with the program was 'file:'

BEGIN scroll.tpl1.asp


var
LOOK = {
// scroller box size: [width, height]
'size' : [300, 225],
// for on-demand mode: path to image for scrolling items backward
// if relative than to Tscroll_path_to_files
'up' : 'alf.gif',
// for on-demand mode: path to image for scrolling items forward
// if relative than to Tscroll_path_to_files
'dn' : 'art.gif'
},

BEHAVE = {
// if scrolling mode is auto (true / false);
'auto' : true,
// if scrolling direction is vertical (true / false, false means horisontal)
'vertical' : true,
// scrolling speed, pixels per 40 miliseconds;
// for auto mode use negative value to reverse scrolling direction
'speed' : 10
},
// a data to build scroll window content
ITEMS = [
{ // file to get content for item from; if is set 'content' property doesn't matter
// only body of HTML document is taken to become scroller item content
// note: external files require time for loading
// it is RECOMMENDED to use content property to speed loading up
// please, DON'T forget to set ALL IMAGE SIZES
// in either external file or in 'content' string for scroller script
// to be able to estimate item sizes
'file' : '../s1_data/eventscrolldata-1.asp',
// string to be displayed as item content,
// is RECOMMENDED to be used as an alternative to 'file' property
'content' : '<b><center>Tigra Scroller Advantages</center></b>',
// pause duration when item top gets top of the scroller box, seconds
'pause_b' : 1,
// pause duration when item bottom gets bottom of the scroller box, seconds
'pause_a' : 0
},
{
'file': '',
'content': '<p><b>Saves the space on the page</b> - With Tigra Scroller there is always enough space for the content you want on your site. Hot news, events, slide shows, ads - everything can fit without destroying your design idea.</p>',
'pause_b': 1,
'pause_a': 0
},
{
'file' : '',
'content' : '<p><b>Attracts visitor\'s attention</b> - Make sure your visitors read hot content immediately after page loads. With Tigra Scroller text and images presented in a natural way for easy reading.</p>',
'pause_b' : 1,
'pause_a' : 0
},
{
'file' : '',
'content' : '<p><b>Professional Look</b> - With this simple to install and maintain widget your site can look really cool.</p>',
'pause_b' : 1,
'pause_a' : 0
}
]

END
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 4/7/2005 at 01:44 PM Reply With Quote

here is files works good for me (Tigra Scroller v1.5)

Attachment: asp_content.zip (3.36kb)
This file has been downloaded 749 times
View User's Profile View All Posts By User U2U Member
dino
Junior Member

Posts: 3
Registered: 4/6/2005
Member Is Offline
posted on 4/7/2005 at 07:54 PM Reply With Quote
Thank you.


Thank you. I got it working.
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