> I have a page running on server A and an html page (say index.html)
> running on server B.  Inside index.html I have an iframe src pointing
> to the page on server A.  Is there a nicer way of doing this with AJAX
> and/or JavaScript?

It is possible to inject content from server A into the page on server B,
using AJAX.
+pro: display the content without iframe scrollbars.
-con: works only when user allows JavaScript to be enabled.

So the strategy goes as follows:

<script>
  // AJAX call & injection into DOM
</script>
<noscript>
  <iframe ... />
</noscript>

Let me recommend jQuery as JavaScript framework.


/Randall <www.whizman.com>
_______________________________________________
LinuxUsers mailing list
LinuxUsers@socallinux.org
http://socallinux.org/cgi-bin/mailman/listinfo/linuxusers

Reply via email to