Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How to have a "dynamic" table width?

Quote Reply
How to have a "dynamic" table width?
Hi!

After having LinksSQL set up, that it is displaying images, I need a mod that belongs to this.

We're going to have 2 different sizes of thumbs and therefore it's needed to have the cell,

where the thumb is displayed has a width, that belongs to the thumb.

In link.html I have

<td width="160"><div align="center"><img src="....../links/thumbs/<%file_name%>" border="1"></div></td>

and I'd like to have something like

<td width="<%thumb_width%>"><div align="center"><img src="....../links/thumbs/<%file_name%>" border="1"></div></td>

And when I'm adding a new link, there should be a Pulldown menu where I can select thumb_width 1 or 2.



What do I have to do? Adding a new global, where the sizes of thumb_width1 and 2 are specified? And adding a new

colum for the "add links" for it?

Any ideas? Wink



sun
Subject Author Views Date
Thread How to have a "dynamic" table width? sun112 1561 Oct 17, 2003, 11:21 AM
Thread Re: [sun112] How to have a "dynamic" table width?
sun112 1488 Oct 17, 2003, 1:03 PM
Thread Re: [sun112] How to have a "dynamic" table width?
Andy 1487 Oct 18, 2003, 2:36 AM
Post Re: [Andy] How to have a "dynamic" table width?
sun112 1480 Oct 18, 2003, 2:50 AM