Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] [OT] Looking for Javascript 3-toggle button
- Date: Sun, 14 Feb 2010 15:32:36 +0900
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] [OT] Looking for Javascript 3-toggle button
- References: <4B75727C.50501@example.com> <20100212154700.b2e5825e.gstewart@example.com> <4B777835.20804@example.com>
- User-agent: Thunderbird 2.0.0.23 (X11/20090817)
> The code as provided didn't work right away, so I tried to modify it a > bit, and also customize it, but I'm not sure what is holding it back. Hi Dave, Sorry I don't have time to actually test it today, but you're mixing the jquery way to define "on DOM loaded" processing, with plain javascript, so maybe that is related? Oh, actually it is probably this: > var ctrl = document.getElementById(radar); Should be: > var ctrl = document.getElementById("radar"); Though the whole point of using jquery is to save you having to write that, and to save you having to mix javascript in with your HTML ;-) Darren P.S. If you're still struggling by tomorrow afternoon let me know and I'll post the jquery-esque way to do this. -- Darren Cook, Software Researcher/Developer Specializing in intelligent search (in multiple languages), discovery of context, aiding communication, and basically helping people find and make good use of their data. http://dcook.org/gobet/ (Shodan Go Bet - who will win?) http://dcook.org/mlsn/ (Multilingual open source semantic network) http://dcook.org/work/ (About me and my work) http://dcook.org/blogs.html (My blogs and articles)
- References:
- [tlug] [OT] Looking for Javascript 3-toggle button
- From: Dave M G
- Re: [tlug] [OT] Looking for Javascript 3-toggle button
- From: Godwin Stewart
- Re: [tlug] [OT] Looking for Javascript 3-toggle button
- From: Dave M G
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] [OT] Looking for Javascript 3-toggle button
- Next by Date: Re: [tlug] [OT] Looking for Javascript 3-toggle button
- Previous by thread: Re: [tlug] [OT] Looking for Javascript 3-toggle button
- Next by thread: Re: [tlug] [OT] Looking for Javascript 3-toggle button
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links