
dear sir:
i need to know how can you show a webiste on the same page. for example i want to show www.roseindia.net by clicking on roseindia in hyperlink that will be displayed on the same page weather it is left aligned or right. i read somewhere that you can do it with div tag but i'm not sure about that. i do not want to click on the link and take me to another page, but i want it ON the same page.
than you

1)frameset.html:
<html> <head> <title>Jsp Frameset</title> </head> <frameset rows="10%,*"> <frame src="frame1.html" name="frame1"scrolling="no"> <frameset cols="20%,*"> <frame src="frame2.html" name="frame2"> <frame src="frame3.html" name="frame3"> </frameset> </frameset> </html>
2)frame1.html:
<html> <body bgcolor="lightBlue"> <h2>Java Tutorial</h2> </body> </html>
3)frame2.html:
<html> <body bgcolor="pink"> <h3>Contents</h3> <ul><li>Core Java</li> <li>JSP</li> <li>Java Servlets</li> <li>JDBC</li> <li>Hibernate</li></ul> </body> </html>
4)frame3.html:
<html> <body bgcolor="pink"> <h3>Click the following links:</h3> <a href="http://www.roseindia.net/java">Core Java</a><br> <a href="http://www.roseindia.net/jsp" >JSP</a><br> <a href="http://www.roseindia.net/servlets/index.shtml">Java Servlets</a><br> <a href="http://www.roseindia.net/jdbc">JDBC</a><br> <a href="http://www.roseindia.net/hibernate">Hibernate</a><br> </body> </html>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.