| | |
How to display the details in right frame?
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2008
Posts: 28
Reputation:
Solved Threads: 0
Hi,
I have 2 frames. In left panel i have a hyper link.
Whenever i click on hyper link (on the left panel) of the page should open in right panel of the frame.
Here is the frame code.
I tried like this but its not displaying the page in right panel of page.
Here is the code.
what should i change in order to get the display in right panel???
when user clicks on hyperlink on left panel of the frame the page should open in right panel!!
How can i do that???
Any suggestions???
Regards
Vanditha
I have 2 frames. In left panel i have a hyper link.
Whenever i click on hyper link (on the left panel) of the page should open in right panel of the frame.
Here is the frame code.
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
<html> <FRAMESET cols="200,*"> <frame name="left" src="page.html"> <frame name="right" src="#"> </FRAMESET> </html>
I tried like this but its not displaying the page in right panel of page.
Here is the code.
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
<html> <head> function fncSelected(form) { alert("entered location"); parent.right.location.href=(form.form1.product.value); } </script> </head> <a href='http://www.google.com' name='product' onClick='fncSelected(this.form)'> strproduct</a> </html>
what should i change in order to get the display in right panel???
when user clicks on hyperlink on left panel of the frame the page should open in right panel!!
How can i do that???
Any suggestions???
Regards
Vanditha
•
•
Join Date: Apr 2008
Posts: 38
Reputation:
Solved Threads: 4
This web page should help you
http://www.w3schools.com/HTML/html_frames.asp
There is an example on it called navigation frame that does what you want
http://www.w3schools.com/HTML/html_frames.asp
There is an example on it called navigation frame that does what you want
Assuming that this is the your leftFrame. Then simply add
Left Frame.html
Javascript is not necessary on this issue.
Hope it helps you...
target="rightFrameId" attribute with your links'.Left Frame.html
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
<html> <head> <title>Left Frame</title> </head> <body> <a target="right" href="http://www.google.com/" id="product">strproduct</a> </body> </html>
Hope it helps you...
•
•
Join Date: Aug 2008
Posts: 28
Reputation:
Solved Threads: 0
•
•
•
•
Assuming that this is the your leftFrame. Then simply addtarget="rightFrameId"attribute with your links'.
Left Frame.html
Javascript is not necessary on this issue.JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
<html> <head> <title>Left Frame</title> </head> <body> <a target="right" href="http://www.google.com/" id="product">strproduct</a> </body> </html>
Hope it helps you...
Thanks a lot!!
I t really helped me!
Regards
Vandhita
•
•
Join Date: Aug 2008
Posts: 28
Reputation:
Solved Threads: 0
•
•
•
•
This web page should help you
http://www.w3schools.com/HTML/html_frames.asp
There is an example on it called navigation frame that does what you want
Thanks for the reply!!
Regards
Vandita
![]() |
Similar Threads
- How to Change Column Settings in Windows Explorer (Windows tips 'n' tweaks)
- Displaying array details graphically! (C++)
- Datalist: to display details in another page (VB.NET)
- getting motherboard details in Mac OSX (OS X)
- display details from drop down list (JavaScript / DHTML / AJAX)
- Display content based on login information (PHP)
- creating a frame with four clocks (Java)
- Populating & Retrieving Data in a listbox : ASP.NET (w/ VB.NET) (ASP.NET)
- never taught how to show the VAT of a total. I know that u divide by 1.175 (Visual Basic 4 / 5 / 6)
- Add Fields to the Details View of Folders (Windows tips 'n' tweaks)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Overlap viewer and Lightbox
- Next Thread: trim a string help
| Thread Tools | Search this Thread |
acid2 ajax ajaxcode ajaxexample ajaxjspservlets array browser bug calendar captchaformproblem cart checkbox child class close codes createrange() cursor date debugger decimal dependent disablefirebug dom dropdown editor element embed engine enter events explorer ext file firefox focus form forms frameworks getselection google gxt hiddenvalue highlightedword hint html ie7 ie8 iframe images internet java javascript javascripthelp2020 jquery jsf jsfile jsp jump libcurl listbox maps masterpage math media menu object onmouseoutdivproblem onmouseover onreadystatechange parent paypal pdf php position post programming progressbar prototype redirect regex runtime safari scale scriptlets scroll search security shopping size software sql text textarea toggle unicode web windowsxp wysiwyg \n





