View Single Post
  #4  
Old 12-13-2013, 12:34 PM
angellionel angellionel is offline
 
Join Date: Nov 2013
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I figured out where to place the desired code. For those of you who may have been asking similar questions and would like to use a scrolling marquee banner, one of the ways is to place the working code in the navbar template to make use of the space between the header and body of the page. See attached image.

Note: I'm using vBulletin 4.2.2, so I'm not certain if this works with previous versions.

Go to Admin Control Panel > Styles and Templates > Style Manager > Default Style > Template Options > Edit Templates > Select Navigation / Breadcrumb Templates from the left-side menu, double-click to expand, select > navbar, double-click to open template.

Now insert your working banner/marquee code between </div><!-- closing div for above_body --> and <div class="body_wrapper">. Of course, css adjustments and background color will have to be made to match your page theme.

I have another question I am very much hoping an expert here will be able to assist me with.

I am using an iFrame to insert the page containing the html/css and javascript code. The problem I am having is that too much space is added at the top and bottom of the banner. The iFrame is enclosed in div tags. Image is attached. Is there anything that can be done to:

1) Reduce the excess space at the top and bottom of the banner (see first and second arrow)
2) Move the banner body up so that it does not touch the main page body (see third arrow)

Please let me know what additional information is needed.

Thanks in advance!
Attached Images
File Type: jpg banner_01.jpg (7.9 KB, 0 views)
File Type: jpg banner_02.jpg (35.1 KB, 0 views)
File Type: jpg banner_00.jpg (20.0 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01210 seconds
  • Memory Usage 1,785KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (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_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (3)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete