Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Image slider with JavaScript

 
Mark Peterson
Greenhorn
Posts: 5
Android Chrome Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64692
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64692
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now, back to your question: what do you mean by "image slider"?
 
Mark Peterson
Greenhorn
Posts: 5
Android Chrome Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Image slider like the one on www.wowslider.com.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64692
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, considering that the site you linked to is a JavaScript plugin for jQuery, then yes, it can be done in JavaScript.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic