The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> DIV Reload, how to reload <DIV>
Cruise
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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! smile.gif

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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post 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)
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Cruise
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Cruise
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 03:14 AM