Frameset problem in html


I have created a website with multiple no of pages with in a same folder (i mean all those pages are with in a folder). I have developed this design under the frames. I have used 3 frames top for banner, left side for menu and and right side for main page. While clicking the left side menu frame i just navigate the main page into different page.

My problem is while clicking the menu, i just change the target of the right side main frame. Is it possible to change the URL while navigating to different pages in the right frame.

Please guide me, How to proceed.

Thanks <br /> Praveen


You can't change the URL without navigating to that URL.

You really don't want to use frames in the first place. Search engines (i.e. Google) wont index your site properly, users can't bookmark pages, and people just do not like frames, in the first place.

If you want to persist things like headers and sidebars across many pages without having to include the code in every single HTML file, you should consider using <a href="http://httpd.apache.org/docs/1.3/howto/ssi.html" rel="nofollow">server-side includes</a>.


The question is still quite vague. As mentioned, you can use the target attribute to specify which frame to open a link in:

<a href="content.html" target="_content_frame">link</a>

You can use the HTML base target to specify a default target for all links (<a href="http://www.w3schools.com/TAGS/tag_base.asp" rel="nofollow">http://www.w3schools.com/TAGS/tag_base.asp</a>):

<head> <base href="http://www.w3schools.com/images/" /> <base target="_blank" /> </head>

I don't believe you can change the main page URL when changing an individual frame. You would be better off using a frameless layout to accomplish this. One benefit is that it's better for search indexing and for user bookmarks.


  • Crash in background thread in UIScrollview
  • Unable to copy a file with '$' in name in Linux
  • Get count for multiple fields using group by in SQL
  • MySQL: add a field to a large table
  • How to test chat web app
  • How to write numpy arrays to .txt file, starting at a certain line? numpy version 1.6
  • Ember.js Acceptance Testing not waiting for asynchronous data operations
  • Escape double quotes within double quotes
  • Nativescript tab layout approach
  • JQueryMobile: SelectWidget not showing after second page visit
  • Threads in jMonkey and Nifty?
  • IllegalArgumentException caught when parsing URL with JSON String
  • jQueryMobile, Ajax Navigation, and MVC
  • Graceful pod termination
  • How do you create a Fuseki SPARQL server using the Apache Jena Java API?
  • iOS Cordova first plugin - plugin.xml to inject a feature
  • joining two bezier curves
  • Excel's Macro-Recorder usage
  • How to use carriage return with multiple line?
  • Google Custom Search with transparent background
  • Seeking advice on Jetty HttpClient Hang
  • If I include Java 8 in my Android app does that affect which devices it will work on?
  • Insert into database using onclick function
  • What is Eclipse's Declaration View used for?
  • jQuery show() function is not executed in Safari if submit handler returns true
  • Shallow update not allowed (git > 1.9)
  • Can I make an Android app that runs a web view in Chrome 39?
  • Weird JavaScript statement, what does it mean?
  • jquery mobile loadPage not working
  • Google cloud sdk not working when python points python3
  • Confusion with PayPal's monthly billing cycle
  • Circular dependency while pushing http interceptor
  • How to include full .NET prerequisite for Wix Burn installer
  • AngularJs get employee from factory
  • using HTMLImports.whenReady not working in chrome
  • How to set the response of a form post action to a iframe source?
  • Change div Background jquery
  • need help with bizarre java.net.HttpURLConnection behavior
  • Qt: Run a script BEFORE make
  • Android Heatmap on canvas or ImageView