JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old July 10th, 2004, 01:41 PM
ghostofwolf ghostofwolf is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 1 ghostofwolf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
need some help with script

i currently run a PC hardware & acessory reviews site, im trying to display 2 advertising blocks using simple javascript that i picked up from 2 sites.
Im only just getting to grips with phpnuke and coding - but thses 2 blocks looked really simple.
1. copy the code
2 paste it to the place on your page you want Tracker to appear
Simple eh?
i created a new block inserting the copied code - that didnt work - just wouldnt accpet the block.
i then pasted all the html code into notepad and uploaded to the blocks section of my site naming it block-tracker.php
i then created the block & the advert showed up BUT with one slight snag, underneath the advert it showed another small block saying:
there isnt any content for this block right now.
How do i get rid of this other block? it happens when doing both blocks.
is there some extra piece of code i should be adding to the php file?

check out my site and you will see what i mean:
URL

here is the code to the script:
<!-- begin AC Tracker code -->
<script LANGUAGE="JavaScript">
<!--
// Tracker customization parameters
// Do NOT remove anything below this line. Just change the values.
BGColor1 = "Black";
BGColor2 = "Gray";
BGColor3 = "Silver";
TextColorHeading = "Red";
TextColorCategory = "White";
TextColorArticle = "Blue";
TextColorDate = "Red";
TextFont = "Arial";
TableWidth = "150";
//-->
</SCRIPT>
<script LANGUAGE="JavaScript" SRC="http://www.thewhir.com/find/articlecentral/hardware/actrack.asp?deptid=1"></SCRIPT>
<script LANGUAGE="JavaScript">
<!--
ShowTracker();
//-->
</SCRIPT>
<NOSCRIPT>
<a href="http://www.thewhir.com/find/articlecentral/">ArticleCentral.com</a> - the content directory for web professionals. Monitoring hundreds of web development related sites, daily!
</NOSCRIPT>
<!-- end AC Tracker code -->


thanx

Reply With Quote
  #2  
Old July 14th, 2004, 02:30 PM
gertcuppens's Avatar
gertcuppens gertcuppens is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 118 gertcuppens User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 h 28 m
Reputation Power: 5
You got the wrong forum : this one is for java. If you want some help, try the javascript forum which you can find on this website too.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > need some help with script


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway