JQuery :: MooTools To Function Conversion - Not Playing Nicely On Site

Dec 9, 2010

I have a MooTools drop down menu I need converted over to jQuery as they are not playing nicely together on my site. Here is the MooTools code:

[Code]...

View 1 Replies


ADVERTISEMENT

Scripts Not Playing Together Nicely / Fix It?

Jan 19, 2010

I am trying to get two scripts to run on the same page in Firefox - I haven't had the chance to sort out cross browser compatibility yet as I am not feeling like a glutton for punishment. The scripts are for a slideshow and a news slider. I can get one to run, and not the other, but they won't run together. The page link is ... The page is currently showing the news slider as functioning, but not the slideshow (hence the pictures flooding the page....).

Is it an issue of too many jquery references?

View 4 Replies View Related

IE Not Playing Nicely With Accessing File

Mar 23, 2011

I'm trying to allow a user to select an XML file so that my javascript can parse it and create some pins for a google map.It works fine in Firefox, and by using FireBug I can see that the file is being accessed as expected.IE on the other hand tells me that "'files.0' is null or not an object" on line 68 of address locator. php.

View 1 Replies View Related

Jquery :: Mootools Conflicts - Not Loading On Site

Jan 28, 2010

I am trying to use both jQuery and Mootools in one site I am building. I have researched the web including [URL] with no luck. I have tried loading jQuery after Motools with no luck. My research indicates mootools needs to go first. I have also tried below but that doesn't seems to work?
(function($){
// code with the jQuery $ can safely go in here
})(jQuery);

