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: Specifying size of box in percent
mgaffney
Junior Member

Posts: 3
Registered: 4/26/2006
Member Is Offline
posted on 4/26/2006 at 03:10 PM Reply With Quote
Specifying size of box in percent


I downloaded your scoller program, and got it working on our Web site. The only problem is, when I specify the size of the box in pixels (which is the default), when the screen is resized, it throws everything else in the table out of whack.

Is it possible to specify the size of the box as a percentage of a table/cell, so when you're dealing with users with different resolutions, the scroller will look the same across all of them?

Thanks for your help!!
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 4/27/2006 at 01:26 AM Reply With Quote

the original script doesn't support relative sizes, but I think I saw some hacks in this forum for that.
View User's Profile View All Posts By User U2U Member
mgaffney
Junior Member

Posts: 3
Registered: 4/26/2006
Member Is Offline
posted on 4/28/2006 at 12:13 PM Reply With Quote

I found the post a few below what I had posted - hopefully changing 'px' to a percent in scroll.html will do the trick:

-----
If anyone else wants to do it, you just need to find this line in scroll.html:
o_container.style.width = w + 'px';

and change it to:
o_container.style.width = '100%';

Hope this helps some people!
-----

Thanks!

Marty
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