vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - UKBL ~ Newsticker IFrame in Navbar (https://vborg.vbsupport.ru/showthread.php?t=208313)

ArnyVee 03-14-2009 06:19 PM

Gerry...I think I know why mine is not 'centered'. I adjusted the size (height) and it probably threw it off. How do we make it so that it's "fluid" and maybe centered based on the size and not a set pixel size?

Could that be the problem?

UKBusinessLive 03-14-2009 06:26 PM

Quote:

Originally Posted by ArnyVee (Post 1768096)
Gerry...I think I know why mine is not 'centered'. I adjusted the size (height) and it probably threw it off. How do we make it so that it's "fluid" and maybe centered based on the size and not a set pixel size?

Could that be the problem?

Arny

If you look at the exfile.htm file and look at each block

Code:

<p align="left"><small><strong><font face="Verdana"><a href="http://www.ukbl.co.uk" target="_top">Business Hosting</a>&nbsp;</font></strong></small><br>
<small><font face="Verdana">Join us on our very own Hosting Site.</font></small></p>

you will see

Code:

<p align="left">
Just change that for center, and your text will be central ;)

Code:

<p align="center">

ArnyVee 03-14-2009 06:34 PM

Sorry Gerry, I mean to say "centered", but top to bottom as opposed to left to right.

UKBusinessLive 03-14-2009 06:37 PM

Quote:

Originally Posted by ArnyVee (Post 1768112)
Sorry Gerry, I mean to say "centered", but top to bottom as opposed to left to right.


Ha Ha You love making me work :eek:

Hang in there buddy i'll take a look at the code again ;)

You need to add the valign="middle" attribute also like this

Code:

<p align="center" valign="middle">

DobieGillis? 03-14-2009 07:05 PM

so I tried to find this in my Navbar

<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>

and it only appears in my default style, not my modded ones which I use. LOL! Go figure!

ArnyVee 03-14-2009 07:11 PM

Didn't work Gerry. So, I just adjusted it back up to "80" on the height and it's centered now. But, there has to be a way to valign="top" or "middle" in there. The "p align" works as far as centering (although I don't want it like that, I like the left align and moved it back to left). But, I can't get the valign to go to "top" or even "middle" when you change the height of the iFrame. Strange.

Well, I'll work with it at 80 for now and see if I need to revisit that in the future :)

Now, gonna go and add "real" info and links in the mod :up:

UKBusinessLive 03-14-2009 07:14 PM

Quote:

Originally Posted by DobieGillis? (Post 1768135)
so I tried to find this in my Navbar

<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>


and it only appears in my default style, not my modded ones which I use. LOL! Go figure!

Have a go adding the code, in the nearest alternative part, as long as your in the navbar template for that style.

if you keep the opening and closing tags on the code you can quickly cut it out and re paste elsewhere, if the box comes out in the wrong place ;)

Code:

<!--<UKBL Iframe Ticker Start>----------------------------------------------------------------------->

Code goes here

<!--<UKBL Iframe Ticker Start>----------------------------------------------------------------------->


DobieGillis? 03-14-2009 07:15 PM

Quote:

Originally Posted by UKBusinessLive (Post 1768141)
Have a go adding the code, in the nearest alternative part, as long as your in the navbar template for that style.

if you keep the opening and closing tags on the code you can quickly cut it out and re paste elsewhere, if the box comes out in the wrong place ;)

Code:

<!--<UKBL Iframe Ticker Start>----------------------------------------------------------------------->

Code goes here

<!--<UKBL Iframe Ticker Start>----------------------------------------------------------------------->



will give it a shot.

UKBusinessLive 03-14-2009 07:21 PM

Quote:

Originally Posted by ArnyVee (Post 1768138)
Didn't work Gerry. So, I just adjusted it back up to "80" on the height and it's centered now. But, there has to be a way to valign="top" or "middle" in there. The "p align" works as far as centering (although I don't want it like that, I like the left align and moved it back to left). But, I can't get the valign to go to "top" or even "middle" when you change the height of the iFrame. Strange.

Well, I'll work with it at 80 for now and see if I need to revisit that in the future :)

Now, gonna go and add "real" info and links in the mod :up:

Damm :( I guess someone will come along and tell us ;)

Any way Arny i've kept mine central and change the hieght so that it looks good with just 3 lines, The link and 2 lines of text, Thats all i need for my site.

:)

DobieGillis? 03-14-2009 07:28 PM

got it working but the contect is pretty lame. Any suggestions on changing content fprovide? Do I replace the www.dynamicdrive.com/dynamicindex9/encrypter.htm" with another content provider i.e. foxnews, or whatever?


All times are GMT. The time now is 03:51 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.01150 seconds
  • Memory Usage 1,750KB
  • 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
  • (6)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete