By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
462,334 Members | 739 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 462,334 IT Pros & Developers. It's quick & easy.

update <DIV> OR <BODY> tag dynamically

P: 14
hello everyone

i have a homepage which introduce the company website as shown below im having trouble to find some javascript code when i click on the header link like servives the body content changes dynamically. thank you
-------------------------------------------------------------------
index.php
[HTML]<div id="header">
<a href="#" class="abt1">Services</a>
<a href="#" class="abt1">Catalog</a>
<a href="#" class="abt1">Partners</a>
<a href="#" class="abt1">Contacts</a>
</div>

<div id="body">
<div ="left">
</div>
<div ="middle">
</div>
<div ="right">
</div>
</div>
[/HTML]
--------------------------
Mar 10 '08 #1
Share this Question
Share on Google+
1 Reply

rnd me
Expert 100+
P: 427
if you are new to coding, you might find it far simpler and more relaible to use frames/iframes/objects to show the different sections.

if you want to modify page content without refreshing, use ajax.
Mar 10 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.