Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

netscape problem - link to a word document

  • 20-07-2000 12:39pm
    #1
    Moderators, Social & Fun Moderators Posts: 28,633 Mod ✭✭✭✭


    This may not be relevant in any way, but I recall doing something with Netscape and linking to a file. I had to use file:/// (3 slashes).

    Give it a go...



    All the best,

    Dav
    @B^)
    My page of stuff


Comments

  • Registered Users, Registered Users 2 Posts: 310 ✭✭Cerberus


    No good I'm afraid...


  • Registered Users, Registered Users 2 Posts: 310 ✭✭Cerberus


    I have link to a word document on my site. The word document is shared out on a group drive. Therefore the link protocol is 'file:' instead of 'http://'. This works fine in IE but in netscape there is a problem. The way I am defining the link is like this: The link's(its a gif image) href calls a function that changes the url of the browser and then reloads the gif after clicking on it. This is neccessary because of a problem netscape has with displaying gifs. So when the gif is clicked a function is called that changes the url of the browser and then reloads the gif. here is a code snippet:

    function loadFile(fileName)
    {
    window.location.href =fileName; document.images.gif.src="JobANI.gif";
    }

    This is the link:
    <A href="javascript:loadFile('file://dubfisca/d/tempdoc.doc')" >

    When you click this link in netscape it attempts to load the document but fails. It never gets to reload the image. I checked my process viewer after clicking on the link and I noticed that winword is one of the processes running but it is not visible on the desktop as an application. The file is not corrupt and the link is good because if you manually put the file url directly into the address bar of netscape it works fine.
    I am stumped with this one. I've been trying this one on and off all week.


Advertisement