|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > need some help with script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|