HTML Code:
[HIGHLIGHT="HTML4Strict"][highlight="HTML4Strict"]
<title>test</title>
<link rel="stylesheet" type="text/css" href="index.css" />
<script type="text/javascript" src="js/jquery-latest.js"></script><!-- jQuery -->
<script type="text/javascript" src="js/mootools.js"></script>
<script type="text/javascript" src="js/mootools-more.js"></script>
<script type="text/javascript">
window.addEvent('domready', function(){
//MooTools smoothScroll
var smoothScroll = new SmoothScroll({duration: 2800});
// MooTools .....

View 2 Replies View Related

JQuery :: From Mootools To - Rewrite Function

Aug 9, 2010

Is there anybody who can convert my function to jquery? It's a short function but I won't handle it by myself.

View 4 Replies View Related

Lower Case Conversion In Replace Function

Jul 20, 2005

I'trying to use a regExp in Javascript to replace any all upper case word in a string by the same word having only its first letter in upper case.

This expression detects the words:

View 3 Replies View Related

Function For Temperature Conversion With Popup Message

Oct 9, 2011

I have used a Javascript function for temperature conversion(attached with an external js file). When the temp is converted we are supposed to get a message box if the temps fall under a certain amount.
Example: <90 degrees celcius : a message is supposed pop up.
I haven't been able to code the message box correctly for it to work.

View 2 Replies View Related

MooTools Mootools 1.3 Classes And Binding?

Jul 15, 2011

I am having trouble accessing both the Class and the current element. How can I have access to both the current element and the Class?

// Class stuff above
fuction1 : function () {
myelements.addEvent('click', this.function2);

[code]....

View 6 Replies View Related

Div Playing Video Keeps Playing After Leaving Div

Dec 26, 2010

User clicks on image map that displays DIV1 with player id="Player1". When user clicks on another part of the map, DIV2 appears with another video - but DIV1's player "Player1" keeps playing. How can I stop the event after going to another div? Lots of efforts "out there" but I've yet to find out just how to do it successfully.

View 1 Replies View Related

JQuery :: Cannot Get The Appended <tr> To Slide Down Nicely

May 18, 2010

In the return function (r) below, I cannot get the appended <tr> to slide down nicely. As it stands the <tr> just appears, which is fine but not the graceful effect I wanted. If I reinstate the hide() command it flickers crazily before appending.

[Code]....

View 2 Replies View Related

JQuery :: Works Nicely On One Computer, Fails On 3 Others?

Jan 12, 2012

jQuery script I wrote works nicely on one computer, fails on 3 othersManaged to get jQuery datepicker to work nicely with $wpdb.This all seems correct to me:

<li><label for="from">From</label>
<input readonly="true" type="text" name="from" id="from" value="Click here to choose!" class="requiredField" style="position: relative; z-index: 100000;" />

[code]....

View 1 Replies View Related

JQuery :: Slideshow Doesn't Work Nicely In IE7?

Apr 30, 2011

I've got a problem with a simple slideshow on IE7. It isn't smooth and kind of changes size on the right hand side. It works fine in standard compliant browsers.

[Code]..

View 4 Replies View Related

Can't Get My Menu To Play Nicely / Resolve This?

Dec 15, 2010

I found a jQuery menu online which i have used but somewhere a long the line it stopped working properly without me noticing, been trying to fix it but cant work it out..

The original code is here...

When you hover over a menu item you get a drop down but you cant hover over the drop down without it disappearing!

View 4 Replies View Related

Jquery :: String To Double Conversion?

Jun 10, 2010

let me know how to convert a string to double in Jquery. String is an amount field like (3,154) which needs to be converted to Double.

View 1 Replies View Related

Parse Dynamic XML Content Into Html Tables Nicely With 1 Second REFRESH Rate?

Apr 14, 2011

I have been playing with JavaScript few days now. I have a php script that returns data in XML. I want my Dashboard (html) page to show the response back from my php file. Since this is going to be a Dashboard hence it needs to refresh the content every second hence using JavaScript.

I want to get some guides, tutorials, or how-to for this. Any help would be much appreciated.

Here is what I get from my .php file if I do a POST method to it and define variable "extension=9999" to it code...

How can above be nicely presented in an HTML using JavaScript and how would this query be refreshed and re-POSTED every 1 second?

P.S. Amount of XML data coming back to me is dynamic. So, I don't know how much data I get back. Sometime nothing. Sometime 4 childs. Sometime 10 childs in the XML.

View 6 Replies View Related

Make The Player Select Playing With The Computer Or Other Player And Select Who Player Beginning Playing?

Dec 29, 2010

i need code in javascript to make the player select playing with the computer or other player and select who player beginning playing

View 2 Replies View Related

Jquery :: Scrolling - Pages Don't Scroll As Fast Or Smoothly As They Did Before After The Conversion

Jul 1, 2010

I have a site that made extensive use of javascript event handlers embedded in the html. I am trying to port the code to jquery and I notice that after the conversion, pages don't scroll as fast or smoothly as they did before. I actually notice this on many sites that make use of jquery or some other jscript library. What causes this behavior, and is there anything that can be done to minimize the sluggishness of the site?

View 1 Replies View Related

How To Disable (View Source) And (Copy Function) From Site

Aug 4, 2008

Is there a chance to disable these two things from my site?
(View Source) and (Ctrl + C)

View 9 Replies View Related

JQuery :: SlideDown Effect Like The One Possible With Mootools?

Apr 30, 2009

At the moment I am playing with jQuery a bit. Is it possible to get the same effect like the following one from Mootools with jQuery? Mootools: When using jQuerys slideDown effect you don't get exactly the same. On jQuery when you slide down some text. The text doesn't get created befor it slides in. (well it looks like that)

View 12 Replies View Related

Make The Image Map Call A Function Instead Of A Link For Searching Site

Feb 10, 2011

I want to use an image map for something unique. The image would have about 10 to 15 (religious) symbols. When the user clicks on a particular symbol it will search the site for a few strings relating to that symbol. For example: Symbol 1 would be a cross when clicked it search the site for "christ, crucifix, christianity". I am sure I can make the image map but how do I make the image map call a function instead of a link.

View 7 Replies View Related

JQuery :: Flash Videos Not Playing ?

Oct 22, 2009

I am having an issue with flash that are being called using javascript not playing .

Here is an example of one of the pages: [url]

This page is referencing a file called terry.js

For some reason the flash banners we use work just fine: [url]

Its only the videos that aren't working. We are referencing the videos the same way we reference the banners with the exception of the their class names.

The weird thing is that these videos were working just fine last week but now they simply do not display.

View 1 Replies View Related

JQuery :: Playing Arround With Integers?

Nov 28, 2011

I'm playing arround with integers.

1.000.000,00 // throw error
1,000,000,00 // throw error

1000,00 // success
100.00 // success

And on success I have to get all numbers before the dot or comma .

View 6 Replies View Related

Jquery :: Conflict Between Libraries - Mootools And Prototype

Feb 23, 2011

I have been trying in vain for many days to resolve a conflict between javascript libraries. My homepage uses jquery horizontal css menubar + a combined mootool and prototype accordian type sliding information box in the middle of the webpage. I find that the highlighter of the css menubar does not work when prototype.js is also loaded on the same page. I have read somewhere that $ should be replaced however I have tried every possible option and none works. I have jquery loading first as it is on my template, with this:
<script type='text/javascript' src='../Web/Templates/jquery-1.3.2.js'></script>
<script type='text/javascript' src='js/example.js'></script>

And my mootool and prototype loades further below like this:
<script type="text/javascript" src="scripts/intro/prototype.lite.js"></script>
<script type="text/javascript" src="scripts/intro/moo.fx.js"></script>
<script type="text/javascript" src="scripts/intro/moo.fx.pack.js"></script>
<script type="text/javascript">
function init(){
var stretchers = document.getElementsByClassName('box');
var toggles = document.getElementsByClassName('tab');
var myAccordion = new fx.Accordion(
toggles, stretchers, {opacity: false, height: true, duration: 600}
);
//hash functions
var found = false;
toggles.each(function(h3, i){
var div = Element.find(h3, 'nextSibling');
if (window.location.href.indexOf(h3.title) > 0) {
myAccordion.showThisHideOpen(div);
found = true;
}
});
if (!found) myAccordion.showThisHideOpen(stretchers[0]);
}
</script>

View 1 Replies View Related

Jquery :: Mootools - Conflict Between (Slimbox) And (EasyListSplitter)

Feb 8, 2011

I have a conflict between Mootools (Slimbox) and jQuery (easyListSplitter). I can't get them to work together. I was reading about jQuery.noConflict();, but I find it quite complicated to implement.

View 2 Replies View Related

JQuery :: Datepicker And Autocomplete Not Playing Nice Together?

Dec 3, 2007

I have a couple of forms that require both an autocomplete field, and a date picker field. I'm using the ui.datepicker and Jorn's autocomplete.

The problem is that Jorn's autocomplete requires the dimensions plugin. When the dimensions plug in is in place, the datepicker is getting given the wrong values for the top position of the calendar. If I take the dimension plugin out, the calendar behaves properly, but the autocomplete throws an error. ( "list.scrollTop is not a function" ). With dimensions, the calendar slides down as usual, but once sliding is complete the calendar snaps above the text box - with parts of the calendar off the visible area of the page (i.e. hiding behind the toolbars).

View 4 Replies View Related

JQuery :: Show / Hide Playing Up In Safari

Aug 10, 2009

I have just started a new job and am building my first website for them. I am using Jquery to try and impress them but after trying and testing the site in Safari, I am stumped as to why such a basic function its going wrong. The script works fine in ie and firefox so. I have stripped all the non necessary code out of this and placed the css and javascript inside the head.

Code:
<html>
<head>
<style type="text/css">
html {
font-size:16px;
margin:0;
padding:0
} body,div,p {
margin:0;
padding:0;
background: #eee;
} .....

If you load that code in firefox you will see that by clicking on 'show porfolio', a yellow div slides open and pushes the black div to the right. You click 'hide portfolio' and the black div slides back and the yellow div hides. You can open and close the portfolio div as often as you like and it works a treat. If you try doing the same in safari, it works the first time but then
it starts pushing the black div down.

View 1 Replies View Related







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