vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Banner image size (https://vborg.vbsupport.ru/showthread.php?t=200716)

dxflw 01-04-2009 10:53 PM

Banner image size
 
Hi and happy new year for everybody?
Question for the coders:
Is possible create a code for this job?

I want to add a banner image but i want that the user can see the image big or small proportionally with the pc monitor of the user

in example:

The image banner are inside to the table

<table width="100%">
<tr>
<td>
<img src="/banner.gif">
</td>
</tr>
</table>

now if the resolution of the monitor is 1280x768 then the pic width can be 392px
and if the resolution of the monitor is 1400x1050 then the pic width can be 465px

-------------------
is tha possible?

TimberFloorAu 01-05-2009 12:58 AM

Only thing I have seen is this:

http://particletree.com/examples/dynamiclayouts/

dxflw 01-05-2009 08:57 AM

This dynamiclayouts will do what i want with the images in example on the breadcrump template?

i cant understand how to install the code 's and where to upload the files...

Any help?

TimberFloorAu 01-05-2009 09:11 AM

would depend on the forum/thread you wanted to display.

If board wide, then I would imagine forumdisplay. With js/css etc linked in the header script.

If threadview then link it as a block in threadview templates

dxflw 01-05-2009 01:15 PM

Thank you but too dificult...

any else and more simple?


All times are GMT. The time now is 07:12 PM.

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.00906 seconds
  • Memory Usage 1,713KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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