Question

I have the following code, which displays the list of all PDF files, and when clicked, the corresponding file opens. This code worked correctly till the last week, but not now. I am unable to find the error.

<html>
<head>
    <title> Unit 3, ADS</title>
</head>
<body>
    <h1> ADS unit 3- Binomial Queues</h1>
    <ul>
        <li> <a href="G:\sravan\3-1\theory\ads\unit 3\pdf\intro.pdf" > Introduction </a> </li>
        <li><a href="G:\sravan\3-1\theory\ads\unit 3\pdf\61.pdf"> Binary Heaps </a></li>
        <ul>
            <li><a href="G:\sravan\3-1\theory\ads\unit 3\pdf\611.pdf"  > Implementation of Insert and Delete min </a></li>
            <li><a href="G:\sravan\3-1\theory\ads\unit 3\pdf\612.pdf"  > Creating Heap. </a></li>
        </ul>
        <li><a href="G:\sravan\3-1\theory\ads\unit 3\pdf\62.pdf"  > Binomial Queues </a></li>
        <ul>
            <li><a href="G:\sravan\3-1\theory\ads\unit 3\pdf\621.pdf"  > Binomial Queue Operations </a></li>
            <li><a href="G:\sravan\3-1\theory\ads\unit 3\pdf\622.pdf"  > Binomial Amortized Analysis</a></li>
            <li><a href="G:\sravan\3-1\theory\ads\unit 3\pdf\623.pdf"  > Lazy BinomialQueues</a></li>
        </ul>

        <li><a href="G:\sravan\3-1\theory\ads\unit 3\pdf\64.pdf"  > Problems</a></li>
    </ul>
</body>

Was it helpful?

Solution

Try adding file:/// in front of the links and changing all the \ to /

This will work for Internet Explorer, however Firefox and others will not allow this by default as it is a security risk and is not recommended.

To Change security settings for Firefox to allow local links

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top