View Full Version : I never run out of problems, do I?


nachocheesier
08-07-2006, 02:04 AM
:confusion I have another problem for someone to help me fix -__-

It's not exactly a big problem, but it is pretty frustrating when I try to refresh a page.

Main page: www.geocities.com/dabestsauce
Other pages: www.geocities.com/dabestsauce/clothing.html
/about.html
/buildings.html
etcetera

The main page of my website is iframe but the other pages are all div/css. Whenever I click a link to the other pages, (like geocities.com/dabestsauce/about.html) it doesn't show the actual link in the address bar. It stays as www.geocities.com/dabestsauce. :confused: So when I refresh the page, the main page gets refreshed instead of the page I'm on.

All of my html files are in the main directory in file manager. I'm really stumped...

If anyone is familiar with Geocities, could you please help me? Thanks.

djou
08-07-2006, 02:34 AM
This is one of the problems of iframes. They are putting a page into the existing one, and you can change the page that is "inside" the one you are on, but you it won't affect the URL in the address bar. This breaks various functionalities (refreshing, back links, bookmarking an exact page, etc.) and is one of the reasons people give for not to use iframes.

nachocheesier
08-07-2006, 03:24 AM
I got it. So it's a disadvantage of iframes. Oh well I shouldn't have used iframe in the first place. Thanks for letting me know. :D

I got it now. Thanks for telling me. Helps a LOT :D

nachocheesier
08-11-2006, 03:21 AM
I fixed my problem. I hope this helps someone who is using iframe.

Use this: HREF="website URL" target="_top"
to break iframe. All this does is change the address bar in your browser into the page you get to. Uh...how do I explain this...

Ok, so I'm at www.asdfdfadf.com. I click a link that's www.asdfdfadf.com/stuff.
But without that code above, the link in the address bar will remain as www.asdfdfadf.com. So this code is useful when you want to refresh that page you want to go to.

Yay I finally got this!