linking to a file in the root folder

Hello,

I have a file inside a folder (index.html). This folder is inside a master/root structure: HTML-DEFAULT\SCROLLER\index.html

In this SCROLLER\index.html file I have links to other pages in the root folder (HTML-DEFAULT), for example "about.us".

In the default page, I have an iframe (<iframe src="scroller/index.html" style="margin-top:-10px;" width="100%" height="215" scrolling="no" ></iframe>)


However, in the SCROLLER\index.html page, when I use the <a href="../about_us.html">About Us</a> link syntax, the result I get is that the "about_us.html" is loaded inside the iframe box....??

ANY help would be greatly appreciated
Codeaddict7423Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
That is the way it is supposed to work.  A Frame or an iframe operates as an independent web page unless you do something to cause a link to show up elsewhere.  This page http://www.w3schools.com/tags/att_a_target.asp shows what 'target' attributes are available to change the 'destination' of the link.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Codeaddict7423Author Commented:
Thank you. I took your suggestion and edited it a little bit to include the target="_parent" and that did the trick.

<a href="../aboutus.html" target="_parent">&nbsp;&nbsp; About  Us</a>
0
Dave BaldwinFixer of ProblemsCommented:
You're welcome.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.