TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,913
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 561
  • Total: 562
  • @rjen

A Random Picture/Banner Script

Started by Mitchâ„¢, April 11, 2006, 11:34:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RoarinRow

Quote from: copter on May 03, 2006, 11:31:13 PM
LOL :D

I just highlighted TOOLTIP red, I forgot LOL

Not a problem, I'm just thankful it works they way I want now, with an added bonus of the TOOLTIP feature :up:

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

zosman

How can i resize the gif banner...

RoarinRow

Quote from: zosman on May 04, 2006, 01:05:23 PM
How can i resize the gif banner...

I'm guess you have to resize the pics yourself.  I am using pictures that I cropped myself that are about 150x150 max. in a right block.

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

zosman

Thanks sir...but been trying to resize it with irfan view..non are able to

http://www.rc-ms.com/forums1/rcwarbirds.gif

RoarinRow

I use a program called, 'Avatar Capture' to resize pics  It's free - http://www.soft32.com/download_18396.html

I had to strip the spyware from it, but other than that, it works great.

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

zosman

But it only capture and save to jpeg and i love all the animations

RoarinRow

Quote from: zosman on May 05, 2006, 03:43:11 AM
But it only capture and save to jpeg and i love all the animations


oh o.k. then you'll need something more powerful that 'Avatar Capture'.   :o

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

whoesa

Quote from: elpvn on April 12, 2006, 03:17:00 PM
It's nice for set as a dinamic logo but I like it get the pictures from a gallery than rather :)

Quote from: SlideShowScript<SCRIPT LANGUAGE="JavaScript"><!--

var slideShowSpeed = 2000;
var fadeDuration = 3;

fadeimgarray = new Array();
fadeimgarray[0] = 'images/1.jpg';
fadeimgarray[1] = 'images/2.jpg';
fadeimgarray[2] = 'images/3.jpg';
fadeimgarray[3] = 'images/4.jpg';

var t
var j = 0

var preLoad = new Array()
for (i = 0; i < fadeimgarray.length; i++){
   preLoad = new Image()
   preLoad.src = fadeimgarray
}

function runSlideShow(){
   if (document.all){
      document.images.SlideShow.style.filter="blendTrans(duration=2)"
      document.images.SlideShow.style.filter="blendTrans(duration=fadeDuration)"
      document.images.SlideShow.filters.blendTrans.Apply()     
   }
   document.images.SlideShow.src = preLoad[j].src
   if (document.all){
      document.images.SlideShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (fadeimgarray.length-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}
//--></SCRIPT>

<BODY BGCOLOR="#FFFFFF" onLoad="runSlideShow()">

<IMG SRC="images/1.jpg" NAME="SlideShow" BORDER=0>

Demo here: http://www.crowes.f9.co.uk/Javascript/slideshow.htm ;)


Hi, how do i get this script working on my site?

I've been trying many ways but i can't get i working  :-\

Could anybody explain me what to do? I really like this one  :)

IchBin

So what have you done? What have you tried? Did you try putting the code in a javascript/html block?

whoesa

-First i made a file called images.
-Then i putt my images there called 1.jpg, 2.jpg, 3.jpg there. All same size(150 x 70)
-I putt that file(images) in smf directory, so i have: root/smf/images
-Next i putt this code in a javescript block

It only shows 1.jpg  ???

I think i do something very wrong here  :)

This website is proudly hosted on Crocweb Cloud Website Hosting.