Click to See Complete Forum and Search --> : banner/button management..help or recommend
onlinemom
10-03-2003, 09:03 PM
Hi all!
New to this board and really searching for help on banner management. First of all , let me explain what Ive been trying. What I want to do: be able to have a rotating 125x125 button swap that is on not just my website but other websites also. But I manage everything, all the adding and deleting of the buttons,etc....all my button swap members have to do is add the html code to their page when they join and thats it!
Well, I found bannerpower.com - I really like them and sooo simple to use ...and it works great for rotating banners and smaller button sizes...but the problem I ran into is that bannerpower takes 5% of the rotation to display their own ads and that was fine with me for such a great service but I soon realized when I placed my 125x125 button code to my website that the 5% bannerpower took showed up as the big sized banners and that messes up my whole page...not to mention would mess up everyone elses pages too.
Anyhow, I am looking for a script to do it myself, or if someone knows a easy to use site that does the same as banner power but offers customized sizes...please let me know!
Thank you all!
Chrissy
Do you have this online somewhere, or could you at least post some of the code used to display the random banner?
[J]ona
onlinemom
10-03-2003, 10:06 PM
I use www.bannerpower.com ..they give you the html code...it's not something I made myself. But the code looks like this:
<!-- BEGIN BANNER POWER HTML CODE -->
<SCRIPT type=text/javascript
src="http://bannerpower.com/cgi-bin/banner.cgi?UserID=7867">
</SCRIPT><NOSCRIPT><a
href="http://bannerpower.com/cgi-bin/redirect.cgi?7867&7867&1"><img
src="http://bannerpower.com/cgi-bin/bannerpic.cgi?UserID=7867"></A></NOSCRIPT>
<!-- END BANNER POWER HTML CODE -->
I assume you posted this in the JavaScript forum because the way it is displayed is by use of JavaScript. However, it is actually rotated via CGI and a database.
Here is what happens. You register and display the location on the Internet of all the images you want to display. This information is added to the database, and a function (in CGI code) will randomly select a string. That string will be the location of one of the images you put in the form. The real JavaScript code looks like this:
document.write('<A HREF="http://bannerpower.com/cgi-bin/redirect.cgi?7867&7867&2"><IMG SRC="http://www.mommyclassifieds.com/mommyc.gif" border="0"></A>')
However, the SRC value is randomly selected by CGI, not JavaScript. You can do it in JavaScript, but it is done in CGI for those who do not have JavaScript enabled. The user-management system created on their site is done in CGI code, and JavaScript is merely an "extra"; it does not do anything, in actuality.
So to do all of this, you will have to program CGI code. You can do this on your own, but the CGI programming will not be very easy when it comes to graphing statistics.
[J]ona
onlinemom
10-03-2003, 11:16 PM
So your saying life can't be as easy as a copy and paste javascript code aye? LOL! :) hmmm..dont know anything about cgi, I don't care about displaying stats for it either. Just want a simple code that I can put on my site and other of my pages and other peoples sites too and I manage it all.
Hmmm...is cgi easy to learn?
Perhaps know of another site like bannerpower.com?
Thanks for taking time to respond!
Originally posted by onlinemom
So your saying life can't be as easy as a copy and paste javascript code aye?
If it was that easy, why would programmers exist? ;)
Originally posted by onlinemom
[H]mmm... don't know anything about cgi, I don't care about displaying stats for it either. Just want a simple code that I can put on my site and other of my pages and other peoples sites too and I manage it all.
It can be done in JavaScript, but the management part can't be done... Each person will have their own special code. However, you can generate this JavaScript code for them to copy in a form and they can paste it in on their site. There won't be any ability to track them, though, and they will have to use your utility again to add or remove images.
Originally posted by onlinemom
Hmmm...is cgi easy to learn?
If it's easy to stand on your smallest finger, carry a two-hundred pound box with the other arm and juggle six balls with your feet, CGI is really easy.
Actually, it's pretty difficult, even for me... I've been learning on the side, and have created a few scripts, but this would be a pretty big task for me. It'd be a lot easier for me to do it in PHP, as I'm more acquainted with that language.
[J]ona