vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Sliding Divs and Blacking Out (https://vborg.vbsupport.ru/showthread.php?t=144968)

TruthElixirX 04-15-2007 10:18 PM

Sliding Divs and Blacking Out
 
Well, with summer fast approaching, I am wanting to become a part of the vB.org community again. I have some plans to work on a "2.0"ish style for vB. It will be full of lots of useless sliding stuff and probably not work in anything outside of IE7 and FF 2.0. :)

Anyways, to my questions.

I was playing with making posts collapsible in vB a couple of days ago, and I got it to work with a simple JS file and template edit, but, the CSS was troubling me. I could only get it to show a certain portion of the post, the rest was over flow and was hidden. THe code I sued was this:

Code:

<div id="$postidstuff" style="display:none; overflow:hidden; height:95px;">
The problem is, it sets that height for EVERY post, regardless of size. I tried using percentages or removing it completely.I can't figure out what value to put in there to make it auto adjust to fit the size of the post. Any suggestions? Any value in vB that will allow me to do this? Or do I need to go with a whole new approach because this one is incompatible?

Secondly:


http://reddit.com

Go to one of the articles and try to click an up arrow on someone's comment (without logging in), see how the log in box drops out of nowhere and sort of grays everything else out? What effects are used to achieve that?

TruthElixirX 04-18-2007 10:42 PM

Bump, surely someone knows. =/

ViciousCode 07-01-2009 07:25 PM

ah there is alot of them.

Lightbox, greybox, thickbox, and Highslide, google them


All times are GMT. The time now is 03:52 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.00979 seconds
  • Memory Usage 1,711KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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