From: Sean Middleditch Date: 2001-12-29T03:16:00+09:00 Subject: [ruby-talk:29563] Re: RDoc now displays source On Fri, 2001-12-28 at 13:06, Dave Thomas wrote: > Paul Brannan writes: > > > What if I don't have javascript turned on? Can I still see the source > > of the method? > > Currently, no. I'm hoping some web wizard will give me the incantation > to allow the page to fall back to conventional target=xxx working if > JavaScript is disabled. I don't know what code you're refering to, but doing what you just said is fairly trivial. Make the link like this: blah Then, if JavaScript is enabled, the linkfunction will be called (to do whatever), and the return false will make the normal action not happen. If javascript is disabled then, of course, the link will work as one expects. > > > Dave