JQuery :: Using Lightbox Picture Displayer And Content Slide Show Simultaneously?
Feb 9, 2011
In the scenario below my content slide show effects won't work because they are listed first. It seems that whatever is listed last overrides everything else. I've also listed the error I get when running the page.
So at the moment I'm working on an Ajax powered navigation that's animated with a horizontal slide and fade. So far I've imported the Effects Core and Effect "Slide" from the jQuery UI to get the horizontal slide effect in. Here's the documentation on the specific slide technique I'm using from the jQuery UI:[URL].. You can see the work I've done so far:[URL]... As you can see, the Ajax and horizontal slide features are working properly. However, one thing I can't get to work is the horizontal and fade effect to occur at the same time. I mistakenly tried to chain the show/hide functions with the fade function, but of course it happened sequentially instead of simultaneously.
I looked up for solutions online and most point to the animation function as the solution. In this case, I can't figure out a way to work with it because the animation function seems to manipulate the CSS to get the desired effects. While I could have animate change the width of the content area along with its opacity, the width resize would squeeze the text as the content area shrinks which is undesirable for my case. This is why I'm using the Effect "Slide" in the first place, to prevent the text getting squeezed as the content area slides.
So is there anyway I can get a simultaneous fade working at the same time with the Effect "Slide", or do I have to look for other methods of horizontal sliding to get it to work with fades?
If I don't use style="display:none" inside the divs, I see them both initially and I can hide/show each one depending on which link I press. But the thing is that I need both divs to be hidden in the first place, and when I click on ONE, to show TWO, when I click on TWO to hide ONE and show TWO etc. Each time 1 div should be visible, depending on which link we press. The other must disappear.
Currently, I have Lightbox 2 working in the classical way, i.e. a link to an image (in my case it is a script, i.e. photo.php?id=123) with a rel="lightbox" attribute.I would like Lightbox to add *by itself* a parameter to the picture URL, so that photo.php?id=123 becomes for example photo.php?id=123&viewer=lightboxAgain, Lightbox should add the parameter by itself, I do not want to put that parameter in the page from which Lightbox is called.
I have a JQuery lightbox popup but am struggling how to control the content of the lightbox. all the examples given on the internet are from anchor links that are fixed. I however, need to use it from images pulled from the database so therefore the content will be different depending on what image is clicked. I already have the content I need in a div, so is there a way of targeting that div so it is displayed within the lightbox?
I have a problem on my wordpress blog that is integregated with a 3rd party shopping system. What I'm finding is that the Image Slide Show will not show up on the product page but will show up on other pages. obviously there is some conflict but I don't know where.Example: here is the product listing page while in the header the slide show seems to work fine.Now here is the page if you select one of the t-shirts but as you will see the image slide show in the Header vanishes?
I am using some excellent code for a photo slide show from ..
The way this slide show gallery works is there are mulitple list items in an UL and within each list item is an image. sequentially one list item has the class .show and this changes the css of that list item so opaque is set to 1. Making it visible. A timer determines when the list items change so the next list item within the hierarchy has .show. Once is reaches the last list item, it goes back to the first item.
The problem I have with my code is that when the page first loads up, the first image displays briefly before changing to the second image. After this happens, the slide show behaves correctly.
In bold are the the important lines of code. First I use jquery to assign .class to first list item. The second line of code in bold is a conditional statement. If no image has .show, assign it to the first list item. This is when the code doesn't work as intended.code...
have set up a simple slide show within a table to present as redesign option on home page for a new client. The SS is working fine but the rest of the content that follows in rows beneath are not showing when the page loads. They do appear when you hit refresh. what's blocking the load. Here's the link to the test page:[URL]
i have a site that uses a lightbox based image viewer and the jeditable plugin. basically my site has a photo gallery and below each gallery i have the option to set a caption to the photo.
i have done the caption using jeditable and i've also tried using the ajaxForm plugin for jquery to see if jeditable caused the problem. but whichever method i use, approximately 20% of the time a photo caption is submitted, if you then click on the photo to view full size using lightbox (so far i've used fancyBox, prettyPhoto and Lightbox itself, and all break in the same way) it gets stuck at "loading", whereby the overlay appears, the inital empty box and animated gif appear, but then it just spins forever and never loads the image, as if it cant access the URL. weirder still, the FIRST time i do a page refresh to try and fix the problem, it doesnt work (something in the cache i expect), but if i do a second refresh or a shift + refresh, it resets and works again. it's very difficult to eliminate all variables because the problem is so sporadic, but it seems that the most likely way of breaking lightbox is to do the following:
I have hidden div, that i want to show by sliding it in from topborder.The problem is that i don't know how to make it "slide in" instead of"wipe in".I want it all to move with it's content instead of showing more andmore of it.
I used JQUERY to create a slideshow on my website. It worked fine off-line but when i uploaded it on the server it doesn't work at all. I'm very new to this so i was wondering if its the coding, server or the script that makes this problem.and the problem is in each and single one of those pages in the menuknow if I should post a certain part of the script or the html file to ensure a better solution.
I'm working on a page, where I want to use jQuery to build a "Portfolio" div that contains pics and info about some of my work. I found a bunch of cool tutorials about making a slide show, but they all have a sliding animation. With my page, the sliding animation would look awkward. I'm fine if it just replaces the current div with the next one. I'm just planning on using a previous and next button (Within the same div) to cycle through these.
I am trying to set a cookie with jquery. The point of this cookie is to tell me if the person hasvisitedmy site before. If they have the opening slide show should be skipped. My problem is that I do not know how to do this.
The problem with my current code is that it sets the cookie but it should only set on the 2nd visit or...I need another way to count the visits to the page.
I've written a script for a slide show.It plays fine the first time it cycles through the images, but there's a glitch when it loops back to the beginning. The wrong image flashes briefly on the screen.Here's the code:
I'm using the image cycle script, does anyone know if its possible to set a different CSS classes for each image, for example I'm trying to load images in a slide show that have different heights, I've setup two different CSS classes that have different heights, but I'm not sure how to get the script to call them at the right time?