Dynamic Help

A Member? Please Login  
type your username and password to login
Date: October 08, 2008, 07:11 AM
247367 members and 146344 Topics
Latest Member: Zopbubql
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Programming  |  Dynamic Help
Pages: (1) Go Down Send this topic Notify of replies
Author Topic: Dynamic Help  (Read 217 views)
adewaleafolabi (m)
Dynamic Help
« on: September 17, 2006, 01:31 PM »

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
hayprof (m)
Re: Dynamic Help
« #1 on: September 17, 2006, 05:56 PM »

Do U Mean An Online Photo Album? huh?
hayprof (m)
Re: Dynamic Help
« #2 on: September 17, 2006, 06:09 PM »

Do U Mean An Online Photo Album? huh?
adewaleafolabi (m)
Re: Dynamic Help
« #3 on: September 17, 2006, 10:02 PM »

yes
sbucareer (f)
Re: Dynamic Help
« #4 on: September 18, 2006, 02:32 AM »


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>


adewaleafolabi (m)
Re: Dynamic Help
« #5 on: September 18, 2006, 01:31 PM »

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
 Project Topic Material "automated Video Club" Using Visual Basic 6  Need A Project Topic  Job Search(industrial Attachment)  Page 2
Pages: (1) Go Up Send Topic to Friend by E-mail Reply 
Google
 
Web www.nairaland.com
Sections: TV/Movies (2) Music/Radio (2) Celebrities Job Talk Jobs/Vacancies (2) Career Talk Romance Books Politics Sports Fashion Travel
Health Schooling Religion General(2) Business Webmaster Programming Computers Phones Cars & Trucks

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.