JQuery :: Using Two Plug-ins On The Same Html Page?
Aug 31, 2010
How do I combine two plug-ins in the same HTML page? Here is my code:
<script type="text/javascript" src="jquery/jquery-1.4.2.js"> </script>
<script type="text/javascript" src="jquery.innerfade/js/jquery.innerfade.js"> </script>[code]....
I'm trying to use the fade in effect and the validate plugins. They each work independently, but when I combine them, neither one works.
View 2 Replies
ADVERTISEMENT
Jun 22, 2011
I inherited Javascript and jQuery for a sliding belt (carousel) module. Basically, left and right navigation arrows would appear to the sides of the belt if there were more slides to show.
The jQuery and Javascript code was originally a singleton, so I decided to convert it into a jQuery plug-in in case the belt HTML markup was instantiated more than once. We have a CMS, so multiple belt modules theoretically could be placed on the same template.
Below is test page with two belts on the same page and the associated Javascript jQuery.
My problem is that when you click on the arrows or the slides, I found that the second belt works fine but not the first one. The first one does not show a left arrow when you page to the right. Likewise, the first belt gets mixed up going to the left. Somehow, only the second belt works as expected.
What I would like to do is when I attach my plug-in to a DIV, I want each belt to operate independently of each other (i.e keep its own local variables, functions, etc.).
I am not sure what I am missing here. what I am doing wrong? (You should be able to copy and paste the code into jsFiddle to see how it currently works.)
I have the page here also: [url]
<html>
View 3 Replies
View Related
May 21, 2011
I am using on my site image slider and a drop-down menu.On different pages they work pretty good, but when i put them on the same page i am loosing drop down menu.
View 2 Replies
View Related
Dec 27, 2011
I'm far from a JQ guru but I built a page using two plug ins (slides and pagination) If I run just the pagination plug in ( for the images thumbnails ) and the slides plug in ( WITHOUT) the function code both seem to work OK. But I need the slide function code for the slides plug in to rotate the images as well and when I do this I get a grey area displaying the image numbers in between the div containing the slide and the footer, rendering the thumbnails not to work as well as the footer pop up menu does not function either see links below
http:[url]....
slides - images display fine / thumbnails work ( no function for rotating slides )
viewport / footer - working
http://dagwaremedia.com/ScotchSodaFiles/index.htm
slides - images display fine / rotating images work ( with function for rotating slides )
thumbnails DO NOT WORK
viewport - DOES NOT WORK.
why all of these plug ins do not work all together on this page?
View 7 Replies
View Related
Jun 9, 2009
Example: [URL]facebook tab on the left). Is anyone aware of a jQuery plug-in that would do something similar?
View 5 Replies
View Related
Mar 30, 2010
When my page loads, it automatically jumps down as if it were jumping to a named anchor. It's more apparent on longer pages (doesn't replicate if page fills screen). Happening in Win FF/IE/Chrome Disabling stylish-select.js (from [URL] where he used to allow comments but not anymore) fixes it, but I don't know enough Javascript to debug, Good example at [URL] Script is at [URL]
View 4 Replies
View Related
Jun 27, 2010
I need to have a simple text input field on a html page. It needs the users to type in either:
And depending on whats entered this will then take them to the corresponding:
Is this possible with javascript?
View 1 Replies
View Related
Oct 14, 2011
What's currently the best modal plug-in available?
View 1 Replies
View Related
Aug 9, 2009
Just getting started with cookies this afternoon and wondering what plug-in everyone is using these days?
View 2 Replies
View Related
Jun 6, 2010
$("#myform").validate({
What does this line? why it checks to see if the value of attribute "name" equals to "fname"
error.insertAfter("#lastname");
View 2 Replies
View Related
Nov 1, 2011
I really need this plug-in. I think I did everything exactly by the instructions,but it doesn't seem to work Can anyone take a look at the code and tell me what I did wrong?
View 7 Replies
View Related
Oct 17, 2010
Basically I am putting together a registration form for my site using, ASP, Javascript/AJAX, jQuery.
I can't find any reference to using the Validation Plugin and ASP anywhere. Here is what I have so far.
jQuery validation:
<script type="text/javascript">
$(document).ready(function(){
$("#frmRegister").validate({
[Code]...
View 11 Replies
View Related
Jun 3, 2009
The tablesorter plug-in by Christian Bach has what I think are a couple of bugs/anomalies. 1) a column that starts with a zero is not identified as a 'digit'. I think it should be. 2) a column that starts with an IP address that looks like 192.168.1.1 or 1.127.77.1 -- that is any IP with a single digit is not identified as an IP address because the "is" function only looks for d{2,3} instead of d{1,3}. 3) some of the examples in the source code are wrong. Otherwise a great plug-in and worth the effort to debug.
View 1 Replies
View Related
Jun 27, 2010
I'm using the divSlideShow plug-in on my site; however, I want to be able to call a given "slide" within the slideshow via a button located outside the slideshow container. So instead of manipulating the slideshow via the automatically set left and right arrows, or numbers, I want to use my own buttons.
View 1 Replies
View Related
Feb 25, 2011
Back in October, a new jQuery globalization plug-in from Microsoft was announced on the jQuery blog, and seems to live over in this github repo. In the blog post, it says it will be "available soon" but I'm not yet seeing it under plugins.j[URL].. There's clearly still work being done on it, though, and I can't imagine anyone has lost enthusiasm. Having a standard i18n mechanism with jQuery is very exciting indeed. (And I understand there's an effort to make this same feature set available in a library-agnostic manner as well, which is even more exciting, just in the sense of making the web better for everyone.)
Does anyone know the status and timeline for this work? I'm not seeing that in the github readme. There would seem to be only two outstanding issues (as I write this).
View 1 Replies
View Related
Nov 13, 2009
I need some help in figuring out how to install this jQuery plug-in on my website code...
I have absolutely no experience with JavaScript.
View 2 Replies
View Related
Feb 7, 2011
I have this normal HTML page, starts with <!DOCTYPE ...... and end with </html>, nothing special, what I need is to get every character from the beginning to the end.I've tried $("html").html(), but this cannot get the <!DOCTYPE line and also the <html> line, but only the codes inside the <html> tag, how can I get all ?
View 1 Replies
View Related
Aug 7, 2010
I am using spinbox plug-in. Its working well.
But it is not working in dynamic text boxes
View 1 Replies
View Related
Aug 9, 2011
Ok here is the problem I am running the cycle plugin on a webiste I am currently working on. It works in IE9 with and without compatability modeBUT in FF and Chrome no joy!!! The place where my slideshow is supposed to be is blank white. See Site [URL] Not sure what the heck is going on anymore. I had a lot of problems with this site but i fixed 90% of them by reworking my css.
View 1 Replies
View Related
Mar 9, 2011
I had to change line 313 from: doc = io.contentWindow ? io.contentWindow.document : io.contentDocument ? io.contentDocument : io.document;
to: doc = io.document ? io.document : io.contentWindow ? io.contentWindow.document : io.contentDocument;
in order for the Form Plug-In to work across Firefox, Chrome, Safari, and IE.
The difference is just in the order of find the document variable. IE9 caused an Access Denied on io.contentWindow.
View 3 Replies
View Related
May 23, 2009
I have recently noticed that version 1.3 of the jQuery Tooltip Plug-in does not work with jQuery's version 1.3.2. Is there a patch available? Is there one on the way?
View 3 Replies
View Related
Aug 26, 2009
I stumbled over a very elegant way to select from a large item list on[URL].. Could anybody direct me to a jquery plug-in? It would be great to replace my drop-down menus with a more appealing menu.
View 3 Replies
View Related
Sep 24, 2008
I'm using validation plug-in in our application for customers fromRussia. I need to set russian messages for all customers from allplaces in the world. How can i do that? Messages are in "localzation/
View 5 Replies
View Related
Dec 7, 2010
No matter what I try I can't seem to set default messages values for the validation plugin.Among dozens of other things I've tried:
jQuery.validator.setDefaults({
debug:true,
errorClass:'test-error',
[code]....
View 1 Replies
View Related
Oct 21, 2010
I am working wiht this JQuery plug in that now one of my clients wants to turn it into a slideshow feature. I am not that familiar with JQuery plug ins so I wanted to get some input from some of you.
On the header of my html page:
Code:
$(document).bgStretcher({
images: ['1.jpg', '2.jpg', '3.jpg', '4.jpg'],
imageWidth: 1668, imageHeight: 1035, nextSlideDelay: 3000, slideShowSpeed: 4000
});
I was able to add a click handler to trigger the a function on the plugin called loadslide().
Code:
$(document).ready(function ($) {
$('.slideNo').each(function (i) {
$(this).click(function () {
loadSlide(i);
[Code].....
View 2 Replies
View Related
Jun 9, 2010
I am working on a page that will load in other pages using AJAX and the .html method. Something like this :
<span id = "edit">Edit</span>
<div id = "cont">
</div>
//the click edit script
[Code]....
Unfortunately this does not seem to work, entirely. It does trigger the click event but it messes up the post for some reason. I have played around with it for the last 45 minutes or so and it seems like the click event trigger is what is messing things up, if I comment it out it works fine. Could anyone tell me why they think this is? note this is an over simplified version of my actual code, but the structure is the same.
View 2 Replies
View Related