Reply
 
Thread Tools Display Modes
Old 16th Feb 2012, 02:44 PM   #1
Member
 
Default please help me this code

please tell me how to i set these banner in one line or row
i use these code <TR><TD> but its not working..


Code:
<TR><TD>
<script language="javascript" type="text/javascript" charset="utf-8">
cpxcenter_width = 160;
cpxcenter_height = 600;
</script>
<script language="JavaScript" type="text/javascript" src="http://ads.cpxcenter.com/cpxcenter/showAd.php?nid=4&amp;zone=4782&amp;type=banner&amp;sid=4782&amp;pid=4521">
</script>
<script language="javascript" type="text/javascript" charset="utf-8">
cpxcenter_width = 120;
cpxcenter_height = 600;
</script>
<script language="JavaScript" type="text/javascript" src="http://ads.cpxcenter.com/cpxcenter/showAd.php?nid=4&amp;zone=4782&amp;type=banner&amp;sid=4782&amp;pid=4521">
</script>
</TD></TR>
Black Tiger is offline   Reply With Quote
Old 16th Feb 2012, 02:50 PM   #2
Member
 
t3od0r's Avatar
 
Website(s):
wscripts.net wicked-porn.com aceimgs.com
Default

try:

Code:
<table><tr><td>
<script language="javascript" type="text/javascript" charset="utf-8">
cpxcenter_width = 160;
cpxcenter_height = 600;
</script>
<script language="JavaScript" type="text/javascript" src="http://ads.cpxcenter.com/cpxcenter/showAd.php?nid=4&amp;zone=4782&amp;type=banner&amp;sid=4782&amp;pid=4521">
</script>
</td><td>
<script language="javascript" type="text/javascript" charset="utf-8">
cpxcenter_width = 120;
cpxcenter_height = 600;
</script>
<script language="JavaScript" type="text/javascript" src="http://ads.cpxcenter.com/cpxcenter/showAd.php?nid=4&amp;zone=4782&amp;type=banner&amp;sid=4782&amp;pid=4521">
</script>
</td></tr></table>
t3od0r is offline   Reply With Quote
Old 17th Feb 2012, 07:06 AM   #3
Member
 
Default

not working...
Black Tiger is offline   Reply With Quote
Old 17th Feb 2012, 10:43 AM   #4
Member
 
Website(s):
servermanage.eu
Default

try to make an DIV
servermanage is offline   Reply With Quote
Old 18th Feb 2012, 01:26 PM   #5
Member
 
Default

not working please help me
Black Tiger is offline   Reply With Quote
Old 18th Feb 2012, 03:43 PM   #6
Respected Member
 
Default

Since they are building their own html. The only way I found for it to work is like this.

Create 2 html files with the ad code in it.
ad1.html
Code:
<script language="javascript" type="text/javascript" charset="utf-8">cpxcenter_width = 160;cpxcenter_height = 600;</script>
<script language="JavaScript" type="text/javascript" src="http://ads.cpxcenter.com/cpxcenter/showAd.php?nid=4&amp;zone=4782&amp;type=banner&amp;sid=4782&amp;pid=4521"></script>
ad2.html
Code:
<script language="javascript" type="text/javascript" charset="utf-8">cpxcenter_width = 160;cpxcenter_height = 600;</script>
<script language="JavaScript" type="text/javascript" src="http://ads.cpxcenter.com/cpxcenter/showAd.php?nid=4&amp;zone=4782&amp;type=banner&amp;sid=4782&amp;pid=4521"></script>
Your code to get those ads
Code:
<style>
/* Generated via www.cssmenubuilder.com */
.menu{margin:0 auto; padding:0; height:30px; width:100%; display:block; background:url('topMenuImages.png') repeat-x;}
.menu li{padding:0; margin:0; list-style:none; display:inline;}
.menu li a{float:left; padding-left:15px; display:block; color:rgb(0,0,0); text-decoration:none; font:12px Verdana, Arial, Helvetica, sans-serif; cursor:pointer; background:url('topMenuImages.png') 0px -30px no-repeat;}
.menu li a span{line-height:30px; float:left; display:block; padding-right:15px; background:url('topMenuImages.png') 100% -30px no-repeat;}
.menu li a:hover{background-position:0px -60px; color:rgb(255,255,255);}
.menu li a:hover span{background-position:100% -60px;}
.menu li a.active, .menu li a.active:hover{line-height:30px; font:12px Verdana, Arial, Helvetica, sans-serif; background:url('topMenuImages.png') 0px -90px no-repeat; color:rgb(255,255,255);}
.menu li a.active span, .menu li a.active:hover span{background:url('topMenuImages.png') 100% -90px no-repeat;}
</style>

<ul class="menu">
  <li><a href="/home" class="active"><span>Home</span></a></li>
  <li><a href="/services"><span>Services</span></a></li>
  <li><a href="/about"><span>About</span></a></li>
  <li><a href="/contact"><span>Contact</span></a></li>
  <li><a href="about.html"><span>About</span></a></li>
  <li><a href="services.html"><span>Services</span></a></li>
</ul>
<iframe src="ad1.html" style="width:160px;height:600px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
<iframe src="ad2.html" style="width:160px;height:600px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
Of course ad1 & ad2 must be in the folder calling them or you must add a complte http address for their location.
Lock Down is offline   Reply
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help With Letitbit Js To BB Code aka Embedding streaming code in forums JoomlaZ Development Area 1 3rd Apr 2012 09:50 AM
Need a good coder to code a skin, I will show you what I need, you just code it Nickk96 Development Area 1 27th Aug 2011 01:45 PM
[vBulletin BB Code] Moderated Message: (Like W-BB's Staff BB Code!) Ghost Dog 13 Webmaster Resources 13 26th Sep 2009 06:19 PM
Code Please Nano Webmaster Discussion 2 22nd Aug 2009 01:58 PM
What Is The Code For This Nano Webmaster Resources 10 12th Jul 2009 04:27 PM

All times are GMT. The time now is 12:05 AM.