Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Inserting a banner script.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Inserting a banner script.

 Post Reply Post Reply
Author
jackals View Drop Down
Groupie
Groupie
Avatar

Joined: 27 June 2005
Location: United Kingdom
Status: Offline
Points: 66
Post Options Post Options   Thanks (0) Thanks(0)   Quote jackals Quote  Post ReplyReply Direct Link To This Post Topic: Inserting a banner script.
    Posted: 04 October 2006 at 11:19pm
Hiya guys
 
I'm putting a banner scrip into my forum so it sits under the all the buttons and the header in the center of the page. Know these are the insructions i've been given.
 
Displaying Banners on your webpages
===================================================================
1. Display banners in your .asp-pages by include the JBS.asp file. To do this just copy and paste the following line in the top of your .asp page.
 
                     "<!--#include virtual="/JBS/include/JBS.asp"-->"
 
2. Paste the Zone code, for example "<% Call JBS(6) %>" (assigned to each created zone) where you want the banner to be displayed.
3. On bottom of your .asp page paste the following line:
                    "<!--#include virtual="/JBS/include/close_JBS.asp"-->"
(See the code in the enclosed "sample.asp" file for an example of how it’s done)
====================================================================
 
this is the example script
 
====================================================================
 
<!--#include virtual="/JBS/include/JBS.asp"-->
<html>
<head>
<title>Sample</title>
</head>
<body>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" height="416">
  <tr>
    <td width="100%" height="95">&nbsp; Display a zone:<br> <% Call JBS(17) %><br><br></td>
  </tr>
  <tr>
    <td width="100%" height="70">&nbsp; Display another zone:<br> <% Call JBS(18) %><br><br>&nbsp;</td>
  </tr>
  <tr>
    <td width="100%" height="104">&nbsp; Display another zone:<br> <% Call JBS(19) %><br><br>&nbsp;</td>
  </tr>
  <tr>
    <td width="100%" height="144">&nbsp; Display another zone:<br> <% Call JBS(20) %><br><br>&nbsp;</td>
  </tr>
</table>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" height="56">
  <tr>
    <td width="100%" height="56"><b>Link to admin login:</b> http://www.yourdoman.com/JBS/files/login.asp<p>
    <b>Link to advertiser login:</b> http://www.yourdoman.com/JBS/advertiser/login.asp</td>
  </tr>
</table>
</body>
 
Its a banner managment software.... But i've tryed many ways of putting the script in the forum...  I only want one 468x60 pixal banner at the top of the page...lol...
 
 
Thankyou for your help
 
Jack

 
 
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2006 at 1:35am
Try putting the includes in header.asp and footer.asp. If that doesn't work, put them at the top and bottom of default.asp

navigation_buttons_inc.asp will be where you put Call JBS(X)
This file contains asp code blocks and html code blocks intermingled. Use <%Call JBS(X)%> in an html code block and just Call JBS(X) in an asp code block.

header.asp, footer.asp, and navigation_buttons_inc.asp are in the includes directory. default.asp is in the main forum directory.


Lead me not into temptation... I know the short cut, follow me.
Back to Top
jackals View Drop Down
Groupie
Groupie
Avatar

Joined: 27 June 2005
Location: United Kingdom
Status: Offline
Points: 66
Post Options Post Options   Thanks (0) Thanks(0)   Quote jackals Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2006 at 2:35pm

as soon as i put the include into the header.asp the forum goes off.... I carry on and do the same to the footer.asp nothing changes is still off

the Navigation_button_inc.asp do you mean put
<html><div align"middle"><%call JBS(X) %></div></html>
How do i put a .asp code in block....
 
I'm still really only learning bout this....
 
Thankyou very much for your help.
 
Jack
 
 
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.