Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

problem in frames

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am very sorry that I couldnt fine Html forum so I am posting this in Jsp forum.My problem is i have used frame for a webpage which has header.html,footer.html,body.html.And i have many link on body.html.My problem is when i click on the link am able to navigate to the respective page,but the address bar is showing the same old fiel name.Its not changing.How to overcome this issue.I have used only Html .Please suggest me
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We do have a HTML and Javascript forum
One of the moderators will move this there.

but the address bar is showing the same old fiel name.Its not changing.


You mean to say that the address in the address bar is not changing?
Which field name? Please let us know.
[ September 30, 2008: Message edited by: Amit Ghorpade ]
 
vijayendra sandeep vulligundam
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes you are correct the address in the addressbar is not changing
 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What you have said is STANDARD BEHAVIOUR when you use frames.
If you use frames, then the URL that is displayed will be that of the HTML file which has FRAMESET. In your case, you have LOADED 3 html files in 3 diff. frames. Now, when you click on the link inside one of the frame that has body.html, then a new page will be loaded inside THAT FRAME only, hence, the URL doesn't change as still the current page is the one with FRAMESET, even though a new page is loaded inside one of the frames.

If you want the URL to reflect the new page that is loaded, you have to load that page not inside a frame but completly out of the frame, you have two options,
1. You can specify to load that page in a seperate window.
2. You can specify the "target=_top" loads the linked document in the topmost frame... that is, the new page fills the entire window.,replacing the FRAMESET page.
 
Why fit in when you were born to stand out? - Seuss. Tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic