slimbox

Is it possible to hide href title?

我是研究僧i 提交于 2019-12-28 16:34:11
问题 <a href="link.html" title="Titletext"> ...is the code. I need to use the title attribute because of slimbox, but I want to hide the title-text that shows up when hovering the mouse over the link. Any ideas? 回答1: Supposing you are using an image tag in the a tag, you can just use an alternative title for the image (even a space) and that will overwrite the title of the link when you hover over it. 回答2: How about a nice simple: <a href="link.html" title="Titletext"><span title=" ">text</span><

Gallery images not displaying in Internet Explorer 9

情到浓时终转凉″ 提交于 2019-12-25 05:27:24
问题 I have a problem which I do not know how to solve. I have a gallery using slimbox on my website. It works great in Firefox and other browsers (on both Windows and Mac), but the images are not visible, and are no longer links, when viewed in Internet Explorer 9. 回答1: You have a display:none; in your .mosaic-backdrop class. It get's overidden in Chrome/FF but not in IE. Remove it. 来源: https://stackoverflow.com/questions/10554596/gallery-images-not-displaying-in-internet-explorer-9

Slimbox V2 error when upgrading to jQuery 1.9.1

99封情书 提交于 2019-12-11 04:53:45
问题 When you have a site that uses Slimbox V2 and upgrade to jQuery 1.9.1 you get a strange behavior. The semitransparent overlay layer comes in front of your image instead of behind it. Before the upgrade, I used jQuery 1.8 and everything was working fine. Nothing else changed on the site. How to solve the issue without downgrading jQuery? 回答1: The reason it doesn't work is that jQuery 1.9 changes the way .after() works, and the complicated code in the original lightbox that I show below uses

livequery not working with groups

点点圈 提交于 2019-12-08 11:17:17
问题 I am using some nice plugins from jQuery for using AJAX based sites. Now I came to the problem that I would like to use livequery for specifying my slimbox. The problem is, that it doesn't get my groups as stated in the linkFiler function. $(document).ready(function () { $('a[rel^="lightbox"]').livequery(function() { $(this).slimbox(null, function(el) // link mapper { return [el.href, el.title + '<br/><a href=\"' + el.href + '\">Download</a>']; } , function(el) // links filter { return (this

JQuery slimbox rebind after ajax callback

我与影子孤独终老i 提交于 2019-12-06 14:48:40
问题 I'm having trouble rebinding slimbox2 after ajax content is loaded. I realize I need to rebind the function on the ajax load but I have no idea how to do that. I'm using this code to generate the external content. $(document).ready(function() { $('.content_box').hide(); $('.sf-menuUP a').click(function(){ $('.content_box').fadeIn('slow'); }); var hash = window.location.hash.substr(1); var href = $('.sf-menuUP li a').each(function(){ var href = $(this).attr('href'); if(hash==href.substr(0,href

JQuery slimbox rebind after ajax callback

情到浓时终转凉″ 提交于 2019-12-04 19:24:17
I'm having trouble rebinding slimbox2 after ajax content is loaded. I realize I need to rebind the function on the ajax load but I have no idea how to do that. I'm using this code to generate the external content. $(document).ready(function() { $('.content_box').hide(); $('.sf-menuUP a').click(function(){ $('.content_box').fadeIn('slow'); }); var hash = window.location.hash.substr(1); var href = $('.sf-menuUP li a').each(function(){ var href = $(this).attr('href'); if(hash==href.substr(0,href.length-5)){ var toLoad = hash+'.html #content'; $('#content').load(toLoad) } }); $('.sf-menuUP li a')