SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: help needed

  1. #1
    SitePoint Member
    Join Date
    Jul 2004
    Location
    uk
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    help needed

    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:
    www.wwnlcs.com

    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

  2. #2
    <? james('rules'); ?>
    Join Date
    Jun 2004
    Location
    Wales, UK
    Posts
    788
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice to see you've moved it. Someone should help you shortly.

  3. #3
    SitePoint Zealot gohankid77's Avatar
    Join Date
    Jun 2004
    Location
    United States
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I checked out the URL in the script. As it turns out, that is a redirection to a .js file. I saved it and opened it up. I couldn't find anything on that extra block. Sorry. Maybe you'll have better luck if you or somebody else tries it.
    Gohan (Mmm... Yummy!)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •