vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   sliding forums??? (https://vborg.vbsupport.ru/showthread.php?t=193166)

xfords.com 10-09-2008 02:00 PM

sliding forums???
 
i would like to make my forum page slide, id like to use the default style however make the forum slide over a background image that stays still, also keeping the forum fluid.
what would be the best way of going about this and what would be needed? is there a mod for this or a style already made using the default blue style slide with background still image and in fluid?
i did look through the styles and couldnt find what i was after and couldnt find a mod to make this,
any ideas would be very helpfull and thank you in advance.

Lynne 10-09-2008 02:15 PM

What you want is a 'static background'. Google it and you come up with this sort of tag:
HTML Code:

body{
background-image:url(picture.jpg);
background-attachment:fixed;
}

So, upload your background image, go to the Style Manager and edit Main CSS. Change the body class there to change these properties.

xfords.com 10-09-2008 02:19 PM

lynne thank you for the fast reply, and thank you that is very usefull, i was trying to think of the correct term, was thinking sliding lol but yes static background make sence,
very helpfull and thank you again

edit:
oh before i forget, would this allow the pituce to be fluid as well? so it would crop the background picture if the screen res is less than the bacground picture res??

Lynne 10-09-2008 03:37 PM

I can't really answer that since I have never used this sort of style on my site and don't know exactly how it acts for different users/browsers. I think you just need to try it and play with it to see.

xfords.com 10-10-2008 06:18 AM

ok now what i have been told is using your code would be good, but i want to add the picture so it sit down the forum left edge and be about 400 pixels wide,
and so using the code lynne posted above how would i make the picture stay on the forum background left side edge ?

i am still learning this stuff as far as modifying templates and so on. and so if any one would have code to do waht i was after that would be awsome.

Lynne 10-10-2008 04:05 PM

You may want to see this page on the css background property - http://www.w3schools.com/css/css_background.asp

xfords.com 10-10-2008 10:46 PM

ok thats very usefull thank you again lynne


All times are GMT. The time now is 08:58 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.01022 seconds
  • Memory Usage 1,720KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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