The instructions there seem pretty clear, so please post the actual code and your directory structure. You are doing this on your localhost, right? Which web server are you using?
lets start out with your directory structure. Where are the .js files, the html files and the image files in relation to one another?
and, please post the actual code you are using and please use code tags so it is readable!
Joined: Mar 29, 2012
Thank you for answering.
I know squad about coding.
So for me the slide show code and how to make it to files that can be
moved to my website host, isn't clear.
I am trying to find out how to make websites.
I use free software.
I use notepad++.
And I use filezilla client in order to move files to my web host
My web host is a free account on 000webhost.com
To test the slide show I made a sub domain, let's call it dada.da.hostoi.com,
that means in my public_html folder I have a sub folder named dada,
and I can put my website files into that folder.
If I in notepad++ write
and then save the code as a html file, named index, and move the file to the
dada folder I get a running website.
And that is actually all I know.
So how do I get a slide show into my advanced website?
All you have shown is code that display the text hello. If you have slideshow code that you are having problems with, you need to show it. Sorry if you think my post was rude. it wasn't intended to b:, just stating what's needed to help you.
Joined: Mar 29, 2012
I accept the apology.
Bibeault: “All you have shown is code that display the text hello. If you have slideshow code that you are having problems with, you need to show it. “
That is incorrect. Second line in my first post has this link:
http://www.2webvideo.com/blog/all-purpose-free-photo-gallery I can't understand, what difference it makes, me copying and pasting it here, but here it is:
//If using image buttons as controls, Set image buttons' image preload here true
//(use false for no preloading and for when using no image buttons as controls):
//And configure the image buttons' images here:
var slideShow=; // SLIDESHOW
//configure the below images and descriptions to your own, note optional links, target and window specifications.
slideShow.no_descriptions=0; //use for no descriptions displayed
slideShow.pause=1; //use for pause onmouseover
slideShow.image_controls=1; //use images for controls
slideShow.button_highlight='#ffcccc'; //onmouseover background-color for image buttons (requires image_controls=1)
slideShow.specs='width=300, height=250' //global specifications for this show's new window(s)
slideShow.random=0; //set a random slide sequence on each page load
slideShow.manual_start=1; //start show in manual mode (stopped)
slideShow.delay=2000; //sets miliseconds delay between slides
slideShow.no_added_linebreaks=1; //use for not adding line breaks in formatting of texts and controls
//slides#.target will set a target for a slide group, will be overridden by slides#[#], if present
//slides#.specs will set new window specifications for a slide group, will be overridden by slides#[#], if present
//slides#.fadecolor will set fading images background color, defaults to white
//slides#.no_controls will set a slide show with no controls
//slides#.random will set a random slide sequence on each page load
//slides#.delay=4000 will set miliseconds delay between slides for a given show, may also be set in the call as the last parameter
//slides#.jumpto=1 will display added controls to jump to a particular image by its number
//slides#.no_added_linebreaks=1; use for no added line breaks in formatting of texts and controls
//use below to create a customized onclick event for linked images in a given show:
//slides#.onclick="window.open(this.href,this.target,'top=0, left=0, width='+screen.availWidth+', height='+screen.availHeight);return false;"
As I read the website, that is a full code for a slide show. I've prepared 3 pictures for the slide show,
and 3 pictures for the slide show controllers.
But I cannot read and understand the code, so I don't know where to place what part of
the code. How to transform the code to files used by the web host. And where to locate the pictures on the web host.
The slide show website and Tim say, this is easy stuff. Then how come, no one tells me how it is
Tim asked for further info, and he got it.
For illustrative purposes I wrote the “hello” code. If I can get the slide show running on that website, maybe I can make slides shows on the websites, I make using webeasy 8 pro.
Bibeault read all posts, and make up your mind.
Bear Bibeault is actually trying to help you and he is right that all you've shown that you've actually tried is a simple hello world web page. That is a good first step
For the next step, we need to know: Have you placed the files (swissarmy.js, slideshow.js and the html file) from that link on this web server of yours?
Joined: Mar 29, 2012
This is certainly a new approach to user forums. You ask a question, and get the answer try
for yourself. I'm not sure this is leading anywhere.
When I answer a question in an user forum, I do it if I already know the answer, and it is no big
deal to answer. Or because I want to know the answer myself, and then I try to find the answer,
and if I succeed, I pass on the answer.
Before asking here, I tried all kind of solutions, and all failed.
I tried to save all code as html file. I tried to save one part as html, and one part as a java file.
I've tried all kind of combinations.
Tim you say, have you tried to upload the files? Yes, I have. I tried after renaming the pictures, but
made no difference.
If you in fact don't know the answer, that is not a big deal. I asked on another forum too. And
haven't got any answer. Apparently it's not an easy subject.
Correct, CodeRanch is not like other forums where you just get an answer. At the Ranch, we teach you how to find the answer yourself, learning much in the process, and saving you tons of time next time a similar problem comes up, because you'll know how to deal with it quickly. If that's not an approach that works for you, or if you're not interested in actually learning how things work and just using code that is not understood, then CodeRanch may not be very useful to you. If you want to learn though, it's the best place to be!
It seems to me that you're new to the field of creating websites. If that's the case, then making a slideshow isn't the right place to start.
So what I would suggest is that you start by creating a website -- of one page to start with -- which contains the images you ultimately want to be in your slideshow. Once you have that working, then you'll have the answer to your question "Where do I put these things?"