Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Nov 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Image swap with dropdown and data

    ok, I'm a do-it-yourselfer and rarely ask for help, but I just can't work this out.
    I modified a script I found to roll data with a dropdown and I wanted an image to swap as well as the data in the text boxes.
    I did manage to get just the image part to work but I want to modify the first to page to use this and don't know how.

    here is a link to the working page that I wish to modify by adding images for each state
    http://www.computerholistics.com/COO.../States07.html

    on this page I managed to make it work with just the image which is probably the wrong way to do it, but I did figure it out all by myself.
    http://www.computerholistics.com/COOLPAGES/working.html

    So if you can understand, I need to add images to the first page and data to the second page and I don't know how to make it all work.

    Please let me know if you need more information, if you go to these pages, I am certain that it will be self-evident what I am hoping to achieve.
    Thank you in advance

  • #2
    New to the CF scene
    Join Date
    Nov 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    well, I must say that I'm suprised that noone even attempted to help me with what must be a very simple solve for you guys, because I don't know anything and I managed to solve it.
    I used an idea from another post and started inserting alerts to track my variables and now......it works!!!!!!
    here is a link to the updated page
    http://www.computerholistics.com/COO.../States07.html

    now I just have to do my graphics and duplicate the process over and over for all of my fact sheets......thanks anyway guys....if I get stuck somewhere else I'll try again.

  • #3
    New to the CF scene
    Join Date
    Nov 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hey Guys,
    Ok......maybe you don't care....I'm not doing this as an assignment, the only way I learn is self-taught through example.....set myself a new goal .....and attempt to reach it....it may seem stupid to you guys that had js in school, but I'm an old man and when I went to school we were using ribbons and punchcards......so don't judge me too harshly.

    So now if you go to the page.....
    http://www.computerholistics.com/COO.../States07.html

    you will see that I have it working like I wanted. The next step is probably to preload all of the images so as to speed up transition time. Do I have to preload each image individually or is there a way to iterate through all of the images in a directory? Or maybe there is a simpler way to preload. If I don't get an answer to this I'll just use the standard, bulky preloading stuff that u see everywhere.

    The other question that I had is .......is there a way to make the image into an imagemap and then when you click on a state, it would show the proper data including the dropdown....... I think I can do the imagemap and even have an onClick handler to send the proper statename to the function, but I don't have a clue how to make the dropdown change with a script........is this even possible?

    I want to thank you guys even if you don't answer because of all of the wonderful advice I have received by merely looking at answers to other posts.

    And in closing.....check out the page....feel free to comment.....is it poorly done.......is there a more graceful way to accomplish any of this? Is the code old or about to be retired from the new browsers? And feel free to make suggestions even aesthetic judgements are not unwelcome.......there is no ego here, only an honest desire to understand emotionally what I believe I've learned logically.
    Thanks again

  • #4
    New to the CF scene
    Join Date
    Nov 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    wow....nothing?
    oh well.....

  • #5
    New to the CF scene
    Join Date
    Nov 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, that's it....I got it working perfectly with preloading and now I can reuse the script for all of my fact sheets.
    I did it without a peep from this board.
    I withdraw the request and remove the links.
    I know a bad neighborhood when I smell one.....

  • #6
    Regular Coder
    Join Date
    May 2005
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Everyone here takes time out of their day to provide free help.

    If you're unsatisfied with our service, we'll refund your money ASAP.


  •  

    Posting Permissions

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