Two methods of accessing the same file have different effects. solution:

Source: Internet
Author: User
Two methods of accessing the same file have different effects: file: // E:/myo/member/testss.html http: // 127.0.0.1/myo/member/testss.html, all are accessed on the same page. what I am doing is a [click the picture to pop up the preview layer] using the first method to access the same file. The two methods have different access effects.
File: // E:/myo/member/testss.html
Http: // 127.0.0.1/myo/member/testss.html
Both methods are used to access the same page.
I am working on a [click the picture to bring up the preview layer]
There is no problem with access in the first way
In the second method, there is no problem with the first image, and there is a problem with the subsequent image. Check the code.
HTML code
  

I don't know why this has an impact. please analyze it.

------ Solution --------------------
I see the duplicate id. I wonder if this is the cause.
------ Solution --------------------
We recommend that you do not analyze the source code in detail.
This can only be a guess.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.