Dynamic Help - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Dynamic Help (1099 Views)
| Dynamic Help by adewaleafolabi(op): 1:31pm On Sep 17, 2006 |
is there a way that i could build an album without having to create pages for all of them, as it would be to much is there any dynamic way |
| Re: Dynamic Help by hayprof(m): 5:56pm On Sep 17, 2006 |
Do U Mean An Online Photo Album? huh? |
| Re: Dynamic Help by hayprof(m): 6:09pm On Sep 17, 2006 |
Do U Mean An Online Photo Album? huh? |
| Re: Dynamic Help by adewaleafolabi(op): 10:02pm On Sep 17, 2006 |
yes |
| Re: Dynamic Help by sbucareer(f): 2:32am On Sep 18, 2006 |
Use this javascript, but it is very intensive on memory depending on the number of picture used. I am still trying ways to make it efficent memory usage. var photos=new Array() var index=0 /*many images in the slider as you wish*/ photos[0]="photo1.gif" photos[1]="photo2.gif" photos[2]="photo3.gif" function backward(){ if (index>0){ window.status=' ' index-- document.images.photoslider.src=photos[index] } } function forward(){ if (index<photos.length-1){ index++ document.images.photoslider.src=photos[index] } else window.status='End of picture' } You can save this as slider.js <HTML> <HEAD> <TITLE>Slider photos</TITLE> <script type="text/javascript" src="/slider.js"></script> </HEAD> <BODY> <table border="0" cellpadding="0"> <tr> <td width="100%"><img src="photo1.gif" width="600" height="740" name="photoslider"></td> </tr> <tr> <td> <input type="button" value="<<Back" name="back" onClick="backward()"> <input type="button" value="Next>>" name="next" onClick="forward()"><br> <a href="#" onClick="index=1;backward();return false"><em>Start again</em></a></p> </td> </tr> </table> <body> <HTML> |
| Re: Dynamic Help by adewaleafolabi(op): 1:31pm On Sep 18, 2006 |
thanks i need you to help me take a look at the webpage am trying to sedign plz i need your honest criticm and help |
Dynamic Web Content Fully Explained • Dynamic Programming Puzzle • 2 • 3 • 4
Urgent : What Do You Think About This • Vb.net Database Con Help • Pls, Urgent Help Needed On Phpmyadmin