当链接点击asp.net的网页时,在同一页面上显示图像 [英] show images on Same page when link click on webpage in asp.net

查看:99
本文介绍了当链接点击asp.net的网页时,在同一页面上显示图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们,



我的项目中有一项要求。



目前正在努力asp.net c#,sqlserver 2005.



我的图片文件夹中有10张图片....好的。



我的网页上有10个链接。



i不想创建新页面并链接到那些图片。



我想在特定链接点击时在同一页面显示图像。



例如:

============



我的链接是......



查看餐厅



查看酒店



查看停车场



查看地图



我有这个链接的图像,我有餐厅的图像,酒店等等。



所以,当我点击这些链接时,它必须在同一页面上显示特定的图像。





请帮帮我谢谢。

Dear Friends,

I have one Requirement in my project.

Presently am working on asp.net c#,sqlserver 2005.

I have 10 Images in my images folder....ok.

I have a webpage with 10 links in that webpage.

i dont want to create new pages and link to that images.

I want to display the image in same page when particular link clicks.

For Example:
============

my links are......

view restaurants

view hotels

view carparking

view maps

I have Images for this links, I have Image for Restaurant,hotels...etc.

So, When I click on these links, it must display the particular image on same page.


Please help me THANKS.

推荐答案

hi,



使用多视图。



用户点击时在它上面隐藏view1并显示2个视图。



或者你也可以使用jquery花式框。


Use multiview for it.

When user clicks on it hide view1 & display 2 view.

or you can also use jquery fancy box.


试试以下链接



http:// www .1stwebdesigner.com / css / fresh-jquery-image-gallery-display-solutions / [ ^ ]

http://www.noupe.com/jquery/cool-and-useful-jquery-image-and-content-sliders-and- slideshows.html [ ^ ]



谢谢
Try following links

http://www.1stwebdesigner.com/css/fresh-jquery-image-gallery-display-solutions/[^]
http://www.noupe.com/jquery/cool-and-useful-jquery-image-and-content-sliders-and-slideshows.html[^]

Thanks


请尝试以不同的方式显示图像而无需太多编码。 灯箱
Plese try this to show images in different ways without much coding. Light Box


这篇关于当链接点击asp.net的网页时,在同一页面上显示图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