DIV Reload, how to reload <DIV> |
DIV Reload, how to reload <DIV> |
Cruise |
May 30 2007, 11:50 AM
Post
#1
|
Group: Members Posts: 3 Joined: 30-May 07 Member No.: 2,948 |
Is there a way to reload content with a DIV using onClick? if anyone knows of a script or anything that would be helpfull
|
pandy |
May 30 2007, 01:23 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Hi!
Separately from the page? No, then DIV is part of the page just like a P or any other element. It isn't a frame. But Maybe I misunderstand what you want to do. |
Christian J |
May 30 2007, 02:31 PM
Post
#3
|
. Group: WDG Moderators Posts: 9,653 Joined: 10-August 06 Member No.: 7 |
It sounds like OP is looking for AJAX, which I advice against since it causes a number of usability problems. See http://en.wikipedia.org/wiki/Ajax_(programming)
|
Cruise |
May 30 2007, 04:50 PM
Post
#4
|
Group: Members Posts: 3 Joined: 30-May 07 Member No.: 2,948 |
so, i basically need to change my site to using iframes instead as they can easily be refreshed seperately
thanks any other advice would be great as well http://www.choiceitwichita.net |
Christian J |
May 30 2007, 05:16 PM
Post
#5
|
. Group: WDG Moderators Posts: 9,653 Joined: 10-August 06 Member No.: 7 |
It's better not to use iframes either: http://htmlhelp.com/faq/html/all.html#frame-problems
Why not load a new version of the whole page? The HTML file shouldn't take that long to download, and images are usually cached. |
Cruise |
May 31 2007, 11:40 AM
Post
#6
|
Group: Members Posts: 3 Joined: 30-May 07 Member No.: 2,948 |
its not a very big site and is very quickly loaded. i was just trying to make a page that doesnt have to be reloaded, just to see if it were possible. except for this last part, it has been.
|
Lo-Fi Version | Time is now: 19th April 2024 - 03:14 AM |