₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,193 members, 8,420,751 topics. Date: Friday, 05 June 2026 at 10:34 AM

Toggle theme

Dynamic Help - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingDynamic Help (1099 Views)

1 Reply (Go Down)

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="&lt;&lt;Back" name="back"
      onClick="backward()"> <input type="button" value="Next&gt;&gt;" 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
1 Reply

Dynamic Web Content Fully ExplainedDynamic Programming Puzzle234

Urgent : What Do You Think About ThisVb.net Database Con HelpPls, Urgent Help Needed On Phpmyadmin