Subramanian Hariharan

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromSubramanian Hariharan
ToMe
SubjectLoading Data After Page Has Loaded
Date3 November 2004 17:50
Hi Sir, 

I am Subbu from India. I am a newbie in Web Development. I read and learn a
lot from your site. I have  a generic  Question . 


Suppose we have a very low bandwidth site. I have a news page with news
links in the right. I want to dynamically load the News content in an area
without the complete page reloading . I hope Iframe is a solution. But is
there any other solution for this ? 


Thanks and Regards,

Subbu
FromMe
ToSubramanian Hariharan
SubjectRe: Loading Data After Page Has Loaded
Date3 November 2004 19:38
Subbu,

There are a few ways to do this, but for the most reliable and accessible
response, iframes are the best. For what you want to do, it is a simple
case of including an iframe, and having links that target it. This is even
accessible to the extent that if iframes are not supported (only by very
old browsers) they will use a normal window. This is perfect for the low
bandwidth requirements of Indian web users.

<a href="news1.html" target="newstarget">News item 1</a>
<a href="news2.html" target="newstarget">News item 2</a>
<iframe height="300" width="150" src="initial.html" name="newstarget"></iframe>

The only other ways use DHTML and loading external pages in a hidden iframe.
This is not recommended as it causes accessibility problems.

Hope this is what you needed,

Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
FromSubramanian Hariharan
ToMe
SubjectRe: Loading Data After Page Has Loaded
Date4 November 2004 16:18
HI, 

I am very thankful for your expert opinion. I am honored to get a
reply from you . Thanks Thanks.... 


Have a nice day... 


Thanks and Regards,

Subbu
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.