vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Random Logo in Header (https://vborg.vbsupport.ru/showthread.php?t=117983)

m6747 06-05-2007 01:59 AM

I edited the header... and just put it right on top. This is my code. What am I doing wrong?

Thanks,
M
Quote:

<!-- logo -->
<a name="top"></a>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="1" width="100%" align="center" style="border-bottom-width:0px">
<td class="alt2" align="center">
<SCRIPT LANGUAGE="Javascript"><!--
function banner() {
};
banner = new banner();
number = 0;
// bannerArray
banner[number++] = "<a href='http://www.spinzone.net/forums' target='_blank'><img src='http:www.spinzone.net/forums/aquateen/misc/spin_visions.png' border='1'></a>"
banner[number++] = "<a href='http://www.spinzone.net/forums' target='_blank'><img src='http:www.spinzone.net/forums/aquateen/misc/szinfusion.gif' border='1'></a>"
increment = Math.floor(Math.random() * number);

document.write(banner[increment]);
//--></SCRIPT>
</td></table>
<!-- /logo -->

stonner 09-21-2007 08:02 AM

thank you very much.

I need something like to show random banners.

but the problem is that the banner's dont have a picture path, it's code like this:

Quote:

<script language="javascript" type="text/javascript" src="http://banners.webmasterplan.com/view.asp?ref=422493&site=4894&type=html&hnb=6&js=1 "></script>
<noscript><a href="http://partners.webmasterplan.com/click.asp?ref=422493&site=4894&type=b1&bnb=1" target="_blank">
<img src="http://banners.webmasterplan.com/view.asp?ref=422493&site=4894&b=1" border="0"/></a><br></noscript>
<!-- END PARTNER PROGRAM -->


is there a way to modify your mod like this?


All times are GMT. The time now is 11:24 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.01019 seconds
  • Memory Usage 1,716KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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