JQuery :: Import Two Different Versions?
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
ADVERTISEMENT
Apr 1, 2011
I am developing a site for my client in wordpress. According to clients needs I have to add 6-7 jquery instances into a site. means I need to import jquery.js file for each of JQuery effect such as menu, slider, scrooler, tabs, buttonsinto a site. Because of this site loading time is affected and I need to use noconflict() function to make jquery variable separate for each of JQuery effect. I need help to improve site loading time by minimizing importing of jquery.js file. but I need to keep all the effect as before.
View 8 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
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
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
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
Jun 23, 2010
Wantto import data from excel to SQL server from a web page, but wonder whether it is possible to do it without uploading the excel file from client's machine to server first.
View 4 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
May 23, 2006
Ive seen this done to include things like titles, and status bar text on sites where javascript isnt allowed.
@import url('javascript:document.title = ("Some Page Title")');
Which works fine, but I want to take it a step further:
@import url('javascript:document.write("<embed src="MY URL" width="300" height="200">")');
Thats my attempt to use it to import my flash music player. It works and it doesnt- the player imports alright, but it erases the rest of the page content! Thats not what Im going for, why does it happen? and how do I fix it?
View 3 Replies
View Related
Feb 9, 2006
I hopen a new empty window from js code:
var win =
window.open("","debug","width=500,height=300,modal,dialog,resizable");
and I add some element to the new window:
win.document.write("<img src="image.gif>");
win.document.write.....
How can I add the stylesheet information of the file x.css
(how and where I must write in the new window the line:
<?xml-stylesheet href="x.css" type="text/css"?> )
View 7 Replies
View Related
Jul 23, 2005
how could i import a js file in another js file???
what i want is the equivalent to:
<script type="text/javascript" src="file.js"></script>
in html
View 2 Replies
View Related
Feb 4, 2006
I cannot figure out how to import an array from PHP into Javascript MyPHPcode is like this
<?php
$i=0;
While ($i < $num) {
$PHPvar= (" $PHPvar " $Mystring[$i] " , ");
$i++;}?>
The ouput of $Mystring is: "string1","string2","etc"," " (the
last empty string is added later on in the function:
This is exactly what Javascript expects in an array, however I get no
output in Javascript this way. transfering data:
<INPUT TYPE= "hidden" ID= "PHP2JS" VALUE="<?php echo( $c);?> ">
javascript:
<script type="text/javascript">
var text=PHP2JS.value;
document.write(text);
myarray = new Array(text);
for etc.
</script>
When I replace the " with nothing (in the PHP part) it works in
the - document write(text) - and all data is loaded into
myarray(0) but I need the " " . does someone have a better idea?
View 1 Replies
View Related
May 1, 2010
I am importing a Word Press blog to a web site, but it looks kind of sloppy. You can see it here : What I need to do is just present the title, and maybe the first 100 characters, then have a "read more" link. Once this link is clicked, the full article will show on the same page.
I think I might need to use a JavaScript library as well, but I know I will need some CSS. If someone could give me a general idea of how to go about this,
View 1 Replies
View Related
May 17, 2010
How to import a javascript file in flash cs3
View 1 Replies
View Related
Oct 17, 2010
[URL]
I was asked if I could parse the information that is found when I access this URL. I am looking to import this data into into a database using JavaScript. The code would then store the data on a mobile device.
View 2 Replies
View Related
Jan 17, 2011
I've got a website that uses AJAX to obtain all of the page. The site contains hundreds of pages and only about 3 or 4 of them show a map. So, in order to not have to import the google maps api for every single user when only a minority of users are ever going to make use of it, I defer the import and then include with javascript, like so:
Code:
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "http://maps.google.com/maps/api/js?sensor=false";
document.body.appendChild(script);
This seems to work nicely, however I am wondering if is possible to use a similar method to remove the import once the user navigates away from a map page. I figure it's a waste of time having all of that stuff in memory wasting space when we are unlikely to use it again. When profiling, the Google Maps API code causes both the longest load time and highest memory usage of any page on the entire website.
I've done a similar thing with styles, using an empty style tag with a name property set. I can then insert page-specific styles and remove them when the page changes. The trouble is, the script tag doesn't have a name property, or seemingly any properties that can be used to identify it other than the src. I could check against this and remove the tag, but is that actually going to remove the JS and free up memory, or will it really just remove the entry from the DOM but not release the mem?
View 1 Replies
View Related
Apr 23, 2010
I need to be able to import news feeds from various web sites.I only want to display the title and the first line or two from the source, with a link back to the source. I guessing it's JavaScript, but I really don't know where to start.
View 2 Replies
View Related
Dec 27, 2010
i am using a json file to import some content into a div like this:
$.getJSON('json/main_profile.json', function(data) {
$('#info_title').html(
'<h1>' + "General Information " + '</h1>'
);
});
but the problem appears when i try to replace the json file with a url, like this:
$.getJSON("http://interfaces-server.insource.local/users/145198", function(data) {
$('#info_title').html(
'<h1>' + "General Information " + '</h1>'
);
});
why works with the file but not with the link??
View 4 Replies
View Related
Jun 16, 2010
I am coding a random name generator in javascript and at the moment I have the first names and last names in two seperate arrays. I'm adding more names into the javascript itself and it gets messy after a while. When the list is populated to hundreds of names it's gonna be tough keeping track of things.
I was wondering how to have the names listed line-by-line in two text files (first name, surname) and to call the files when the user clicks the generate name button.
View 1 Replies
View Related
Dec 8, 2010
I need help with a code that will generate a random number or integer (from 1-9). Does anybody know of a short random generator without having to import anything?
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