TheCrazyK
01-16-2007, 02:26 AM
I am trying to find details on a CSS & HTML combination that works properly and loads the way I'm looking to have it loaded.
I used to use frames, but ever since I began using CSS It's just so much cleaner and professional looking I'd never want to go back. I'm sorry to have my first post be a brand new request but I've already spent the last 5 days searching various sites for this information.
I'm trying to build a site that organizes a header, nav bar, main body section, and of course a footer, which is easy enough to make on my own. What I am looking for isn't the layout itself, but how to make links from the nav bar load new information to the main body section without reloading the entire page. Not that it's a necessity to have it on a web site, but it's nice if the user visiting a site with a slow connection doesn't have a completely white screen for a duration of load time.
Is there a way to use a div box setting of some sort and load a new seperate html file altogether into it, like for example as an embed, object, link or such. I've tested and can get a page to load as an object, but it's not "connectable" so if I wanted to add javascript it has difficulty communicating to the rest of the document, like an onload javascript command to a function in the index.html it's attatched to.
Can somebody give me details, can it be done without anything as fancy as say php, and I don't want my site to be reliant on javascript code, but I am planning to include it to some extent.
Thanks ahead of time, if you know an answer to my dilema it'd be greatly appreciated.
I used to use frames, but ever since I began using CSS It's just so much cleaner and professional looking I'd never want to go back. I'm sorry to have my first post be a brand new request but I've already spent the last 5 days searching various sites for this information.
I'm trying to build a site that organizes a header, nav bar, main body section, and of course a footer, which is easy enough to make on my own. What I am looking for isn't the layout itself, but how to make links from the nav bar load new information to the main body section without reloading the entire page. Not that it's a necessity to have it on a web site, but it's nice if the user visiting a site with a slow connection doesn't have a completely white screen for a duration of load time.
Is there a way to use a div box setting of some sort and load a new seperate html file altogether into it, like for example as an embed, object, link or such. I've tested and can get a page to load as an object, but it's not "connectable" so if I wanted to add javascript it has difficulty communicating to the rest of the document, like an onload javascript command to a function in the index.html it's attatched to.
Can somebody give me details, can it be done without anything as fancy as say php, and I don't want my site to be reliant on javascript code, but I am planning to include it to some extent.
Thanks ahead of time, if you know an answer to my dilema it'd be greatly appreciated.