Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-10-2002, 11:49 PM
cyr0n_k0r
Guest
 
Posts: n/a
Default Long thread title.. and moving images..

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.
Attached Images
File Type: jpg long.jpg (72.8 KB, 0 views)
Reply With Quote
  #2  
Old 11-11-2002, 03:53 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 11-11-2002, 03:35 PM
cyr0n_k0r
Guest
 
Posts: n/a
Default

how would I make it all one td tag while still maintaing the same look?
Reply With Quote
  #4  
Old 11-12-2002, 03:15 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would have to all be one single image.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06325 seconds
  • Memory Usage 2,199KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (1)postbit_attachment
  • (2)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete