Easy way to swap image out on page load

Posted on 2014-10-23
Last Modified: 2014-10-23
How can I swap an image on page load that will rotate 4 images all same size in same position.  The swap image behavior in dreamweaver cs4 only does this for 2 images.  Don't want complex coding.
Question by:kdschool
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40399894
Swap image is meant for rollover effects (image changes onmouseover or similar event).  When you say you want 4 images, what is the desired application?  Slideshow?
LVL 82

Accepted Solution

leakim971 earned 500 total points
ID: 40399913
Don't want complex coding.
Check this plugin :
LVL 29

Expert Comment

by:Pravin Asar
ID: 40399993
Of course, there are tons of jquery image rotator codes.

Here is one I had created some time back

You may explore, Ninja Slider
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now


Author Comment

ID: 40400087
On this plug in do I download the files and put them in my directory with the page I want to cycle the photos on?  Then just add their code and point to my image files.  I tried this and it's not working correctly.

Check this plugin :

Author Comment

ID: 40400198
If I already am using a jquery menu on this page can I still use this also?  I have tried downloading the files to my directory and pointing to those in the header, also pointing to his files.  Then put this in a div tag that is the grid and added my images and it just displays all at the same time under each other.  Not sure what I am doing wrong.
LVL 82

Expert Comment

ID: 40400236
Check the console to locate error
Where to see your page?

Author Comment

ID: 40400286
It's working now if I use his exact location for the files in the header.  I guess that is ok unless he moved them.  Why if I downloaded both of those files and then pointed to them as the src would it not work.  The console only shows one error and I don't think it's relelvant.  I am not using //@ anywhere in this code.

Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead

Author Closing Comment

ID: 40400321
Very good program and showed me how to debug it also.

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question