JQuery :: Multiple Versions On The Same Page?
Mar 2, 2010
Is it possible to handle conflicts between 2 versions of jQuery loaded in the same page? Assume that two applications (from different developers that know nothing of each other) share the same canvas (page) and each one of the developers is allowed to register global JavasScript libraries on the page. If each developers registers a different version of Jquery how could the hosting page handle conflicts?
View 5 Replies
ADVERTISEMENT
Oct 12, 2011
I need to use some features in later versions of jQuery (specifically, hoverIntent in v1.5), but my current sites are running 1.4, and in some cases 1.2.
View 4 Replies
View Related
Sep 22, 2010
Below is the head section of the page. It works in everything but IE?
<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.js"></script>
<script type="text/javascript" src="jquery-1.1.3.1.min.js"></script>
<script type="text/javascript" src="jquery.easing.min.js"></script>
[Code].....
View 1 Replies
View Related
Nov 9, 2009
I am trying to write a multifile upload script in JavaScript. Before the upload, my HTML looks like this:
<input type="file" id="file_0">
<input type="file" id="file_1">
<input type="file" id="file_2">[code]......
But, how do I upload multiple files in "all versions" of Firefox and "all versions" of IE?
View 2 Replies
View Related
Apr 15, 2010
I am running what is called "XpressEngine" on my website. It is a Korean CMS tool that is like Joomla and it loads jquery 1.3.2 as standard on its boards and etc.
I have developed a new design website with jquery 1.4.2 and it works fine with by it self.. but it does not when it loads a board running by XE. I guess the reason is that the websites loads two jquery. So I tried to load the jquery 1.3.2 only so that it can run both my board and the website layout, but layout is not working with jquery 1.3.2. (except, if I only import jquery 1.3.2, then the board works fine but not the layout.) I guess my code is some what requiring jquery 1.4.2.. but I am not sure why yet..
My question is, is there any way to import jquery 1.4.2 and 1.3.2 simultaneously? (I personally think its not possible though..
[Code]...
View 3 Replies
View Related
Feb 4, 2010
I'm new on the forum and also using JQuery, came to this Framework thru ZendFramework.... My problème is that i've done an animation that works fine on all browsers (Firefox, Opera, Chrome, Safari) but not on any IE ?
[Code]....
View 1 Replies
View Related
Jan 8, 2012
I have a problem with attr() function.I made my own lightbox and with jQuery 1.4.x it works nice. But now I use 1.7 and there is a problem. When I called attr in 1.4 $(element).attr("rel") when element hasn't rel, it returns empty string, but in 1.7 it returns undefined.Why? I read a changelog and I didn't find any change at that function.
View 2 Replies
View Related
Aug 12, 2010
I have a site which uses a version of jQuery that might be an older version and when I try to add the code for PrettyPhoto which uses jQuery version 1.4.2 the site breaks. The earlier version of jQuery is used to implement the accordion effect and the background resizing effect.
Can someone peek at the multiple versions of jQuery in my code and tell me more about what is going on and how I can fix it?
Here is a link to the site in question: [url]
View 2 Replies
View Related
Jul 14, 2011
Please do not take this the wrong way, but rather as a genuine question I have. I do not want to be negative, but the answer to our bug reporthttp[URL]... One of the main reasons we turned to a javascript framework (we used to use prototype before we - migrated to jQuery), is that we wouldn't need to worry about browsers and versions our users use.[URL].. I now notice that I can not rely on jQuery framework for making functions work cross-browser.
In my opinion, if there is an issue with this, shouldn't jQuery intercept and wrap the call to something that does work in Webkit? Again - this is not meant to be negative, but as an end-developer, I think I should be able to rely on same behaviour of all methods provided in the jQuery library, regardless of what browser/version is being used. (or perhaps at least document it in the api docs?)
View 6 Replies
View Related
Oct 6, 2010
I'm brand new to jQuery, so I apologize if this is a 101 question, but I'm trying to sort out a production issue. I do QA for an ecommerce website. When one of our developers made some changes to our application recently, a couple of the plugins we use stopped working on those pages. Looking at the code, it seems we load jQuery 1.4 and several plugins, including autocomplete and popdown. In the changes, for some reason, the developer loads jQuery 1.4.2 (after 1.4 has been called) but doesn't call the plugins again. I'm assuming that this is the reason the plugins stop working. Can anyone confirm this theory?
(The reasons why we don't call 1.4.2 earlier in the document are, sadly, mostly bureaucratic. If I can get this confirmation, hopefully I can push through that.)
View 1 Replies
View Related
Jul 7, 2011
I have a site that I am developing where I use the prettyPhoto plugin to display larger size versions of photos. I have everything configured as per the directions on the plugin page here: [URL] I am experiencing a weird issue however. When I mouseover my anchor image, the mouseover is only on the top and bottom half of my image. The whole middle section of my anchor image is getting no mouseover effect. Meaning my cursor only changes to a pointer on the top & bottom parts of the image. It changes back to a regular cursor when directly in the middle of the image. The anchor image (the image I'm using to link to the larger version) is sized 333px wide by 500px tall and I am linking to jQuery version 1.5 as hosted on the Google api server.
prettyPhoto is working perfectly except for this mouseover issue. I do have a caption telling the user to click the picture to see the larger version, however if they mouseover directly in the center and don't see the mouseover effect they may think something is wrong. Does anyone know what I may be doing wrong and how I could fix the issue?
View 1 Replies
View Related
Jul 23, 2005
If I have to test my code on different Netscape versions, can I download and run those versions on the same computer or will it create conflicts? And if I had to test only one version which one should it be - which one has the most common elements to all the versions?
View 3 Replies
View Related
Mar 27, 2010
I have this function which rounds up the <p>s, checks their ids, twice, for specific letter combinations and, depending on the combination, changes the class name in one of two ways. It's referencing <p> tags with ids that look like this: <p id="Labaabb6">, where 'a' could be 'b' & vice versa, '6' any number from 1 to 6, and 'L' is just there to be zero in the character count. Still here? OK, there are six variations, V1() to V6(): these work standalone, but it'd be good to combine them. This is where I'm having some trouble...
[Code]...
View 7 Replies
View Related
Nov 20, 2004
Are there any javascript versions of this htmlarea that will work on a browser besides I.E. I cant use html area, as i and many of my staff members hate I.E and dont use it. I only need these capabilites
underline, bold, italic, text aligning, listing (numbers or dots)
Is there any javascript alternative that will allow me to do what htmlarea does and on lots of browsers.
View 2 Replies
View Related
Nov 15, 2006
Would anyone know what browsers are supported by AJAX in general? I've been trying to find this at several sources, but it's never really mentioned.
View 1 Replies
View Related
Feb 10, 2011
Nice for a change: a piece of code that does work in all versions of IE, but not in Firefox. I'm stuck.
<img alt="Loodgieters" title="Loodgieters" src="/core/loodgieters_uit.png" name="loodgieters"
border="0" style="margin-right:1px; margin-top:1px; float:left; cursor:pointer;"
onclick="document.location='/pages/loodgieters.php';"
onmouseover="foto1.style.backgroundColor='#392d63'; loodgieters.src='/core/loodgieters_aan.png'"
onmouseout ="foto1.style.backgroundColor='#008ac9'; loodgieters.src='/core/loodgieters_uit.png'" />
Explanation: element "loodgieters" is a menu button that should change on mouseover. It doesn't in FF, it does in IE. Secondly, when you "mousover" the image, it should change the backgroundcolor of a second element (foto1). Element 'foto1' is a table cell. In return, when you mouse-over this table cell, the image element 'loodgieters' should change as well. So it's a two-way thing.
The code for the table cell is:
<td height="189" id="foto1" bgcolor="#008ac9" valign="top"
onmouseover="style.backgroundColor='#392d63'; loodgieters.src='/core/loodgieters_aan.png';"
onmouseout="style.backgroundColor='#008ac9'; loodgieters.src='/core/loodgieters_uit.png';"
style="cursor:pointer;"
onclick="document.location='/pages/loodgieters.php';">
<img alt="Loodgieters" title="Loodgieters" src="/core/loodgieters.png"
style="border:0; margin-left:auto; margin-right:auto; margin-top:10px; display: block;" /></td>
It all works as I expected in IE, Safari and Chrome, but it does not in Firefox. The whole page validates as XHTML 1.0 Transitional. What am I overlooking here?
View 2 Replies
View Related
Jul 23, 2005
I have a web app that needs the follwing settings
Tools/internet options/settings/
Check for newer versions of stored pages.
I can not rely on the users to do this.
Is there any way to did this programatically?
View 6 Replies
View Related
May 9, 2011
Is it possible to use Colorbox to individually load the larger versions of images?I want to assign their default of rel="example1" to various images on the same page, but have them display individually rather than in a linked gallery.
View 2 Replies
View Related
Jan 16, 2010
I have developed one project and in that i have taken two css now i want to add jquery effects in that, But my display is not properely adjusted and extra enlargement is done so how i can add jquery in my php project without affecting another effect? And one more thing where i can get the jquery effect codes?
View 1 Replies
View Related
Mar 17, 2011
i'm having trouble with using multiple jquery plugins in the same page. only one or two plugins work.
View 14 Replies
View Related
Mar 5, 2011
I have succeed in using JQuery tabs + accordion in my page, it works perfectly.
However, I need to use several accordions in the same page, so when I try this, the second accordion doesn't work :
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>jQuery UI Example Page</title>
[Code].....
View 1 Replies
View Related
Apr 22, 2011
I get 100+ products outputted from a database with 2-6 images each.I want to use cycle with Pager to show the images for each product.My problem is that the pagers for each image cycle,connects with all the image cycles.I've uploaded the dev files here: http [url]... Each of these products have 4 images.I my jQuery looks like this
$('.product-photo').cycle({
fx: 'fade',
speed: '1000',[code]....
View 2 Replies
View Related
Apr 13, 2010
I would like to know how I can have multiple functions on the same page. The idea as you will see is to have a pic on top of text and on mouseenter the pic is faded to show the text. I would like to have 4 pics with the same effect on the same page. Here is my code, it works great for one picture but not when I add the other 3:
<script type="text/javascript">
$(function() {$('#one img').mouseenter(function() { $(this).fadeOut(200);
});
$('#one').mouseleave(function() { $('#one img').fadeIn(200); })
;});
$(function() {$('#two img').mouseenter(function() { $(this).fadeOut(200);
});
$('#two').mouseleave(function() { $('#two img').fadeIn(200); });
});
$(function() {$('#three img').mouseenter(function() { $(this).fadeOut(200); });
$('#three').mouseleave(function() { $('#three img').fadeIn(200); })
;});
$(function() {$('#four img').mouseenter(function() { $(this).fadeOut(200);
});
$('#four').mouseleave(function() { $('#four img').fadeIn(200); });
});
</script>
<div id="one">fgjk jdjgkld fj dsfk klsd klgdjsk gljsdlk gkljsdkl fkjksd klg ksdkj gsdlk klsdjgjklsdjgkl dklf<img src="img/eye.png"></div>
<div id="two">fgjk jdjgkld fj dsfk klsd klgdjsk gljsdlk gkljsdkl fkjksd klg ksdkj gsdlk klsdjgjklsdjgkl dklf<img src="img/water.png"></div>
<div id="three">fgjk jdjgkld fj dsfk klsd klgdjsk gljsdlk gkljsdkl fkjksd klg ksdkj gsdlk klsdjgjklsdjgkl dklf<img src="img/eye.png"></div>
<div id="four">fgjk jdjgkld fj dsfk klsd klgdjsk gljsdlk gkljsdkl fkjksd klg ksdkj gsdlk klsdjgjklsdjgkl dklf<img src="img/water.png"></div>
View 3 Replies
View Related
Sep 15, 2011
I have multiple selects on a single page like...<select name=select1 id=select1>
<option value="val1">Val1</option>
<option value="val2">Val2</option>
<option value="val3">Val3</option>
</select>
<select name=select1 id=select2>
[Code]...
Each one belongs to a student so the # in the select name/id = student_id. I want to set a value in a text box based on the value selected for that particular student.
Rather than having a script for each select, can I make a single script that can determine which select was changed and then change the text box accordingly?
View 1 Replies
View Related
Jul 22, 2009
i have been setting up 3 rows of tabs on one page. it works fine in terms of each panel closes when another is selected but on each row there always remains one tab as selectedDo you know of anyway to ensure for example that when i click a tab on row two and it becomes selected it will also remove the selected state from the tab on any other row?i have tried this but it does not do the trick
//
$("#tabs1 ul li a").click(function(){
$('#tabs2').tabs({ selected: -1});
[code]....
View 2 Replies
View Related
Sep 9, 2010
I have searched the forums pretty extensively to see if this question was answered before and haven't seen that it was.
I am trying to implement the jQuery accordion effect more than once within the same HTML page. I included the plugins and their following suggested code:
[Code]...
View 1 Replies
View Related