| Javascript/AJAX versus iFrame Given the choice, which one is the most accessible and better to use? |
Jeremy_H

msg:3159341 | 1:58 am on Nov 17, 2006 (gmt 0) | Hello, I'm playing around with integrating Google Co-Op into my website. Right now, I'm toying with the idea of outputting search results into a page on my site via javascript (AJAX if that makes a difference), or from their domain but shown through an iframe. I know each poses its own unique challenges and benefits, but in general, I'm wondering which is more accessible and better to use, JavaScript/AJAX or iFrame
|
Setek

msg:3162175 | 8:07 am on Nov 20, 2006 (gmt 0) | Just to put it into context: - The AJAX solution will not work without javascript enabled, whereas the iframe will;
- The iframe is more than a little inconvenient for JAWS and similar assistive devices (along with Google's own code being about as inconvenient);
So, as you said, each have their pros and cons, but I think the iframe will work on more browsers (old and new) than AJAX.
|
alfaguru

msg:3179971 | 1:36 pm on Dec 6, 2006 (gmt 0) | For the AJAX option, you should have a noscript alternative, which I would guess could send users directly to Google.
|
|
|