Script Stops Another From Working?

Nov 30, 2009

My website is all up and running and I decided to put a new image viewing script on, I already had a revolving image script showing all my previous work before but the latest script has totally stopped the previous from working. You can view what I mean at www.actioncomputing.co.uk

I am using 2 scripts both available on Dynamic Drive they are

Lightbox image viewer 2.03a Ultimate Fade-in slideshow (v2.1)

If anyone can tell me why this is I would be extremely gratefull.

View 7 Replies


ADVERTISEMENT

JQuery :: .Each Function Stops Working?

Apr 14, 2010

I have a table with a SAVE button on each row (id=SaveBD)...but I also have aSAVE ALL button at the top. It works pretty good except the .each function seems torandomly stop near the end ofthe row countand not save all the rows.that would cause the rows to stop saving?

$(document).ready(function(){
$("#SaveAll").click( function(event){
$ ("#SaveAll").hide();

[code]....

View 1 Replies View Related

Ajax :: Stops Working In IE8 After Reload?

Jul 27, 2010

I have a simple function for an intranet site that should make and return a XMLHttpRequest object in most browsers (including IE8):

function createXMLHttpRequest() {
var xmlhttp = false;
if (window.XMLHttpRequest) {
xmlhttp = new XMLHttpRequest();

[Code]....

Then I use it autocomplete a input text with a list of client company names from a database. Then the user selects a company and it reloads the page with that company's info. (The ajax input text box remains so the user can type in another company name)

In firefox this works fine. However, in IE8 the very first time the page loads it works fine, but after the user selects a company and the page reloads, the ajax longer works. It gives an error at "xmlhttp = new XMLHttpRequest();" saying: "Message: Object doesn't support this property or method"

If I type anything in the input, it gives the error: "Message: 'searchReq.readyState' is null or not an object" leading me to believe that somehow after the first time the page loads, IE is not able to process a XMLHttpRequest which seems unlikely, so I'm not sure where to go with my code. I've tried a bunch of other similar createXMLHttpRequest() functions, but they all have the same problem of working once then not working after.

View 1 Replies View Related

JQuery :: Line Of JS Stops All Plugins Working?

Sep 1, 2010

WhenIrun the below code above the init code for jQuery plugins it stops them working. Im just trying to run the code after the DOM has loaded, is there a better way? <script type="text/javascript">$(document).ready(function() {

// The gallery is hidden so need to unhide it.
document.getElementById('verticalCarousel').style.visibility='visible'
})
</script>

View 4 Replies View Related

JQuery :: Animation Stops Working After First Click?

Apr 29, 2009

I have the following code

$('input.productSubmitInput').click(function() {
$('#login-info')
.animate( { backgroundColor:"#7AFB73" }, 500 )

[code]....

View 1 Replies View Related

Script Stops Working In No Conflict Mode

Jun 26, 2011

I have four scripts being called to my page however i have two that isn�t playing nicely. The two in question is Fancybox and the Nivo Slider. The slider and fancybox both work alone but not when they are on the same page, however the slider will stop working when

Code:

Is used and nothing changed when i apply it to Fancybox instead. I have tried wrapping and dividing the scripts with

Code:

But nothing. I have also changed all

Code:

To

Code:

On the slider but again no change.

Here are the scripts in my <head> :

Code:

The problem mostly is that the slider won�t work in no conflict mode but won�t work with Fancybox either.

View 2 Replies View Related

Stops Working When Fetching Data From MySQL?

Aug 3, 2011

I have my doubts if this question belongs to the javascript side since it's all good until the data from MySQL comes in, but since the javascript is the one breaking I'll take my chances.

The external js (portada.js)

Code:
$(document).ready(function(){
var currentPosition = 0;
var currentPosition2 = 0;
var currentPosition3 = 0;

[Code]....

As you can see I have three divs with different slideshows (slideshow, slideshow2 and slideshow3), they have products that slide to the left. When I was testing to make sure it all looks good the sliding feature was working fine, but I lost this feature when the data was being retrieved from MySQL (at the moment on <div class="slide">).

View 3 Replies View Related

JQuery :: Cascade Stops Working On Latestes Version?

Jan 8, 2012

I'm trying to use the cascade function from the below link. If I try it as it is there, it works, but if I change the jquery reference to the one I'm using (1.7.1) it stops working... is there a diferent way to use that ajax call or am I missing anything?

View 3 Replies View Related

Ajax :: Multiple Calls Same Page Stops Working IE?

Aug 16, 2011

I have several ajax calls that originates from the same page its updating. It works perfectly in firefox but in IE it works for about 18 requests and then just stops until the page is refreshed. I thought it was a cashe issue but I have added a variable for that. I think it may have something to do with binding but I am not sure how to sort that. This is one of my functions.

[Code]....

View 3 Replies View Related

Check Row By Clicking Function Is On, The Checkbox Stops Working?

Dec 2, 2011

I'm trying to create a demo to display a new way of showing our data.I thought I remembered this being pretty simple but I'm hitting a snag. The table, the mouse over, and the check row by clicking on the row all work separately but when the check row by clicking function is on, seen in the first row, the checkbox stops working.

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript"> [code]...........

View 2 Replies View Related

JQuery :: Datepicker Plugin - Load Some Content Stops Working

Dec 8, 2010

I have a webpage where i load eachdifferentcontent through a function load and after i load that content a problem with jQueryoccurs...if i go directly to the page where i have the "datepick" without load the content it works, but if i load some content stops working...

$(document).ready(function(){

If you want to try it live to understand what is happening here is the url: [url]

When you open the webpage if you click on the textbox it will show the calendar, but if you navigate on the right menu and then press the text box won't work...

View 2 Replies View Related

External Js File Stops Working When On Network Drive / Sort It?

Mar 5, 2009

I have made aa simple offline website to be used as an intranet. This is made up of an html file and a seperate js file.

While testing, i had the html on my c: drive and the one line js file sitting on a network drive (g - everything worked how it should.

I then put the html onto g: drive and find that the part that the js file controls no longer works...

All my file paths are the same and point to the right place but for some reason the js doesn't work.

View 5 Replies View Related

Simple Function Works But Then Stops Working Once Add An Argument / Parameter?

Apr 20, 2011

I have a simple function to display an image when called, but if I try to rewrite the function to take the image as an argument, it stops working.

works:

<html>
<script language="JavaScript">
var ImagePlusSign = '<img src="plus.jpg" name="slide" width="65" height="50"/>';

[code]...

View 3 Replies View Related

JQuery :: Body Click Function Stops Other Live Functions From Working?

Oct 26, 2010

When thebody section below iscommented out, I get hello, and when it isn't, I don't !

$("body"
).click(function
(e){
return

[Code]....

Is this a bug, is it an unavoidable aspect of the "live" architecture

View 3 Replies View Related

Document.write("Goodbye!"); Stops Working When Placed Inside A Function?

Apr 16, 2011

document.write("Goodbye!");

works but I put ^ that inside a function

function SayHello ()
(
document.write("Goodbye!");
)

and it stops working? I know the function call works because when I place some code to display an image in SayHello function, it displays the image

View 2 Replies View Related

Ajax Sometimes Stops Executing

Sep 16, 2006

I'm jusing prototype-1.4.0.js as framework.

I have a function to populate three listboxes. The items in the
listboxes are from a MYSQL database and are related. The items are
requested by a php page.

Most of the time everything works fine, but sometimes I end u with only
one or two listboxes.

I can't figure out what's going wrong here. I've tested in Firefox and
Internet Explorer, both the same problem.

Does anyone know why my code sometimes stops executing?
Could it be that i made too many requests in a short time so the next
request can't execute because the current has't finished?

Hope anyone has an idea of what's going wrong.

View 9 Replies View Related

Doctype Stops This Js From Functioning In Ie?

Sep 25, 2011

This <div> layer positioned always at bottom left of the screen on scrolling (and calling some code from labpixies) works well in non-ie browsers, but in ie it requires the omission of the doctype declaration. Why? Is it possible to fix it so that it works with the doctype in ie?

<!doctype html>
<html lang="en">
<head>
<title></title>
</head>

[Code]...

View 8 Replies View Related

Animated Gif Stops When Doing Cpu Intensive Task

Jul 24, 2006

I have the following code that shows up a div with an animated gif
inside, executes a cpu intensive function using setTimeout and then
hide the div again:

View 10 Replies View Related

JQuery :: Starting Second Animation Stops First One?

Jan 30, 2010

I have some links on my page with ajax calls, and the callback animates the links. My problem is, if I quickly click on two of them, the first one will begin to animate (ajax will complete successfully), and then when I click on the second one, the first one will stop animating, and only the second one will finish.

// document.ready
/* behavior for add to cart button */
$('a.item-addCart').live('click', function() { addToCart($(this)); } );
function addToCart(button){
/* parse data from button clicked, corresponding quantity box, and hidden price field */
$item_id = button.attr('id').split('-')[2];
$item_qty = $('input#item-addCartQuantity-'+$item_id).val();
$item_price = $('input#item-addCartPrice-'+$item_id).val();
/* set loading notification */
$('div#item-addCartActions-'+$item_id).html('<img src="/images/ajax-loader.gif" />');
/* AJAX */
$('div#item-addCartActions-'+$item_id).load(
'shopping_cart/add',
{item_id: $item_id, item_qty: $item_qty, item_price: $item_price},
function(responseText){
/* show response text */
$('div#item-addCartActions-'+$item_id).html(responseText);
/* pause on response text for 2 seconds */
$('div#item-addCartActions-'+$item_id).animate({opacity: 1.0}, 2000, function(){
/* fade out response text */
$('div#item-addCartActions-'+$item_id).animate({opacity: 0}, 'slow', function(){
/* show link to shopping cart */
$('div#item-addCartActions-'+$item_id).html('<a href="shopping_cart">Item in cart</a>').css('opacity', 1);
})});});}

View 2 Replies View Related

Re ClearInterval Stops Script From Functioning?

Apr 12, 2011

I have a script that works until I add the clearInterval command, and I am not sure what I have done wrong.

The code is:
<script type="text/javascript">
function loadChatTalkRefresh(File,ID,Msg){
var xmlhttp;
if (window.XMLHttpRequest) {

[Code]...

View 6 Replies View Related

XMLHTTPRequest Stops At Function Open?

Aug 12, 2009

XMLHTTPRequest stops at function open?

<html>
<head>
<title>Ajax demo</title>
</head>

[Code]....

View 6 Replies View Related

JQuery :: Stops Normal JS From Running?

Feb 9, 2010

Ok so this is weird. I implimented jquery to try and get some ajax funtionality working and it not olnly doesn't work, it stops the rest of my normal js from running at all.

[Code]...

EVERYTHING stops working. All my DOM events don't fire and none of my regular JS works. Anyone know how to get jquery code to work with or without normal JS code?

View 2 Replies View Related

IE 6, Javascript:void(0) Stops The Webpage Loading

Dec 29, 2005

I m facing a problem with 'javascript:void(0)'

Software Environ:-
IE: 6.0.2600.0000
OS: Windows 2000 Professional with Service Pack 4

Problem:-
I have a webpage with several links (<A> tags), now i have added
onClick and blocked HREF using 'javascript:void(0)' as below:-

<a href="javascript:void(0)"
onClick="some_function('pagename')">Text</a>

Here 'some_function' is opening the 'pagename' in a new customised
window.

This page also contains a few images weighing 50kb. Now if I click the
<a> links before the images are loaded fully, following happens (on my
pc it works well but it happens when i test it online):-

1. The new page opens in a window as required
2. But the page loading is ABORTED and the images are not loaded.

View 13 Replies View Related

JQuery :: Cycle Lite Stops After 2 Images?

Jul 15, 2010

photo1.gif fades in as expected, then fades to photo2.gif, but then nothing else happens.

$(function() {
$('#slideshow img:first').fadeIn(1000, function() {
$('#slideshow').cycle();
});

[Code].....

View 1 Replies View Related

JQuery :: Infinite Animation With Stops On Mouseover

Aug 30, 2011

I'm starting with jQuery and all I want is like jCarousel, but I want that when mouse is over image, the entire carousel freezes (until mouse over). So, my first idea is to create something like this:
<div class="photo" style="width: 256px; background-color: #8d99a2;" align="center"> 
<img class="photo_img" id="photo1" src="fotos/lookbook1.jpg"></div>
<div class="photo" style="width: 256px; background-color: #8d99a2;" align="center">
<img class="photo_img" id="photo2" src="fotos/lookbook/2.jpg"></div>
<div class="photo" style="width: 256px; background-color: #8d99a2;" align="center">
<img class="photo_img" id="photo3" src="fotos/lookbook/3.jpg"></div>

And Then, jQuery like this:
$(".photo").animate({
"right": "+=9999999999"
},{
duration: 200000000000,
easing: 'linear'
});
$(document).ready(function (){
$('.photo_img').mouseover(function(){
$('.photo').stop();
});});

The logic is that:
-> a list of images that go to right eternally, (like jCarousel in infinite mode), but when mouse is over, everything stops. (JCarousel waits until the "next()" function is complete), and when mouse is out, everything moves starting from the point that paused.

View 1 Replies View Related

JQuery :: Ajax Second Load Stops Tinymce?

Apr 22, 2009

We have a page that allows a user to load a form over ajax using jQuery 1.3.2. The form contains a simple table layout, some input boxes, tinymce and the initialize for a jQueryUI dialog. On first load everything works fine. If the user loads the same form again, without refreshing the browser window, TinyMCE no longer shows content, can’t be clicked inside of and the dialog no longer updates it’s content and a few other bits of js stop firing.

Now I thought this was an issue with the page and ajax, but we have another page that uses draggable elements and has a very simple form of 1 input and a submit. If you submit the form and get returned the same page by our validation the same thing happens as with tinymce, you can no longer click inside it.

In ie7 things dont stop responding so much but the browser slows down and almost stops responding.

View 2 Replies View Related







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