Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-11-2013, 11:50 PM
angellionel angellionel is offline
 
Join Date: Nov 2013
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Inserting Scrolling Image Gallery Code - Where?

I have a scrolling image code that I now have working and have tested on my test vBulletin installation, except that I haven't been able to find how to insert the code so that the scrolling banner shows in the open space between the header and body as noted on the attached image. Thoughts? Any assistant will be very much appreciated. Thanks in advance!
Attached Images
File Type: jpg forum_header.jpg (11.8 KB, 0 views)
Reply With Quote
  #2  
Old 12-12-2013, 12:05 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the code? Do you want it to show on all pages ?
Reply With Quote
  #3  
Old 12-12-2013, 04:44 AM
angellionel angellionel is offline
 
Join Date: Nov 2013
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
What's the code? Do you want it to show on all pages ?
Thank you for your reply, ozzy.

It's an <iframe></iframe> line which inserts a html/css and javascript page. I'm not a coder. I just played around and modified an existing javascript multiple image scroller to suit my needs. Yes, I also want to show the banner in all pages.

Thanks again for any help you may be able to offer!
Reply With Quote
  #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
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 02:16 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.03540 seconds
  • Memory Usage 2,209KB
  • 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
  • (4)postbit_attachment
  • (4)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
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete