Click here to Skip to main content
15,909,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when i click a link it opens another div on same page
Posted
Comments
thatraja 19-Dec-11 5:14am    
OK, what do you want? in new window?
DeepthiTanguturi 19-Dec-11 5:16am    
I want to display some information related to that link
thatraja 19-Dec-11 5:19am    
Still not clear. Please describe your issue clearly with full details.
DeepthiTanguturi 19-Dec-11 5:19am    
For example,in left side,i displayed levels of java concepts.when i click on level0 i want to display core concepts of java.How can i do that one.
DeepthiTanguturi 19-Dec-11 5:21am    
For example,in left side,i displayed levels of java concepts like level0,level,level2....when i click on level0 i want to display core concepts of java.How can i do that one.

Go with HTML frames[^]
Here an example Navigation frame[^] based on your requirement.

EDIT
Then use iFrame or javascript/jQuery with DIV
Dynamic Ajax Content[^]
How to load another page in HTML DIV tag[^]
Load remote content into div element using jQuery[^]
 
Share this answer
 
v2
Comments
DeepthiTanguturi 19-Dec-11 5:22am    
i dnt want frmaes.I want only div solution
thatraja 19-Dec-11 5:30am    
Check updated answer
Call javascript function on that link click. set div style: position:absolute and display:block

If you have any queries then tell me.
 
Share this answer
 
Comments
DeepthiTanguturi 19-Dec-11 5:23am    
plz send some sample code.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900