Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Jun 2003
    Location
    Illinois
    Posts
    9
    Member #
    1861
    I am trying to put a banner rotating script into my vbulletin.

    I have this code in the <head></head> tags:

    Code:
    <style type="text/css">
    		div#adBanner2 {
    			margin: 0;
    			padding: 0;
    			width: 780px;
    			height: 125px;
    			position: relative;
    			background: url(customimages/buttonsets/michelleblue/top.gif) no-repeat;
    			}
    		div#adBanner2 img {
    			position: absolute;
    			left: 151px;
    			top: 25px;
    			width: 468px;
    			height: 60px;
    			}
    	</style>
    The place that I would like the banners to show up from the banner rotating script has this:

    Code:
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" valign="bottom">
      <tr valign="bottom">
         <td width="100%" align="center" background="customimages/buttonsets/michelleblue/topbg.gif" valign"bottom">
        <div id="adBanner2">
    $phpAds_context	
     
    	
    	</div></div></td>
      </tr>
    </table>
    The php code that is used for the banner rotating script is this:

    PHP Code:
    //Banner Ads
        
    if (@include(getenv('DOCUMENT_ROOT').'/bannerad/phpadsnew.inc.php')) {
            if (!isset(
    $phpAds_context)) $phpAds_context = array();
            
    $phpAds_raw view_raw ('zone:2'0'_blank''adBanner2''0'$phpAds_context);
            echo 
    $phpAds_raw['html']; 
    When using this I get this result: http:www.advancedwebaid.com I want the banners to show up in the white space below the header. Please email me at triality@advancedwebaid.com or send me an instant message with my aol screen name triality15 or my icq number 120242978.

    Thanks

    Splufdaddy edit: fixed hyperlink.

  2.  

  3. #2
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,657
    Member #
    1234
    Liked
    138 times
    Personally, I'd just put the header links to th left, and the banner to the right. Saves space, looks a bit cleaner.
    The Rules
    Was another WDF member's post helpful? Click the like button below the post.

    Admin at houseofhelp.com


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 01:00 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com