XFileSharing Pro - Download page problem

Posts: 47
Joined: May 21, 2010 5:26 am

Download page problem

#1 Postby Oswaldt » Jul 12, 2010 1:48 am

The download information box...is there a way to set it to a specific size? right now it's resizing itself to fit the filename.... it's messing up the formatting of the page.

Is there a way to make is static?

Posts: 102
Joined: Dec 30, 2009 1:50 pm

#2 Postby nik0la » Jul 19, 2010 12:42 am

i try this to but i simply cant :) i try to edit table width i try to edit css file with width but when larger file name needs to be displayed table just get resized

Posts: 45
Joined: Dec 22, 2008 3:40 pm

#3 Postby naga » Jul 19, 2010 9:35 am

Easy way:
you need to change the table to a div with a fixed width, and you can also use the overflow:hidden attribute to not display stuff going out of the div

Hard way:
edit the index.cgi file to make another variable ($file2 or something) and do something like if(length $link > 64) $file2 = substr $link, 64; else $file2 = $link;
then in your download template you can use just the $file2 variable or use it with a js expand box or whatever you want..

Return to “XFileSharing Pro”