none
HTML Link to Current Directory Has Problem (s) RRS feed

  • Question

  • DOS 4.2 was almost, almost there. We seem to have a sleepy foot! To code a link to a current directory (local authoring), this link's shorthand is

    <a href="./" target="_blank">Please don't blink!</a>

    In spite of the target designation, Internet Explorer unloads current page data and reloads entire page, as Windows 8.1 Pro File Explorer opens. Y-A-W-N!

    How to block dump-reload for literal local external links (maintaining adorable shorthand linking, of course)?


    2014... 30 years an artist (web design, not development)



    Wednesday, July 16, 2014 3:31 AM

Answers

  • Hi,

    It appears that you are running a html file from your local drive....

    web pages using the file protocol (file) have no knowledge of a directory structure like that served from a web server. There is no domain... there is no one folder up from the current one.

    Place all of your resource files in the one folder on your computer and address them in href values with no path component.

    eg. <a href="page3.htm target="_self">Next page<a>

    consider hiring a programmer to do your Artistic work. <wink>

    Questions regarding Internet Explorer 8, 9 and 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions. If you are a consumer looking for answers or to raise a question, it's highly recommended you head on over to http://answers.microsoft.com


    Rob^_^

    Wednesday, July 16, 2014 6:37 PM

All replies

  • Hi,

    It appears that you are running a html file from your local drive....

    web pages using the file protocol (file) have no knowledge of a directory structure like that served from a web server. There is no domain... there is no one folder up from the current one.

    Place all of your resource files in the one folder on your computer and address them in href values with no path component.

    eg. <a href="page3.htm target="_self">Next page<a>

    consider hiring a programmer to do your Artistic work. <wink>

    Questions regarding Internet Explorer 8, 9 and 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions. If you are a consumer looking for answers or to raise a question, it's highly recommended you head on over to http://answers.microsoft.com


    Rob^_^

    Wednesday, July 16, 2014 6:37 PM
  • Hi,

    About this issue, I suggest you post in Internet Explorer Development forum for more professional help:

    http://social.msdn.microsoft.com/Forums/ie/en-US/home?forum=iewebdevelopment

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.


    Karen Hu
    TechNet Community Support

    Thursday, July 17, 2014 9:14 AM
    Moderator
  • Hi,

    About this issue, I suggest you post in Internet Explorer Development forum for more professional help:

    http://social.msdn.microsoft.com/Forums/ie/en-US/home?forum=iewebdevelopment


    Karen Hu
    TechNet Community Support


    Yes. Stuck it into Partner somewhere and it is fixed. Previously href="./" under base target="self" was ignored, but now works fine. I thought social.msdn was to work up or research innovations/problems before moving up to partners - that's the Microsoft Research and Development recommendation. You just have to put up with our open-endedness, Karen :-) thanks for the useful tip, thought I was posting to that site here. Take care.

    2014 WEB DESIGN... HTML5/CSS3... DOM not development

    Friday, November 21, 2014 6:46 PM