![]() Topic awaiting preservation: I'm horrible at DHTML, and I need some help :) (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Yes |
![]() ok here goes, I've made a function that can toggle an item's display property on and off. Now I want it when I click on something it switches everything off and then makes visible only one of them. It worked untill I hacked some code to make everything not display before it sets the one it wants to display. I don't think I'm explaining this too well, hopefully my code will help: code: function toggle( targetId ){
|
Paranoid (IV) Inmate From: Yes |
![]() never mind never mind, sometimes it just takes my posting a question like this to figure out where I screwed up. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() I know you've figured out the problem, but here's a tip anyway... |
Paranoid (IV) Inmate From: Yes |
![]() Thanks for the tip slime. I have a feeling that when I get this site done and post it for review it's gonna need a LOT of simplifying |
Paranoid (IV) Inmate From: Yes |
![]() Ok another problem code: <table id="coreyDos" style="display: none; etc. etc. etc.">
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Post some code or a URL |
Paranoid (IV) Inmate From: Yes |
![]() http://wind.prohosting.com/thedorm/temp3.html |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() 404's... I'll try later... |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() It's working fine for me (IE6). |
Paranoid (IV) Inmate From: Yes |
![]() Yeah, I musta fixed it just before you tried. It was a problem with not using block. |