Welcome to WebmasterWorld Guest from 54.226.45.241

Forum Moderators: ergophobe

Message Too Old, No Replies

Javascript/AJAX versus iFrame

Given the choice, which one is the most accessible and better to use?

     

Jeremy_H

1:58 am on Nov 17, 2006 (gmt 0)

10+ Year Member



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

8:07 am on Nov 20, 2006 (gmt 0)

10+ Year Member



Just to put it into context:

  1. The AJAX solution will not work without javascript enabled, whereas the iframe will;
  2. 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

1:36 pm on Dec 6, 2006 (gmt 0)

5+ Year Member



For the AJAX option, you should have a noscript alternative, which I would guess could send users directly to Google.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month