code and where exactly to put it

  • 1
  • Question
  • Updated 7 years ago
  • Answered
so, for all you legends out there... please assist me in getting it done!

I've been trying to get a fade-in constant running slide up on my homepage. I currently have a marquee code in there, but I fancy a bit more fluency,. So.. I've tried numerous things.... mainly adding an external video link to a slide that I made using photobucket if you like. I don't like that and it's not a good solution to what i want.. i think its actually a complicated one.. plus the movie ends up stopping and there are buttons like pause on there etc etc. nevermind advertising and enbeded links bla.

sooo.

I've come across a few codes which id like to try putting on my site. please check out this link, so you know what I mean:

http://snook.ca/archives/javascript/s...

I've tried this utalising only one html widget (the dude has separated the code for....? reasons... and/or I've noticed that a lot of other html code offering sites tell you to just copy XXX part into the HEAD or HEADING then issuing a second code to put where exactly... in the space below the HEADING paragraph code in the same html widget?

I obviously altered the piece of the code expressing the source of the image within the code. I have my pictures saved in my filemanager so just quote the name of the jpg. see below eg.







so.. if anyone anyone can assist in any way at all, it would be über appreciated!

thank you.

MK

ps. this is another example... does all the code have to go into the same html widget?

http://www.dynamicdrive.com/dynamicin...

pps. ta for holding my hand
Photo of mik

mik

  • 172 Posts
  • 3 Reply Likes

Posted 7 years ago

  • 1
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello mk.key,

I am quite familiar with the Dynamic Drive Fade-in slideshow. For each box you copy, you paste into its own HTML Widget. You do need to have Silver in order to upload the .js file.

Be sure to alter the image path to your own images.

Start with this and then if you get stuck along the way, please let us know and I'm sure that either myself or one of the HTML savvy people on the forum will be able to assist further.
Photo of mik

mik

  • 172 Posts
  • 3 Reply Likes
ok. that def helps Sanja. yup, I have a silver account under a different log-in. ;)
I'll give it a blast now.

Mick

THANK YOU!!! I'll let you know what happens
Photo of mik

mik

  • 172 Posts
  • 3 Reply Likes
ok.. so i've 'saved as' with regards to the .js file.
I've just whacked that in my file manager.... im thinking that i need to ref. this within on of the html widgets right?

do i need to edit anything else other than the source of image within the featured code on Dynamic Drive Fade-in slideshow page.

any other suggestions are very welcome...

thank you v much in advance

MK
Photo of Brianna

Brianna

  • 2045 Posts
  • 92 Reply Likes
Hello MK,
I am not as familiar with this as Sanja is and will be referring your request to her. She will reply as soon as she arrives back online. Thanks!
Photo of mik

mik

  • 172 Posts
  • 3 Reply Likes
no problemo,. much appreciated :)

M
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello mk.key,

You would definitely need to change the path to your .js file. So it would look something like this:



<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

<script type="text/javascript" src="resources/fadeslideshow.js">

/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/

</script>


Please let us know how this goes!
Photo of mik

mik

  • 172 Posts
  • 3 Reply Likes
Hey Sanja,. I did reply to this already... but my post does not seem to be here anymore.. maybe time/out or day-dream...

ok, so saying I have my .js file sitting in the FILE MANAGER how would the code look/ src="...?...yolafilemanager/fadeslideshow.js

thanks for all the support! very cool! and I feel like I've almost got it!

M
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hi mk.key,

In the code I have pasted above, I have referenced how you should set up your URL to your .js file.

Please let me know if you have any further troubles with this.
Photo of mik

mik

  • 172 Posts
  • 3 Reply Likes
right, ok... so to ref files in my file manager I basically hit: src="resources/MYFILE
?

ok, I will give this a blas later on.

Thanks again for the help. I will make sure to let you know how I get on. Excuse my novice knowledge, I am attempting to improve... :))

cheers

M