dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: Change multiple images with one click

  1. #1
    Join Date
    Jun 2012
    Posts
    1

    Question Change multiple images with one click

    I'm a graphic designer and knows very little about coding. I am currently working on my website and am stuck with the problem stated below. I'm so lost that I'm not even sure how I should go by this. Should I use javascript or jQuery or something else? I'm hoping to achieve this in the simplest way possible as I'm not familiar with any programming languages. Pls help!!!

    Basically, I need to figure out a way to change multiple images/buttons with one click. Pls see attachment.

    Here I have a topFrame and a mainFrame. Buttons in topFrame will bring different content in mainFrame. And here comes the complicated part. I have a little "Hierarchy Chart" at the bottom left hand corner that explains how they are tiered. The Hexagon represents each client. The Triangle represents each project. The Star represents the numbers of images of each project (3 stars = 3 images). The Big Image is where the images are shown. ImageA and ImageB are graphic information of the Big Image.

    So, let's say I click on Button1, mainFrame will automatically load the 1st image of the 1st project of the 1st client. Corresponding graphic information of that image will also be loaded (ImageA + ImageB). Invisible /previous/next buttons will show when hovered. Once the next button is clicked, BigImage will load the 2nd image of the 1st project of the 1st client. ImageA and ImageB will change as well. And the 1st Star will no longer be highlighted but the 2nd Star since it represents the 2nd BigImage.

    And another tricky part is that both the Stars and the Triangles are buttons as well. So viewers can either click the previous/next button to navigate through the images, they can also click the Stars or the Triangles to achieve the same effect. They serve as both button as well as indicator.

    I hope I explain myself clearly. And many thanks!!!!
    Attached Images Attached Images

  2. #2
    Join Date
    May 2006
    Location
    Somewhere behind your screen
    Posts
    1,670
    as for me i am absolutely nothing in PS but i am never going to deal with photo art

  3. #3
    Join Date
    Jun 2012
    Location
    Orange County California
    Posts
    7
    Definity your going to need JavaScript/jQuery, but your also going to have to be intimately familiar with CSS. And if your not familiar with any programming which JavaScript/jQuery is then your best bet is to find yourself a developer to create it for you.

  4. #4
    Join Date
    Oct 2010
    Location
    Versailles, France
    Posts
    1,270

    To a valient heart nothing impossible !

    It's not a problem to change multiple images with one click (the click can call a function which makes the different actions). The problem is only how to define the structure of your page...

    Then, you can probably build one script to manage the page (with this functions) and load dynamically different scripts(*) (one script for each button or content) to define the different variables (projectNumber, clientNumber, imageNumber... etc.) and load (or pre-load) the different images.

    Perhaps, this old thread could give you some ideas to work progressively...

    Good luck !

    (*) Like on this page
    Last edited by 007Julien; 06-21-2012 at 07:17 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles