Website Crash In IE When Fading / Why Is This?

Apr 7, 2009

My site works fine in Firefox, but it crashes in IE.

I am using alot of jQuery in order to fade in content. When the user clicks on one of the above links a few times, it will crash in IE.

Here is my site code...
I have absolutely no idea why the site crashes in IE. I don't even know where to begin to debug my problem. I don't have Visual Studio on my computer, but on my friends computer Visual Studio reads a message of An unhandled win32 exception occurred in iexplore.exe[####]

View 1 Replies


ADVERTISEMENT

DeleteRow Causes Netscape 7 To Crash - Why ?

Jul 20, 2005

I am trying to get a dynamic table going. You click a button to add a
row. In the newly created row a button to delete the row is placed
(try the code example below). In Netscape, pressing the delete row
button crashes the browser. Why ? What is the correct way to do this ?

I am stumped why this following code works in IE and Opera but crashes
Netscape 7 (ie makes it disappear and try to send a bug report etc).

Any help would be much appreciated.

Copy and save the following code example and try running in Netscape 7
(or Mozilla 1.4) . It works fine in IE 6 and Opera 7. I've tried all
sorts of tweaking around but to no avail.

I need some expert help. Perhaps suggest the correct or other better
way of implementing this.


Here's the code:

View 2 Replies View Related

Need A Crash Course In Script For Exam Purposes

Dec 13, 2009

I need to understand Javascript in the simplest, quickest possible way like ASAP.

This is my first time here, so I am not so sure how this work.

View 1 Replies View Related

SetTimeout Causing Browser To Crash?

Aug 2, 2011

I'm writing some code so that my comments section automatically updates every 10 seconds. The code i wrote does update it but sends off about 40 request every 10 seconds until it eventually crashes the browser.

[Code]...

View 2 Replies View Related

Javascript/html Popup Crash Firefox?

Jul 28, 2005

I'm having some trouble implementing a popup in firefox. I attached some
simplified code at the bottom. This is part of a firefox extension. What
happens is that a popup window is created, the popup window updates it's
data depending on what is shown on the main window. The problem comes when i
click the 'X' to close the popup window. it crashes firefox, and closes all
firefox windows. can somebody help me with this? why does this happen? I'm
99% sure the error comes from the form in the html code.

window.getNode = function (t)
{//stuff}

window.printNode = function (node)
{//stuff}

window.updateWindow = function (num, tag, inner) {
outputWindow.document.outputForm.nodeNum.value = num;
outputWindow.document.outputForm.nodeTag.value = tag;
outputWindow.document.outputForm.innerHTML.value = inner;
}

//popup
window.outputWindow = window.open('', 'outwindow', 'width=500,height=500');

//add contents to window
outputWindow.document.write("<html><body><form name='outputForm'>Node
number:<input type=text size=20 name='nodeNum' value=''><br>Node tag:<input
type=text size=10 name='nodeTag' value=''><br>Inner HTML:<input type=text
size=50 name='innerHTML' value=''></form></body></html>");

document.onmouseover = getNode;

View 3 Replies View Related

Window.open Methods Causes My Script Crash In Internet Explorer

Oct 25, 2005

I'm using window.open method in my script to open poup window. Recently
Internet Explorer users reported that the script crashes on their
machine with different runtime errors.

See the bug:

View 6 Replies View Related

HTML5 Database Insert Statement Makes Browser Crash

Nov 1, 2010

I have this table:CREATE TABLE IF NOT EXISTS Assignments (uid TEXT PRIMARY KEY ON CONFLICT REPLACE, instruction TEXT, start TEXT, stop TEXT, createdTimestamp TEXT, theTimestamp TEXT, taskID TEXT, resID TEXT, flowID TEXT, flowDefID TEXT, currentState TEXT, iconRef TEXT, colorRef TEXT, dispatched BOOLEAN, inStartState INTEGER, inStopState INTEGER, writeLock INTEGER, workItemID TEXT, companyID TEXT, metadata INTEGER)

The thing is that when making a insert and then going to the development toolbar in chrome and look at the storage tab and look at my table. Depending on what is in the table chrome crashes.I drop the table between the executions.The difference here is that "theTimestamp" is something rather then empty. If I set theTimestamp to '10/15/10 3:07 P' it works. But just adding that last M or any other letter will make chrome crash when you try to look at the table. Whether it is by navigating to the table with mouse clicks or writing a select * from Assignments statement.

View 6 Replies View Related

Stop Memory Leaks - Extension Tend To Crash When There Is No Internet Connection

Dec 4, 2010

The problem is, the extension tend to crash when there is no internet connection, and sometimes, the http requests fail to communicate with gmail server, they got built up over time and end up flooding the memory.

[Code]...

View 4 Replies View Related

JQuery :: Multiselect Plugin - Speed - Lags When Have Multiple Instances - Crash The Browser In Some Cases

Feb 28, 2010

I am having some issues using jQuery multi-select, it works fine but really lags when I have multiple instances (can crash the browser in some cases) am using jQuery 1.3 & jQuery 1.7 as the demo (have tried updating to the newer versions but problems persists)

I am using the following [url]

Does anyone have any idea to speed this up, or an alternative plugin that works a little better?

View 1 Replies View Related

Files In Website Are Constantly Getting Injected With Malicious Codes Which Redirects Website?

Jan 28, 2010

The javascripts files in my website are constantly getting injected with malicious codes which redirects my website

View 2 Replies View Related

Code A Feature For Website Using DHTML Where The Person Viewing The Website?

Dec 29, 2005

I'm trying to code a feature for my website using DHTML where the person viewing the website can rotate between viewing the positive/negative points of the website being reviewed. This example was in the publication called Using HTML 4 by Lee Anne Phillips. Code:

View 5 Replies View Related

JQuery :: Ajax Program On Website A Call Website B?

Nov 30, 2010

I have a ajax program on a page on website A. And I need to let it talk to a program on website B. I tried to put website B into the url of the parameter but it doesn't work.It gives me a "[objet XMLHttpRequest]" error.here is the code on website A:

[Code]...

View 1 Replies View Related

Allow A User Of A Website To Add A Poll To The Website

Apr 27, 2010

Suppose I want to allow a user of a website to add a poll to the website for everyone to see/vote on. How exactly would I write a script for that?

View 8 Replies View Related

Putting Part Of Another Website On Another Website?

Nov 17, 2009

I have a webpage and i want to put a section of another website on to my own website..

The Section i want to put on my website is on this page www.bebo.com/thegaadiscos and i only want to put the section with the comments on it...

What i want is a bit like the face book section of this website [URL]

View 4 Replies View Related

Fading A Layer. Is This Possible?

Jul 23, 2005

I am trying to make a banner the size of the with of my screeen, in
a layer.

BUt I also want to fade it to a complete transperency to reveal the contents
of what's behind it (my page ofcourse) and possible close or hide the faded
layer.

I've seen stuff like that happen in a flash everonment. I was thinking about
using a transition at first to go from one page to another with an
introductory page.

But I rather have everything on one page and just fade the introdutory layer
into the page. Is that too much work for jscript?

View 2 Replies View Related

JQuery :: Fading In A Div?

Jul 29, 2010

I have a problem and I just cannot figure out what is wrong. I want to show news on a page and to fade them in. I am using jQuery AJAX to pull out the news from a MySQL database. Here is the code (I will explain what the exact problem is in the code):

[Code]...

View 4 Replies View Related

Fading Ticker

Aug 9, 2002

This is a Fading Javascript Ticker that can tick any number of messages. The Ticking message fades in while being displayed.

<!--BEGIN FADING TICKER JAVASCRIPT-->
<script language="JavaScript1.2">

// Fading Ticker JavaScript
// © Premshree Pillai
// http://www.qiksearch.com

//--------------------------------------CUTOMISE----------------------------------------------

// Ticker Messages ( HTML Tags supported)
var qiksearch_ticker_text = new Array ("Qiksearch.com", "FREE JavaScripts by Premshree Pillai", "Articles by Premshree Pillai", "Intellisearch Bar FREE Download");

// Ticker Message URLs
var qiksearch_ticker_URL = new Array ("http://www.qiksearch.com", "http://www.qiksearch.com/javascripts.htm", "http://www.qiksearch.com/articles.htm", "http://www.qiksearch.com/intellisearch.htm");

// Ticker Message URLs' Target (1 for NEW WINDOW, 0 for SAME WINDOW)
var qiksearch_ticker_target = new Array ("0", "0", "0", "1");

var qiksearch_ticker_width = 390; // The width of the Ticker
var qiksearch_ticker_height = 25; // The height of the Ticker
var qiksearch_ticker_borderw=1; // Border width
var qiksearch_ticker_borderc="#808080"; // Border Color
var timeOutVal=200; // Delay in milliseconds
var isPause=false; // true if you want pause on mouseover, else false
// setting to true is a bit buggy

//--------------------------------------------------------------------------------------------

//-----------------------------DO-NOT-MODIFY-BELOW-THIS---------------------------------------

var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1;
var ns6=document.getElementById&&navigator.userAgent.indexOf("Opera")==-1;
var ns4=document.layers;
var qiksearch_tickerObj;
var ticker_left_ns4=(screen.width/2-20)-Math.round(qiksearch_ticker_width/2);

// Setting qiksearch_tickerObj depending on Browser
function setTickerObj()
{
if(ie4)
{
qiksearch_tickerObj=document.all.qiksearch_js_ticker;
}
if(ns6)
{
qiksearch_tickerObj=document.getElementById("qiksearch_js_ticker");
}
}

// isPause Content
var isPauseContent;
if(isPause)
{
isPauseContent=' onMouseOver="delay_timeOutVal();" onMouseOut="resume_timeOutVal();"'
}
else
{
isPauseContent=''
}

if(ie4||ns6)
{
document.write('<table' + isPauseContent + ' onMouseUp="goURL();" width="' + qiksearch_ticker_width + '" height="' + qiksearch_ticker_height + '" style="cursor:pointer; background:#FFFFFF; border:' + qiksearch_ticker_borderw + 'px solid ' + qiksearch_ticker_borderc + '"><tr><td align="middle">');
document.write('<div id="qiksearch_js_ticker">');
document.write('</div>');
document.write('</td></tr></table>');
}

var def_10='A',def_11='B',def_12='C',def_13='D',def_14='E',def_15='F'
var colorVal=15;
var div_count=0;

// Fading Color code Generating function
function qiksearch_fade_desat(getColorIntVal)
{
var returnVal;
if(getColorIntVal>=10)
{
for(var i=0; i<=15; i++)
{
if((getColorIntVal==i))
{
returnVal = eval('def_' + i);
}
}
}
else
{
returnVal=getColorIntVal;
}
return(returnVal);
}

// Main
function writeDiv()
{
if(ie4||ns6)
{
qiksearch_tickerObj.innerHTML= '<font face="verdana,arial,helvetica" size="-1" color="#' + joinColor(qiksearch_fade_desat(colorVal)) + '"><b>' + qiksearch_ticker_text[div_count] + '</b></font>' ;
}
if(ns4)
{
qiksearch_tickerObj=document.qiksearch_ticker_ns4;
qiksearch_tickerObj.document.write('<table border="1" bordercolor="' + qiksearch_ticker_borderc + '"width="100%"><tr><td align="center"><a href="javascript:void(0);"' + isPauseContent + ' onMouseUp="javascript:goURL();"><font face="verdana,arial,helvetica" size="-1" color="#' + joinColor(qiksearch_fade_desat(colorVal)) + '"><b>' + qiksearch_ticker_text[div_count] + '</b></font></a></td></tr></table>');
qiksearch_tickerObj.document.close();
}
if((colorVal>0) && (colorVal!=0))
{
colorVal--;
}
else
{
colorVal=15;
if(div_count<qiksearch_ticker_text.length)
{
div_count++;
}
if(div_count==qiksearch_ticker_text.length)
{
setTimeout("resetAll()",timeOutVal);
setTimeout("writeDiv()",timeOutVal);
}
}

if(div_count<qiksearch_ticker_text.length)
{
setTimeout("writeDiv()",timeOutVal);
}
}

// Generating Final Hex Color
function joinColor(getColor)
{
return (getColor + &#390;' + getColor + &#390;' + getColor + &#390;');
}

// Reset
function resetAll()
{
div_count=0;
colorVal=15;
}

// URL Navigation function
function goURL()
{
if(qiksearch_ticker_target[div_count]=="0")
{
location.href=qiksearch_ticker_URL[div_count];
}
else
{
if(qiksearch_ticker_target[div_count]=="1")
{
window.open(qiksearch_ticker_URL[div_count]);
}
}
}

// Setting Delay on MouseOver and MouseOut
var temp_timeOutVal=timeOutVal;
function delay_timeOutVal()
{
timeOutVal=100000000000000;
setTimeout("writeDiv()",timeOutVal);
}

function resume_timeOutVal()
{
timeOutVal=temp_timeOutVal;
setTimeout("writeDiv()",timeOutVal);
}

setTickerObj();
window.onload=writeDiv;

if(ns4)
{
document.write('<layer id="qiksearch_ticker_ns4" width="' + qiksearch_ticker_width + '" left="' + ticker_left_ns4 + '"></layer>');
}
</script>
<!--END FADING TICKER JAVASCRIPT-->

View 1 Replies View Related

Fading Out Effect

Sep 20, 2005

If you ever tried to log out from this forum the screen will gray itself.

View 2 Replies View Related

Fading To Background

Jan 17, 2007

I need to be able to click on an image and then when its selected/clicked, it kind of goes lighter. Maybe fade from a dull image to a lighter version. Is this easy enough to do in Javascript.

View 5 Replies View Related

JQuery :: Fading In A (timed Out) Div?

Nov 16, 2010

I'm looking voor the right syntax to fade in a div. So far I only found syntaxes that deal with button actions but I just want to fade in the div after a few seconds. How do I set that up? Switch off visibility with css and then?

View 2 Replies View Related

JQuery :: Fading Things In And Out?

Dec 31, 2011

i have a problem with fading things in and out using jquery. Please check it out.THe problem is that sometimes the fading in happens before the fading out. What can be done to fix it?

[Code]...

View 12 Replies View Related

Fading DIV Background Image?

Feb 4, 2010

How am I able to have a gallery of images fading in and out as the background of a DIV? It's currently just a static background using CSS.You can view the HTML page in question here: http://aksdesigns.co.uk/temp/template.html

The DIV container is the one with the ID of #MainContent

#MainContent {
width: 980px;
height: 550px;[code].....

It probably couldn't be done using CSS be how could I achieve this with Javascript?

View 1 Replies View Related

Fading Background Images ?

Feb 22, 2010

I've prepared the following page: [url]

But I would prefer the background images to fade in and out rather than change abruptly. I've spent hours searching for appropriate code, but have met a dead end so far.

Incidentally, I presume that the delay before the first background image appears is because of all the images pre-loading. Can anyone suggest a way to immediately display the first image?

View 2 Replies View Related

Color Fading Function

Aug 22, 2002

I used to use this function in text fading routines (tooltips/message tickers) but now I tend to use opacity (which is not compatible with all browsers but I find it more flexible as it allows images, URLs any style sheets). The function returns a color "between" 2 colors.

/***********************************************
*
* Function : getColor
*
* Parameters :start - the start color (in the form "RRGGBB" e.g. "FF00AC")
*end - the end color (in the form "RRGGBB" e.g. "FF00AC")
*percent - the percent (0-100) of the fade between start & end
*
* returns : color in the form "#RRGGBB" e.g. "#FA13CE"
*
* Description : This is a utility function. Given a start and end color and
* a percentage fade it returns a color in between the 2 colors
*
* Author : www.JavaScript-FX.com
*
*************************************************/
function getColor(start, end, percent)
{
var r1=hex2dec(start.slice(0,2));
var g1=hex2dec(start.slice(2,4));
var b1=hex2dec(start.slice(4,6));

var r2=hex2dec(end.slice(0,2));
var g2=hex2dec(end.slice(2,4));
var b2=hex2dec(end.slice(4,6));

var pc = percent/100;

r= Math.floor(r1+(pc*(r2-r1)) + .5);
g= Math.floor(g1+(pc*(g2-g1)) + .5);
b= Math.floor(b1+(pc*(b2-b1)) + .5);

return("#" + dec2hex(r) + dec2hex(g) + dec2hex(b));
}

/*** These are the simplest HEX/DEC conversion routines I could come up with ***/
/*** I have seen a lot of fade routines that seem to make this a ***/
/*** very complex task. I am sure somene else must've had this idea ***/

var hexDigit=new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F");
function dec2hex(dec){return(hexDigit[dec>>4]+hexDigit[dec&15]);}
function hex2dec(hex){return(parseInt(hex,16))}
/************************************************/

View 10 Replies View Related

Fading Div Background To New Image?

Dec 8, 2010

im working on a photography website and the middle section i have set as an image that i want to rotate... and i decided to make my own rotating image because the best it looked was when the image was set to a div. i already have the switching of the div background working but i was wondering if there is anyway to fade in/out the background to a new image?

View 2 Replies View Related

Fading Images Without Flash

Oct 23, 2006

I want to fade about 5 images between each other in a loop, can I do this without Flash?

View 2 Replies View Related







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