Help with changing Ultimate Fade-In Code

  • 1
  • Question
  • Updated 9 years ago
  • Answered
Ok, I am trying to add the Ultimate Fade-In code. Will someone pretty please walk me though changing the code so my images show up instead of the example images? I have no idea what to change. Thanks A.
Photo of Allison Hanna

Allison Hanna

  • 4 Posts
  • 0 Reply Likes
  • confused

Posted 9 years ago

  • 1
Photo of Connor McCarra

Connor McCarra, Champion

  • 944 Posts
  • 47 Reply Likes
Hey Allison,

Could we get a link to your site? And were you got the script?

Thanks!
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
Hi Alison,

If you read the top peice of code you will see something that looks like this

//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["resources/images/placesa.jpg", "", ""] //plain image syntax
fadeimages[1]=["resources/images/placesb.jpg", "", ""] //image with link syntax
fadeimages[2]=["resources/images/placesc.jpg", "", ""] //image with link and target syntax
fadeimages[3]=["resources/fence.jpg", "", ""] //image with link and target syntax

I have already edited this for my site... NOTE: if you have just put the images straight in your filemanager and not in a sub folder you will not need the folder images -- eg. your would read resources/filename.jpg

Thats all you really need to do.

See it working on 1 of my pages here http://www.hexham.info/swallowship

Let me know if you need any more help.

lee.
Photo of Allison Hanna

Allison Hanna

  • 4 Posts
  • 0 Reply Likes
Hi Connor,
It's
http://www.allisonhannaphotography.com/
I got the script from yola test site. I took the script off due to frustration.
I'm wanting to fade photos on the first page, and I'm new to all this.

Thanks Lee - I will see if it works.
Photo of Allison Hanna

Allison Hanna

  • 4 Posts
  • 0 Reply Likes
I no longer have that code. I guess I didn't save it in notpad. Boo, I will try this at a later time - my head is spinning. I tried the code from http://www.dynamicdrive.com/dynamicin... , but I couldn't get it to work. How do I post the first code in my heading? Looks to me like there is not enough room - plus it is not working. I really have no clue as to what I'm doing!
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
Allison,

This might not be what you want hear but its good advice.

Scripts such as Ultimate Fade show are fairly advanced things... what i would recommend is first adding html to your site and get a basic understanding of html, then get a grasp of how your images are stored and what the URL's of them are then when you have a bit more experience with Yola and web building go back and add things like the ulitmate fade show.

TIPS:

If you add text and images through the text widget then clcik the little html button you will see how Yola auto adds html and what that code is.

If you go to your file manager and right clcik an image and clcik 'view' you will see in the browser address bar the exact URL of the image.
----------------------------------------------------------------------------

Hope this helps a bit - It will all come really quickly, when i started with Yola i had no idea what HTML was (that was only 6 months ago)... now i can write my own.

Good Luck - Lee.
Photo of Allison Hanna

Allison Hanna

  • 4 Posts
  • 0 Reply Likes
Thank you UK Duke, I think that will help me out a lot.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hi Aliison

If you'd like to still pursue the Ultimate Fade-in slideshow, I'll be happy to assist you. I'm the moderator of the Yola Code site. Please feel free to contact me via the Yola Code site. Thanks.