超链接可在桌面上使用,但不能在移动设备上使用

时间:2020-06-04 10:09:21

标签: html asp.net user-interface responsive

我在

中有以下代码
                        <div class="col-md-3" style="border:0px solid #e5e5e5;color:antiquewhite;">
                            <asp:HyperLink ID="lnkPropertyImage" runat="server" style="float:left;" ClientIDMode="Static" href="#myGallery" data-id='<%#Eval("PropertyId")%>' data-toggle="modal" data-target="#myModal" class="identifyingClass" data-slide-to="0">
                                <asp:Image  runat="server" style="float:left;padding-right:15px" width="150px" ID="imgProperty"  ClientIDMode="Static" ImageUrl='<%#Eval("MainImageName")%>' />
                                <div>
                                    <asp:Label ID="lblNoOfImages" class="control-label"  runat="server" Text="" ClientIDMode="Static"><%#Eval("NoOfImages")%></asp:Label>
                                </div>
                            </asp:HyperLink>
                        </div>

点击图像或链接,它会打开一个弹出窗口,显示更多图像。它在台式机上工作正常,但在移动设备上不工作。 请帮我修复它。

0 个答案:

没有答案