Dominican Airways Posted September 21, 2012 Report Posted September 21, 2012 Does anyone know how I can add a moving picture banner to the front of my website, if possible can someone pass me the code please Quote
aarbee Posted September 22, 2012 Report Posted September 22, 2012 I have something of php, that will change the image, every time you hit the reload button. Is that what you are looking for? Greetings, RobB Quote
Dominican Airways Posted September 22, 2012 Author Report Posted September 22, 2012 I have something of php, that will change the image, every time you hit the reload button. Is that what you are looking for? Greetings, RobB No Im not but that will be fine Quote
aarbee Posted September 22, 2012 Report Posted September 22, 2012 Oke, here it is. I downloaded this some time ago. I had tried to find it again, but could not find it. So this is the deal. You need a folder, for instance bannerimages. In there you put your banners and the rotate.php. You do not need to change anything in the file. And add as many banners as you want. I did put a few examples in it. You upload that to your web. Next you change or add something to your css file. For instance in the part of the bannerimages. #bannercontainer { width: 920px; height: 232px; background: #000 url(../bannerimages/rotate.php) no-repeat 50% 0; background-color: #000066; z-index: 3; background-position: right; } Instead of adding a link to an jpg, you add the link to the rotate.php file. background: #000 url(../bannerimages/rotate.php) no-repeat 50% 0; Upload the changed css, and start reloading your website. Have fun. Note, I have not written that code, nor do I change things. I just uploaded some images to my site, where you can see what it does do. Visit www.citylink-va.com and hit the reload button a few times. Greetings, RobB bannerimages.zip 1 Quote
Dominican Airways Posted September 28, 2012 Author Report Posted September 28, 2012 Oke, here it is. I downloaded this some time ago. I had tried to find it again, but could not find it. So this is the deal. You need a folder, for instance bannerimages. In there you put your banners and the rotate.php. You do not need to change anything in the file. And add as many banners as you want. I did put a few examples in it. You upload that to your web. Next you change or add something to your css file. For instance in the part of the bannerimages. #bannercontainer { width: 920px; height: 232px; background: #000 url(../bannerimages/rotate.php) no-repeat 50% 0; background-color: #000066; z-index: 3; background-position: right; } Instead of adding a link to an jpg, you add the link to the rotate.php file. background: #000 url(../bannerimages/rotate.php) no-repeat 50% 0; Upload the changed css, and start reloading your website. Have fun. Note, I have not written that code, nor do I change things. I just uploaded some images to my site, where you can see what it does do. Visit www.citylink-va.com and hit the reload button a few times. Greetings, RobB Thank you Quote
Moderators Parkho Posted October 9, 2012 Moderators Report Posted October 9, 2012 you could also use this free slideshow website where you can upload your images and customize them and get the html code for it. The website is www.slideful.com. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.