JQuery :: Cycle - Multiple Instances - One Will Not Display Captions

Sep 9, 2011

Have two Instances - One will not display captions. Here are the script pieces for the two.

[Code]....

View 1 Replies


ADVERTISEMENT

JQuery :: Cycle Plugin - Cycle Through Php Query_post & Display Caption From The_excerpt - Captions Do Not Effectively Cycle

Jun 23, 2011

I have yet to be able to do this successfully. I am using the Cycle Plugin to cycle through a series of images and corresponding caption. To show the images, I use:

<div id="cycle-container">
<?php query_posts("cat=38&showposts=2"); ?>
<?php while (have_posts()) : the_post(); ?>
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">
<img src="http://www.website.com/uploads/<?php echo get_post_meta($post->ID, 'Image', true); ?>" alt="Icon [Code]...

Problem: The captions do not effectively cycle. What appears is the first caption from php the_excerpt but it does not change to the next php the_excerpt text. Can I solve this problem so I get the text from php the_excerpt to correspond to each image??

View 1 Replies View Related

JQuery :: Display Captions Using The Cycle Plugin?

Dec 6, 2010

I am using the Cycle plugin to handle a slideshow and I have a long caption that I would rather not put in an ALT tag. Is there any other way to display captions using the Cycle plugin? Such as in a paragraph tag?

[Code]...

View 4 Replies View Related

JQuery :: Using The Cycle Plugin To Display A Counter And Captions?

Sep 25, 2010

I'm trying to have the slide move on click but with a counter as well. When I try to incorporate the counter it breaks my test page I'm trying it on. I added captions to the slides and I realize both of them are activated by after.

<!DOCTYPE html>
<html>
<head>
<title>JQuery Cycle Plugin - Image Count Demo</title>

[Code].....

View 2 Replies View Related

JQuery :: Malsup Cycle Plugin - Getting The Captions To Display From A Slideshow

Jun 23, 2010

i'm having a small problem with getting the captions to display from a slideshow... i've got multiple slideshows on the page which i guess could be causing the problem... i'm not getting any errors, but no caption is being displayed... here is a section of my html....

