Link to home
Start Free TrialLog in
Avatar of rajivraj123
rajivraj123

asked on

Relative link using LinkBar in FrontPage 2002.

Hi.......

          I need help with using LinkBar in FrontPage 2002.

          I want to use relative URL for one fo the items in a linkbar.

          Say, I have a file called 1.html in folder "a". Suppose, I have folder "b" in "a". Say, "b" has 2.html. When I want to have a link to 2.html in 1.html, I wud give <a href=/b/2.html>link</a>. Conversely, If I want a link to 1.html in 2.html, I wud give <a href=../1.html>link</a>.

          But If give "../1.html" in the item in the link bar, it resolves to <a href="file:///c:\a\1.html>link</a>, which is not desired.

          If I select 1.html in the file browse box,I only get the absolute URL.

          How can I get the item in a link bar linked as "../1.html" ?
Avatar of webwoman
webwoman

Have you saved the page yet? Most programs make you save before they set relative links...until you save it someplace, there's nothing to set the link relative TO.
Avatar of rajivraj123

ASKER

Ya, I have. else how would it reflect in the browser!. What happening is this:

If ../1.html is left as it is, the browser resolves that without prob. what happening, is FP is resolving it, which is not desired.
rajivraj123,

This type of thing happens all the time if you are developing the web locally.  Because Frontpage wants to be 'smarter' than the user, it tries to help you out with those relative links and it's a real pain to get around, other than publishing to an actual web.

HTH

Thanks,
Robert
I think the correct answer here is "you can't do that".

You're using a WYSIWYG....you can't control it.  It's trying to help you.

You can create your nav bars in FP, then open the page in notepad and re-code the links...but that is only a temporary solution, because everytime to you open the page in FP you will have to redo the links.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
PAQ / No Refund
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

coreybryant
EE Cleanup Volunteer
ASKER CERTIFIED SOLUTION
Avatar of YensidMod
YensidMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial