aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Image slider with JavaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Image slider with JavaScript" Watch "Image slider with JavaScript" New topic
Author

Image slider with JavaScript

Mark Peterson
Greenhorn

Joined: Sep 08, 2013
Posts: 3

I'm new to programming JavaScript - taking my first class now. I have been designing in HTML for quite some time. Yes, Designing, not Developing. I was wondering if it's possible to create an image slider that responds to user interaction (user control) using JavaScript? Orrr, would I need to learn a more powerful programming language, like PHP?

Any suggestions?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
PHP runs on the server it would not help in any way of building user interaction on the clientside. PHP is not more powerful ;)

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60050
    
  65

PHP runs on the server as a templating mechanism to format the HTML page -- which can contain JavaScript, by the way -- to send to the browser.

PHP and JavaScript in no way compete, and it cannot be said that one is more powerful than the other as they are two tools that serve very different purposes. Sort of like saying that a steering wheel is more powerful than the brakes.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60050
    
  65

Now, back to your question: what do you mean by "image slider"?
Mark Peterson
Greenhorn

Joined: Sep 08, 2013
Posts: 3

Image slider like the one on www.wowslider.com.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60050
    
  65

Well, considering that the site you linked to is a JavaScript plugin for jQuery, then yes, it can be done in JavaScript.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Image slider with JavaScript
 
Similar Threads
slide along a tetrahedron
java for slide
flicker on chart while dragging on it
RescaleOp Class
JSlider Change on Release