Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
Need script for random image
Goto page Previous  1, 2
 
Post new topic   Reply to topic    dna88 Forum Index -> Web scripting language Discussion Forum
Author Message
hasnatme
Moderator
Moderator


Joined: 22 Aug 2004
Posts: 283
Location: Dhaka,Bangladesh

Post Post subject: Reply with quote

Hey I got a plugin for dreamweaver..which can generate random image. Do you need this...there is no need to type any scripts.
_________________
Just Fly With Your Dreams!!!
Digital Vision
Sun Sep 05, 04 12:10 pm
Back to top
hasnatme View user's profile Send private message Yahoo Messenger MSN Messenger
quantum
Site Admin
Site Admin


Joined: 07 Mar 2004
Posts: 1048
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

sigh is it that wordwrap thing again? gotta do something quick on it I see. wish I had fifteen hands.
_________________

Dust fills my eyes / Clouds roll by / and I roll with them / Centuries cry / Orders fly / and I fall again
Afford best design, implement best solution. Outsource your web design.
Sun Sep 05, 04 12:20 pm
Back to top
quantum View user's profile Send private message Visit poster's website AIM Address
hasnatme
Moderator
Moderator


Joined: 22 Aug 2004
Posts: 283
Location: Dhaka,Bangladesh

Post Post subject: Reply with quote

quantum wrote:
sigh is it that wordwrap thing again?

I don't understand what you mean. Please make it clear.
_________________
Just Fly With Your Dreams!!!
Digital Vision
Sun Sep 05, 04 1:00 pm
Back to top
hasnatme View user's profile Send private message Yahoo Messenger MSN Messenger
quantum
Site Admin
Site Admin


Joined: 07 Mar 2004
Posts: 1048
Location: Dhaka, Bangladesh

Post Post subject: Phpbb bug Reply with quote

Sorry hasnatme, my comment was not directed to you, but rather to an annoying problem that we were facing on forum configuration.

Everyone please refer to
http://www.quantumcloud.com/forum/viewtopic.php?t=374
for more details on this and the latest fix measures.

hasnut,

Can you please, send me the zipped file at quantumcloud@gmail.com . It does not seem to be a problem with the wordwrap that I employed earlier. If there is some bug with the original phpbb, we want to fix that too.
_________________

Dust fills my eyes / Clouds roll by / and I roll with them / Centuries cry / Orders fly / and I fall again
Afford best design, implement best solution. Outsource your web design.


Last edited by quantum on Mon Sep 06, 04 9:07 am; edited 1 time in total
Mon Sep 06, 04 5:02 am
Back to top
quantum View user's profile Send private message Visit poster's website AIM Address
redsky
Beginner User
Beginner User


Joined: 01 Aug 2004
Posts: 26

Post Post subject: Reply with quote

I find a script from a web site. This is wrriten by asp script. I hope it will be work.
[http://www.htmlgoodies.com/beyond/asp4.html[url][/url]]
Mon Sep 06, 04 8:21 am
Back to top
redsky View user's profile Send private message
emm
Power User
Power User


Joined: 13 Jul 2004
Posts: 310

Post Post subject: Probelm with image rotating script Reply with quote

Hasnut,

I am sorry on being late. My email is emmtemp@yahoo.com. Please email me the files. I can't work it out yet.

hasnatme,

Can you send me the plug in to my email address too? Thank you.

Redsky,

Thank you for trying to help. But I don't want any ASP script. I like to use php. Thanks anyway.
_________________
“You might say reality is the result of complex negotiations between the observer and the observed. But that is simply a point of view…”
Digital Bangladesh
Tue Sep 07, 04 4:30 am
Back to top
emm View user's profile Send private message
hasnatme
Moderator
Moderator


Joined: 22 Aug 2004
Posts: 283
Location: Dhaka,Bangladesh

Post Post subject: Re: Probelm with image rotating script Reply with quote

emm wrote:
hasnatme,

Can you send me the plug in to my email address too? Thank you.


Sent.
_________________
Just Fly With Your Dreams!!!
Digital Vision
Tue Sep 07, 04 9:46 am
Back to top
hasnatme View user's profile Send private message Yahoo Messenger MSN Messenger
emm
Power User
Power User


Joined: 13 Jul 2004
Posts: 310

Post Post subject: Reply with quote

Many thanks hasnat. I got it and will check the dreamweaver extension now.
_________________
“You might say reality is the result of complex negotiations between the observer and the observed. But that is simply a point of view…”
Digital Bangladesh
Wed Sep 08, 04 6:06 am
Back to top
emm View user's profile Send private message
hasnatme
Moderator
Moderator


Joined: 22 Aug 2004
Posts: 283
Location: Dhaka,Bangladesh

Post Post subject: Reply with quote

You are welcome
_________________
Just Fly With Your Dreams!!!
Digital Vision
Wed Sep 08, 04 11:48 am
Back to top
hasnatme View user's profile Send private message Yahoo Messenger MSN Messenger
dude
Power User
Power User


Joined: 10 Mar 2004
Posts: 376
Location: Savar, Dhaka

Post Post subject: Javascript random image display Reply with quote

Here is another very good javascript for random image display. Just in case anyone needs it.

Code:
<script type="text/javascript">
   <!--
   function random_imglink(){
   var myimages=new Array()
   myimages[0] = "/images/0.jpg"
   myimages[1] = "/images/1.jpg"
   myimages[2] = "/images/2.jpg"
   myimages[3] = "/images/3.jpg"
   myimages[4] = "/images/4.jpg"
   myimages[5] = "/images/5.jpg"
   myimages[6] = "/images/6.jpg"
   myimages[7] = "/images/7.jpg"

   var ry=Math.floor(Math.random()*myimages.length)
   // if(ry<1) ry++; not needed because array is zero-based.

   var rya=Math.floor(Math.random()*(myimages.length - 1))
   // now this SECOND piece of code will pick a random number
   // of length myimages.length - 1.
   if(rya >= ry) rya++; //now increment rya if it needs it.
   // even if rya is greater than ry, it still needs incrementation
   // because rya needs to be evenly distributed across the
   // myimages.length - 1 remaining options.
   
   // document.write(ry + " | " + rya);
   document.write('<IMG SRC="'+myimages[ry]+'" BORDER=0><p>')
   document.write('<IMG SRC="'+myimages[rya]+'" BORDER=0><p>')

   }
   random_imglink()
   // -->
</script>
Sat Sep 18, 04 10:04 am
Back to top
dude View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Web scripting language Discussion Forum All times are GMT - 7 Hours
Goto page Previous  1, 2
Page 2 of 2

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group