| | |
codes
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jan 2009
Posts: 2
Reputation:
Solved Threads: 0
am currnetly writing a scripts that can rorate banner ad.the scripts is working but still having problem its working perfectly,need something,Each advert change shall be logged in a file. Make a script that prints the
log in a readable format when accessed through the web server.this is my codes
can anybody help me here.i can pst my code if u want.
log in a readable format when accessed through the web server.this is my codes
can anybody help me here.i can pst my code if u want.
Yes post the code first.
•
•
Join Date: Jan 2009
Posts: 2
Reputation:
Solved Threads: 0
•
•
•
•
Well, without your code we don't know what you already have. Post it up and someone will be able to help.
html Syntax (Toggle Plain Text)
<a href="#"> <center> <img src="images/banner1.jpg" width="800" height="200" id="adBanner" border="0" alt="ad banner" /> </center> </a> <script language="javascript" type="text/javascript"> window.onload = initBannerLink; var adImages = new Array("images/banner1.jpg","images/banner2.jpg", "images/banner3.jpg"); //var adURL = new Array("danfergusdesign.com","boatnerd.com", "arloandjanis.com"); var thisAd = 0; function rotate() { thisAd++; if (thisAd == adImages.length) { thisAd = 0; } document.getElementById("adBanner").src = adImages[thisAd]; setTimeout("rotate()", 3 * 1000); } function newLocation() { document.location.href = "http://www." + adURL[thisAd]; return false; } function initBannerLink() {// if (document.getElementById("adBanner").parentNode.tagName == "A") {// document.getElementById("adBanner").parentNode.onclick = newLocation;// }// rotate();// } </script>
Last edited by peter_budo; Jan 6th, 2009 at 2:13 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
![]() |
Similar Threads
- Codes for "Find" and for "Tip of the day" (Visual Basic 4 / 5 / 6)
- Checking source codes of image, audio and video files (Site Layout and Usability)
- Checking source codes of image, audio and video files (Graphics and Multimedia)
- How to create multiple toggle field codes in Word. (MS Access and FileMaker Pro)
- beginner"problem in arrays help me in codes" (C)
- Color disply codes for C++? (C++)
- Can't view source codes (Web Browsers)
Other Threads in the PHP Forum
- Previous Thread: Website rating!!!
- Next Thread: Drupal Menus
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary body broken cakephp checkbox class cms code cron curl database date date/time directory display download dynamic echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla limit link list login loop mail menu mlm mod_rewrite msqli_multi_query multiple mycodeisbad mysql oop parse paypal pdf php problem query radio random recursion regex remote script search send seo server sessions sms soap source space sql static structure syntax system table tutorial update upload url validation validator variable video web webdesign wordpress xml youtube






