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: Embedding Scroll Feature into a Cell
aamin
Junior Member

Posts: 2
Registered: 12/30/2004
Member Is Offline
posted on 12/30/2004 at 05:51 AM Reply With Quote
Embedding Scroll Feature into a Cell


I'm new to the Tigra Scroller and I'm trying to figure out how to add a horizonal scroll feature within a cell tag on my home page (www.cbc.ca has an example of what I'm trying to accomplish). Right now I'm getting the "Page Cannot Be Displayed" message that scrolls veritcally across the page. The code below is an excerpt of what I have so far (the entire code is attached):

<td width="630">
<div id=mn style="visibility:hidden;position:absolute;top:0;left:0;width:100%"><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="ItemBody" id=mnc></td></tr></table></div>
<script language="JavaScript">
function getElem(div) {
return document.getElementById ? document.getElementById(div) : document.all[div]
}
...
function supp () {
o_cont.innerHTML = this.content
ajust()
}
</script>
</td>

Thanks in advance for your help!

Attachment: code.txt (4.18kb)
This file has been downloaded 820 times
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/30/2004 at 07:17 AM Reply With Quote

You just need to insert your scroller constructor into the required cell (without modifying the scroller code):
<td>
<SCRIPT LANGUAGE="JavaScript">Tscroll_init (0)</SCRIPT>
</td>

Note: width and height of the scroller you should define in variable LOOK (scroll.tpl0.js file)
View User's Profile View All Posts By User U2U Member
aamin
Junior Member

Posts: 2
Registered: 12/30/2004
Member Is Offline
posted on 12/31/2004 at 04:48 AM Reply With Quote

Ok, I think I understand setting up the constructor, but what do exactly do I do with the code from scroll.html?
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/31/2004 at 09:31 AM Reply With Quote

nothing
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