Conax said:
But this page is one to be added to
existing site which was designed and developed without frames so I can't use
frames now.
That's an incorrect statement. You may not WANT to use frames but you can.
Other pages have nothing to do with this one using frames. You can have a
single frame page in your site and aside from the pages loaded into the
frames, the rest do not have to be.
However, you're way ahead of yourself here.
1. What is the data that needs to be refreshed?
2. How is it retrieved?
3. From where?
Ex.
1. Text and/or image(s)
2. From a database/file
3. Manually edited/Server-side scripting with client-side timer./Server-side
application
I do have one question. Why is it so important that the page not refresh?
This probably doesn't have to be answered now but refreshing a page for one
element is not necessarily bad unless it has to make a trip to a server
needlessly but then if you're getting data and/or images dynamically, you're
hitting a database or a file somewhere or you're just pulling info from an
array or some other part of memory. If the rest of the page does not
change, then it will be reloaded from cache, unless the user has set the
browser to verify the page on each refresh. Usually only developers have
this set during development which means mine stays that way.
Ex. On the Snitz forum I'm running on one of my sites, there is a Famous
Quotes section. It randomly picks a quote from an array and displays
different ones on a timer. The array is populated when the page loads so
the data changes but there is no overhead going back to the server. This
could just as easily be done with images that were preloaded as in a roll
over.
If the data does actually change and require a trip somewhere to get it,
then this point is moot but it does not necessarily mean the whole page will
then have to be loaded. If there is no way around it, an IFRAME could be a
way out but note that IFRAMES have had security issues in the past, which I
believe was cross-site scripting, and this can be disabled on the user's
browser which will negate your workaround. If this is on an Intranet then
that's also not an issue because this site can be in a different security
zone where IFRAMES are allowed.
Creating an ActiveX control is also not an option of us...
Perhaps one already exists for what you need thus not requiring it to be
created. Would that then make it an option?
The three questions from the ordered list should be answered first and then
possibly someone can work out a solution for you. There are numerous
possibilities but more information is needed.
--
Roland
This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose.