vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Long thread title.. and moving images.. (https://vborg.vbsupport.ru/showthread.php?t=85269)

cyr0n_k0r 11-10-2002 11:49 PM

Long thread title.. and moving images..
 
1 Attachment(s)
Ok, at the top of the thread there is a series of images.

In the center of the images is the variable for the thread title. I forget, its something like $thread[title] or something like that.

Anyway, as you can see in the picture, when the thread title gets too long it messes up the images.

What changes to my code do I make to allow the images to "strectch" when the thread title gets long.

Example, the center image background will expand with the thread title.. while the left and right image backgrounds shrink to allow room for the thread title.


Quote:


<!-- Begin Top Images -->

<br><table width="95%" height="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="right" width="0"><img src="https://vborg.vbsupport.ru/images/*******/left.gif"></td>
<td width="30%" align="center" background="https://vborg.vbsupport.ru/images/*******/bg_top.gif"></td>
<td valign="top" align="right" background="https://vborg.vbsupport.ru/images/*******/bg_top.gif"></td>
<td align="left" width="0"><img src="https://vborg.vbsupport.ru/images/*******/left2.gif" ></td>

<td width="40%" align="center" background="https://vborg.vbsupport.ru/images/*******/bg_top2.gif">
<normalfont color="#000000"><b>$thread[title]</b></normalfont></a><br></td>
<td align="right" width="0"><img src="https://vborg.vbsupport.ru/images/*******/right2.gif"></td>
<td width="30%" align="center" background="https://vborg.vbsupport.ru/images/*******/bg_top.gif">
</td>
<td valign="top" align="right" background="https://vborg.vbsupport.ru/images/*******/bg_top.gif"></td>
<td align="left" width="0"><img src="https://vborg.vbsupport.ru/images/*******/right.gif" ></td>
</tr>

<!-- End Top Images -->



-----
the reason the site is blurred out is because the site isnt yet live, and I dont want to deal with traffic and stuff until it goes live.

Tony G 11-11-2002 03:53 AM

Unless you make it all one <td> tag, it won't go any furthur. As you can see in your code, the thread title doesn't stretch out to where the code for the next <td> tag lays. So I don't see any other possibility.

cyr0n_k0r 11-11-2002 03:35 PM

how would I make it all one td tag while still maintaing the same look?

Tony G 11-12-2002 03:15 AM

It would have to all be one single image.


All times are GMT. The time now is 10:45 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00981 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete