| Welcome to The New Coffee Room. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| javascript question | |
|---|---|
| Tweet Topic Started: Jun 19 2006, 06:46 AM (105 Views) | |
| pianojerome | Jun 19 2006, 06:46 AM Post #1 |
|
HOLY CARP!!!
|
I'm stuck on a problem with coding. What I want to do is have a list of links in the first cell of a table, and then have each link display a different array of images in the second cell of the table, without actually loading a new page. So it should work just like this: http://www-personal.umich.edu/~samzerin/bi...ight/index.html except there will only be one page that creates the images on the fly, rather than having to create a million different pages, one for each link. I got it to do that, but now here is the problem that I'm having trouble with: I want a link to remain bold as long as its pictures are displayed, but then when another link is clicked, I want the previous link to unbold, so only one link is bolded at a time. The error that I have with my code now is that it is for some reason not recognizing the returned value 'z', which identifies the link that was just clicked. What am I doing wrong here?
|
| Sam | |
![]() |
|
| The 89th Key | Jun 19 2006, 06:49 AM Post #2 |
|
Sam, if you don't find your answer, let me know I have a few friends that might know the answer...but I think someone here might help you better/quicker. |
![]() |
|
| LWpianistin | Jun 19 2006, 07:00 AM Post #3 |
|
HOLY CARP!!!
|
oh god. bad memories from programming class in high school are flooding back.
|
| And how are you today? | |
![]() |
|
| pianojerome | Jun 19 2006, 07:07 AM Post #4 |
|
HOLY CARP!!!
|
I think a problem might be in here:
from
because it won't even load the images with those couple lines in there (removing them makes the images show up). But it still doesn't seem to be recognizing the output. |
| Sam | |
![]() |
|
| LWpianistin | Jun 19 2006, 07:22 AM Post #5 |
|
HOLY CARP!!!
|
nevermind |
| And how are you today? | |
![]() |
|
| Radu | Jun 19 2006, 07:40 AM Post #6 |
![]()
Senior Carp
|
Well, don't bother. I disabled (actually uninstalled) Java on my computer. I guess, I won't see your pictures.... BTW, if you are not a dedicated photographer, postcards and photoalbums are the best choice. |
![]() ------------------------------------------------------------ "Whenever I hear of culture... I release the safety-catch of my Browning!" The modern media has made cretins out of so many people that they're not interested in reality any more, unless it's reality TV (Jean D'eaux) | |
![]() |
|
| « Previous Topic · The New Coffee Room · Next Topic » |








4:49 PM Jul 10