| Chris Vogel - Feb-13-2003 server time |
| Thank you for your help. I will put that in a txt file and save it for later use. |
| rovingcowboy - Feb-13-2003 server time |
| ok i was not sure if you could make a web page so i only did the stuff that would be easy for a newbie. on the width and length. the normal accepted size on the inter net is what i have in there. if you make all your banners or get all the ones that are that size. ( which is the size of the one in the start of thist thread ) . you will not need to change it. How ever you can make them any size you want to. if you want a banner that is 500 x 125 you can do that but you then need to change the width and length for that banner and only that banner. i have this javascript on my greeting page and my muisc site. so it works. but if you have a banner of your own making it does not matter what the file size is 8kb or 100kb since it is just being loaded on your page and if yo want to take up your storage space that is up to you. but if you keep it down you can put more banners on the page and the smaller file size will load faster. |
| Chris Vogel - Feb-12-2003 server time |
| So I don't have to mess with that width-length stuff? |
| Chris Vogel - Feb-12-2003 server time |
| I know how to make a web page. I will try to encorporate that code into my HTML and I hope it works..... Truly, I need to work and other things first before I worry about the advanced things. I will e-mail you if I have any problems. |
| rovingcowboy - Feb-12-2003 server time |
| are you saying you can not make a web page? email me if not so i can tell how to start to explain it to you ok? for this is just a simple web page if you read the note at the top and then the words inside it you will see how to use it but you have to know how to make a web page. check the code again i edited the post so you could or might beable to understand it better. |
| Chris Vogel - Feb-11-2003 server time |
| Thank you, but I have no clue as to how to use that! |
| rovingcowboy - Feb-11-2003 server time |
| ok here is the java script copy it from the html tag to the end html tag and save it as a txt file re place all the urls for your banners and then re name the txt file to html and open on your computer it should show your banners and change every time you refresh. the banners can be any size you want to use or mixed sizes just make sure you put the proper size for the proper banner, and they can be any format you want gif, jpg, png, tif, bmp, this script just shows what it is told it does not discriminate between formats. edit in .. I have gone through the code and made all the words you need to change and all the numbers you need to change larger then normal. and made them Red in color. so if you copy the code from here and paste it in to a html page. you might get the code from this fourm that tells the words what size and color i made them. you will have to take that out as well. if you just copy it and paste it into notepad as a plain text note. you will not get the size and color code for this fourm. at least i did not. edit done. <html><head><title></title></head> <!-- ONE STEP TO INSTALL BANNER ADS: 1. Add the code to any location or multiple times, in the BODY of your HTML document --> <BODY> <script LANGUAGE="JavaScript"> <!-- Begin var how_many_ads = take these words out and put the number of banners here only the number as in 10 ; var now = new Date() var sec = now.getSeconds() var ad = sec % how_many_ads; ad +=1; if (ad==1) { txt="put the text to show up under the banner here."; url="put your urls the banner is to link to here"; alt="put the text to show up in the image square beside the red x here"; banner="put the banners url here, if you have them in the same directory on the web as this page then just put the name of the banner file here"; width="468"; height="60"; } if (ad==2) { txt=""; url="http://www.angelfire.lycos.com/tx5/rovingcowboy0/Greeting.html"; alt=""; banner=".gif"; width="468"; height="60"; } if (ad==3) { txt=""; url="http://www..com"; alt=""; banner=" "; width="468"; height="60"; } if (ad==4) { txt=""; url="http://www.angelfire.lycos.com/hi5/lightbee/index.html"; alt=""; banner=""; width="468"; height="60"; } if (ad==5) { txt=""; url=""; alt=""; banner=""; width="468"; height="60"; } if (ad==6) { txt=""; url=""; alt=""; banner=""; width="468"; height="60"; } if (ad==7) { txt=""; url=""; alt=""; banner=""; width="468"; height="60"; } if (ad==8) { txt=""; url=""; alt=""; banner=""; width="468"; height="60"; } if (ad==9) { txt=""; url=""; alt=""; banner=""; width="468"; height="60"; } if (ad==10) { txt=""; url=""; alt=""; banner=""; width="468"; height="60"; } document.write('<center>'); document.write('<a href=\"' + url + '\" target=\"_top\">'); document.write('<img src=\"' + banner + '\" width=') document.write(width + ' height=' + height + ' '); document.write('alt=\"' + alt + '\" border=0><br>'); document.write('<small>' + txt + '</small></a>'); document.write('</center>'); // End --> </SCRIPT> </body></html> |
| rovingcowboy - Feb-11-2003 server time |
| go to my music page no wait? go to my greetings page no wait?? go to my table of contents page no i moved it from there so it is oh the heck with it i'll find it for for you in txt format |
| Chris Vogel - Feb-10-2003 server time |
| Nope. No PHP support..... Oh well, it is free webhosting, so I can't expect much! |
| Red Squirrel - Feb-09-2003 server time |
| You're probably better off with the java script ones, but try this on your host, open notepad and type: <?php phinfo(); ?> and save it as anything.php upload it and try to open it, if you get stuff, it supports php, if you just get the code, or a blank page or something it does not support it. |
| Chris Vogel - Feb-09-2003 server time | ||
How am I supposed to know!? Anyway, I saw some Javascript ones, but I don't know how to use them. |
| Red Squirrel - Feb-09-2003 server time |
| I can give you my php code, but does your site support php? Mine is not very portable as it depends on a special server setting and php. I also need to change something in a .htaccess file. I made one for my sig too. |
| Chris Vogel - Feb-09-2003 server time |
| hey, could anyone give me a Javascript code that changes an image??? I have various images for banners and I want to be able for them to change each time someone reloads my website..... |
| rovingcowboy - Feb-07-2003 server time |
| yep red that is cool i got the same thing i think on my music site and my greeting page. it is a javascript banner rotation that lets me use the banners i want. did not look at the source code for yours is that what you have?? oh yepper take a look at the banner i changed it. ya like this better. |
| Red Squirrel - Feb-06-2003 server time |
| yep. I added it in the link2us page for when people link to us. And notice how it's just a plain jpg file if you right click properties? Pretty sweet stuff eh? |
| Chris Vogel - Feb-06-2003 server time |
| That is good Red. It changes everytime you reload the page.... |
| Red Squirrel - Feb-05-2003 server time |
| We don't have techTV here. Speaking of banners, check this out: ![]() Hit refresh a few times and you will know what I'm talking about. |
| Chris Vogel - Feb-05-2003 server time | ||
That looks great!
What is your favourite TechTv show? Mine is The Screen Savers, but I haven't got to watch it very much lately! |
| rovingcowboy - Feb-05-2003 server time |
| Oops |
| Red Squirrel - Feb-04-2003 server time |
| That's pretty nice. Thanks. I'll add it in our "link to us" section Oh just noticed, is it possible to change Ice Techs to Ice Teks? Not sure if you kept the original pdd. If not it's not the end of the world. |
| rovingcowboy - Feb-04-2003 server time |
| not sure if this is the proper forum to post it but here it is. this is the one i made for my site's style. i put it on my software page at my site since that is were i thought it would be seen more http://www.angelfire.lycos.com/tx5/rovingc...ofcontents.html |