RE: problem with java script.

5 replies
Hello warriors,

I am really stuck in the moment,I have problem with java script code,:confused::confused:

For the last few days, i am struggling with my code ,,
I want to add a slide show of three images with the help of java script .
but still not able to do that ,i had tried alot ,but still struggling with it ,
Hope someone here can help me ,,click here...
Any help would be really appreciated


Thanks
Shubham,
#java #problem #script
  • Profile picture of the author lovenot
    It looks fine to me btw, maybe you want an automated slideshow. Create a variable with the time in ms. Add timeouts.

    Though, I would recommend that you use jquery or flashslideshow? There are many javascripts plugins capable of doing this. Good luck.
    {{ DiscussionBoard.errors[4769618].message }}
    • Profile picture of the author shubham
      Originally Posted by lovenot View Post

      It looks fine to me btw, maybe you want an automated slideshow. Create a variable with the time in ms. Add timeouts.

      Though, I would recommend that you use jquery or flashslideshow? There are many javascripts plugins capable of doing this. Good luck.
      Thanks for reply ,
      but,the problem is that i am not familiarwith jquery and flash ....
      and yes i want an automated slideshow ,,


      anyway thanks for help.:-)
      {{ DiscussionBoard.errors[4769746].message }}
      • Profile picture of the author talisien
        Hi - made any progress? Javascript takes a bit of time to get into but is very versatile, Flash is even better but to get the most out of it you need a lot of time to learn its ActionScript programming language.

        My advice is to use a framework such as MooTools or jQuery. BUT choose only one, not good practice to combine them on the same site. Each has plenty of galleries, many free and open sourrce, and lots of help on how to set them up.

        If you go down this route and need more help PM me and I'll supply some links and talk you through set up.

        Good luck
        {{ DiscussionBoard.errors[4777828].message }}
        • Profile picture of the author asidewalk
          If you're still working on this, listen to the other replies and go with jquery. Go to google and type "jquery slideshow" and you'll get plenty of examples. I've used the first link "cycle plugin" before for a client and it was really easy to setup, especially with the demo code they had.

          link: JQuery Cycle Plugin
          {{ DiscussionBoard.errors[4778645].message }}
  • Profile picture of the author hitmobi
    Ok you have a few problems here.

    Trying to make a js gallery is a good practice. I wouldn't recommend using it on your website though. There's so many small things you need to consider.

    my suggestion:

    1) get jQuery (it's a javascript library. I can see you're already familiar with javascript syntax. It's really easy to learn). jQuery.com (include it in your header)

    2) download jcarousellite (it's a lightweight gallery plugin. I've used this a lot of times. It's extremely easy to use and there's a lot of functionality).
    gmarwaha.com/jquery/jcarousellite/
    {{ DiscussionBoard.errors[4778617].message }}

Trending Topics