11-03-2006, 04:40 AM
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
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.
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
11-03-2006, 04:37 PM
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
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.
11-05-2006, 07:39 PM
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.....
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.
11-08-2006, 04:22 AM
11-11-2006, 01:38 AM
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.....
11-11-2006, 03:51 AM
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.