lightbox

What is a good jQuery/Ajax lightbox plugin? [closed]

久未见 提交于 2020-01-11 06:37:08
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I am looking for a light weight, cross-browser compatible lightbox with features of displaying a pop-up window. I want to keep the popup window to be run in the lightbox and no matter what they do in the lightbox, the lightbox should never close until it is either clicked somewhere in the black area or by simply

How to construct a URL to open a page with jquery lightbox plugin colorbox?

Deadly 提交于 2020-01-10 20:04:11
问题 I am using jquery lightbox plugin colorbox (http://colorpowered.com/colorbox/) and i want to be able to construct a URL like www.example.com/about-me.html which will send the user to my website and open the iframed page (about-me.html) within the lightbox script. I believe i have to use event hooks or something but i am not sure how to achieve the result. Any help appreciated. 回答1: Credit goes to Jack Moore on the colorbox google group. His solution adapted to this question: var url =

Using Fancybox with Image map

对着背影说爱祢 提交于 2020-01-10 14:10:12
问题 I wonder if there is a way to use the fancybox with Image maps? <img src="\path\" usemap="#Map"> <map name="Map" id="Map" > <area shape="poly" coords="0,0,0,328,145,328" href="#" /> <area shape="poly" coords="0,0,180,0,328,328,142,328" href="#" /> <area shape="poly" coords="328,328,328,0,180,0" href="#" /> </map> 回答1: So you want to show a single image in a fancybox with an image map? It is possible to add the map to the image of fancybox in a couple of ways, For example, you could add it to

Jquery next() for a gallery

早过忘川 提交于 2020-01-06 07:14:05
问题 I'm creating a kind of lightbox gallery by myself but I have problem with loading next and previous images $("a.lightbox").click(function (e) { var a = $(this).next().attr('href'); alert(a); }); As you see this thing doesn't work and I need the href contain of the next element.My HTML is something like this: <ul class="listing"> <li><a href="imgs/eli.jpg" id="1" class="lightbox"><img src="thumbs/eli_t.jpg" width="150" height="100" class="images" /></a></li> <li><a href="imgs/ggallin.jpg" id=

display image using lightbox using MVC

China☆狼群 提交于 2020-01-06 05:50:06
问题 I am trying to display an a larger image using the thumbnail using lightbox but its not working. In my layout view: <link rel="Stylesheet" href="@Url.Content("~/Content/css/lightbox.css")" media="screen" /> <script type="text/javascript" src="@Url.Content("~/Content/js/prototype.js")" /> <script type="text/javascript" src="@Url.Content("~/Content/js/scriptaculous.js?load=effects,builder")" /> <script type="text/javascript" src="@Url.Content("~/Content/js/lightbox.js")" /> Then in my view

Fancybox - declaring size in link

痴心易碎 提交于 2020-01-06 02:40:08
问题 Due to the system i'm having to build a site in templates are extremely restrictive so I don't have much control. My question is: Is it possible with fancybox to set the width and height in the link? e.g. <a href="iframelocation" class="fancybox 480 320">Click here"</a> Thanks in advance. PVS 回答1: You could store the values in data- attributes. (assuming you are using jQuery 1.4.3 or greater) <a href="iframelocation" class="fancybox" data-width="480" data-height="320">Click here"</a> $("a

Autoplay (slideshow) a lightbox gallery in magnific lightbox?

☆樱花仙子☆ 提交于 2020-01-05 10:27:17
问题 I've been looking for a responsive lightbox that will autoplay a gallery starting at a specified point in the gallery. Magnific Popup looks pretty solid. Anyone have a way for it to act as a lightbox slideshow - that is, have the gallery autoadvance? Looks from the Magnific documentation like there should be a way that makes use of magnificPopup.next(); , magnificPopup.updateItemHTML(); and/or callback events, but that's beyond my javascripting thanks! edit: if you're thinking "umm fancybox's

jquery lightbox inline - without popup

时光毁灭记忆、已成空白 提交于 2020-01-04 04:04:52
问题 i like jquery lightbox control looks nice and shows me a title one 1 of x images etc. I need exactly the same thing but without pop up. So whas is now visible after i click thumnail of image i want it to by visible as inline content somewhere on my page with first image loaded and then i could just use next prev. of course in this case, close would not be applicable. Does anybode know such a jquery plugin or how to change lightbox to work withoud popup? Thanks. 来源: https://stackoverflow.com

lightbox-0.5 jquery compatibility issue

烈酒焚心 提交于 2020-01-03 15:54:42
问题 I am trying to integrate the jquery lightbox plugin from here: http://leandrovieira.com/projects/jquery/lightbox/ It is working but only with jquery 1.2.3 When the lightbox is closed and launched the second time, that is when the next and previous links don't cycle through photos properly, If i click on the next link, the order of photos start to jump like instead of going through photos one by one on click it goes 1, 3, 5 and so on by the way, this problem happens only when i try to navigate

Why does ColorBox does not appear in Internet Explorer?

落花浮王杯 提交于 2020-01-03 01:34:16
问题 I am using ColorBox to show details of events on a calendar. The address to view it is http://www.idea-palette.com/greatoppseventcal/calendar6.php In firefox, when the user clicks on a day with an event, the lightbox opens and displays the event information from the database. In Internet explorer, when the user clicks on a day with an event, the calendar is pushed down and there is a big white empty area above the calendar. When you click on the empty area, the calendar is pushed back up, as