<script>
$(document).ready(function() {
$('#cat_slide1').cycle({
fx: 'scrollHorz',
timeout: 0,
next: '#next1', prev: '#prev1',
[Code]...

View 3 Replies View Related

JQuery :: Cycle: Anchor Links On Slideshow Images + Captions?

Sep 12, 2010

I'm creating a slider with the Cycle plugin and ran into a little bit of a road block.

What I want to do is simply have anchor links on my slideshow images, which I can get working just fine, except that when I add these anchor links, it removes my image caption (which worked prior to adding anchors on my images)

[Code]...

View 2 Replies View Related

JQuery :: Multiple Captions For One Image?

Feb 4, 2011

I have been using Flash to create a slide show that starts with a single image. Then the image caption slides up from the bottom followed by a longer description coming in from the right side of the image (which includes links in the text). The description and caption then slide away, and a new image is transitioned into the old image's place. Is it possible to create something like this with jQuery? The s3slider jQuery plugin is very similar to what I'm looking for, but I can't seem to get two captions to appear over the same image.

View 1 Replies View Related

JQuery :: Display Captions Based On Mouseover Of A Certain Part Of An Image?

Jan 28, 2011

I have an interesting project that I'm sure someone has done before. I need to essentially recreate the effect on the Bing homepage where you can mouseover different parts of an image and be displayed different tool tips depending on where your cursor is.

[Code]...

I don't want to use Flash for these things unless I absolutely have to. It seems they could be done with CSS purely but I was wondering if there is a more attractive/prettier way to do it with Jquery?

View 1 Replies View Related

JQuery :: Multiple Instances Of A Function?

Jul 31, 2009

I have a simple navigation menu. On hover, the block element changes background color. I'm also fading in/out a div layer. I'm also using the jQuery Color Animations plugin. Very simple to accomplish and I had no trouble doing so.However, I don't want to have to use a whole new function for each individual element, so I wrote the following:

$("div[id^=div]").css('display','none');
$("a[id^=a-nav]").hover(function() {
var tabSelected = $(this).attr("id");

[code]....

View 1 Replies View Related

JQuery :: Multiple Instances Of A Slider?

Mar 25, 2011

I have added the Flowplayer jQuery scrollable slider to the web page linked below and I am trying to add more than one instance of the slider to that page. So essentially three galleries. Can someone figure out how to rewrite the jQuery function to accommodate the additional scrollable items on the page?

View 2 Replies View Related

JQuery :: Multiple Instances Of JTip Style?

Apr 6, 2011

ove the plug-in but have come across a puzzle. i am trying to use multiple (5-8) instances of the jTip theme, jTip Style clueTip. The first tip shows as expected using the code <a class="jt" href="health.html" rel="health.html">Health</a> However, the second tip shows the new ajax file but as soon as i move off of the word, the tooltip closes. i know this has something to do with the jt:eq() class, but i'm having no luck in changing it to make the second instance stay open on hovering.

[Code]...

View 2 Replies View Related

JQuery :: Have Multiple Instances Of Scroll-bar On Same Page?

Mar 18, 2007

i somehow figured out how to have multiple instances of the jquery scrollbar on the same page - however, i would like to use those scrollable divs in a auto-centered fixed width layout. i cannot seem to be able to modify the code in a way so the scrollbars move with the centered layout.i could imagine this could be of interest for others too since this technique finally gives cross platform identitical scrollbars and would help unifying designs.

View 6 Replies View Related

JQuery :: Lightbox With Multiple Instances On A Page?

Dec 2, 2009

I can't seem to get my second lightbox to launch into the lightbox. The first instance is fine and working perfectly. I'm assuming its some kind of code in the header to make it work but not sure at all.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

[Code]...

View 1 Replies View Related

JQuery :: Multiple Instances Of Galleria On Same Page?

Nov 22, 2010

I'm trying to set up multiple instances of the galleria plug in on the same page. Here is the page I am working on[url]...

I don't really know javascript very well so that's why I'm stumped.

View 1 Replies View Related

JQuery :: Multiple Instances Of Loading Plugins?

Sep 19, 2011

I'm working on a component for Joomla in which I'm using jQuery. My problem is that when another component loads jQuery after mine, all plug-ins I'm using are being overwritten by the last jQuery initialization.

I have 2 possible solutions:

1. Load all add-ons on document ready or basically AFTER any jQuery initializations in the HEAD of the document

2. Rename the jQuery static object to something else (like myJQuery for example) and then extend it with the plugins.

The 2nd option somewhat guarantees me that my object will be properly initialized with all the code I need, but it mothers me that it may overload the browser in some way.

View 2 Replies View Related

JQuery :: Multiple Instances Of Plugin On One Page?

Aug 3, 2010

I have two scrolling RSS feeds at [URL] at the bottom of the page.

I've created these by calling a php document containing the script and the feed.

I can't get any more than one to work. I've tried it a hundred different ways and no joy.

View 2 Replies View Related

JQuery :: Toggle CSS In Multiple Instances Individually?

May 12, 2010

Trying to get this to work individually with each individual instance on the page (usually 5-10 questions on each page)Right now it adds the class to every instance of the div that has the answerCorrect class. need the link to only turn on the specific answer associated with it.

<script type="text/javascript">
$(document).ready(function(){
$(".showAnswer").click(function(){

[code]....

View 3 Replies View Related

JQuery :: Unable To Use Multiple Datepicker Instances?

Nov 27, 2010

I've been unsuccessfully trying to get the datepicker to work on multiple instances on the same form.

Head:
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>

[code]....

View 2 Replies View Related

JQuery :: Plugin - Multiple Instances With Different Options?

Aug 31, 2009

I'm somewhat new to jQuery and writing jQuery plugins, but I'm trying to find a way to be able to have seperate instances of a jQuery plugin with different options.So far, the tutorials I've come across can allow multiple instaces, but the options are not independent.This is the framework I've constructed:

Code JavaScript:
(function($){
$.fn.myplugin = function(options){

[code]....

View 7 Replies View Related

JQuery :: Create Multiple Instances Of Vertical Menus?

Nov 11, 2010

I wanted to create multiple instances of vertical menus..i copied module but i dont know how change css for other module.

View 1 Replies View Related

How To Alter This Code To Display Captions From Alt Tags

Jul 24, 2010

At the moment, the script creates a gallery with thumbnails from a list of images (from my basic understanding), and I want to add to it so the current code also picks up the text from the alt tag and displays that within a div box positioned absolutely elsewhere on the page, when the main image is displayed.Here is the javascript:

var gal = {
init : function() {
if (!document.getElementById || !document.createElement || !document.appendChild) return

[code]....

View 2 Replies View Related

JQuery :: Pasing Flash Media With Multiple Instances On One Page

May 20, 2009

I'm just the jquery.media plugin. With multiple players being used for each mp3 link. Is there a way I can setup a jquery call that knows to pause (or stop) all other players once a user click on a new player?

View 1 Replies View Related

JQuery :: Multiselect Plugin - Speed - Lags When Have Multiple Instances - Crash The Browser In Some Cases

Feb 28, 2010

I am having some issues using jQuery multi-select, it works fine but really lags when I have multiple instances (can crash the browser in some cases) am using jQuery 1.3 & jQuery 1.7 as the demo (have tried updating to the newer versions but problems persists)

I am using the following [url]

Does anyone have any idea to speed this up, or an alternative plugin that works a little better?

View 1 Replies View Related

Multiple Instances Of FancyUpload?

Aug 17, 2009

There is this nice upload ajax script which I would like to use on my site, it's called "Fancy Upload". You can a see demo&code here:[URL]The demo shows only one upload form instance on the page. However I want to have three upload form instances so that the users can upload three pictures and see the thumbnails for each image they upload.The problem is, this javascript specifically sets the id's of the html fields in use. For instance, "demo-portrait" is the id of the image tag and it is also referred to within the javascript itself. So if I create another image field with an id "demo-portrait-2", the script wouldn't work for this second field.

View 5 Replies View Related

Multiple Instances Of XMLHttpRequest

Jul 8, 2007

I got a good book, and there are a lot of examples.

however, the author don't really explain how to use XMLHttpRequest in a real application, where the user will do several things at the same time.

my question is: for each request, you have to create a separate XMLHttpRequest, right?

because on the book they showed this code:


var xmlHttp;

function createXMLHttpRequest() {

if (window.XMLHttpRequest) {
xmlHttp = new XMLHttpRequest();
}

else if (window.ActiveXObject) {
xmlHttp = new ActiveXObject('Microsoft.XMLHTTP');
}

} // function createXMLHttpRequest
and this is fine if on the page there is only one request, as they create a global var XMLHttpRequest.

However, I thought that it could happen that there are many requests at once (like if the user, while it's waiting for the first request to be completed, continues doing stuff, starting another request).

So, I changed it to this:


Code:
function createXMLHttpRequest() {

var xmlHttp;

if (window.XMLHttpRequest) {
xmlHttp = new XMLHttpRequest();
}

else if (window.ActiveXObject) {
xmlHttp = new ActiveXObject('Microsoft.XMLHTTP');
}

return xmlHttp;

} // function createXMLHttpRequest
and for each call I do:


Code:
var xmlHttp1 = createXMLHttpRequest();
var xmlHttp2 = createXMLHttpRequest();
// etc...

is this the right way to go?

View 2 Replies View Related

SetAttribute Multiple Instances

Nov 18, 2007

I know there is a problem with IE (I wont bother inserting a witty comment here) on handling:

setAttribute('onclick','doStuff');

I have found

yourAnchor.onclick = function() {
// do what you want in here.
}

this works, but I the script I am working on is going through every DIV with a certain class and adding links to the div, I want the button to change something within the div where it is located so I need to pass the id of the parent div. I thought perhaps there was someway to find the id of the button pressed?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved