Jump to content

Javascript Errors


Guest imjesus

Recommended Posts

Guest imjesus

Hi,

I was modifying my store today, graphically, mainly the viewprod.tpl & viewcat.tpl files in the KitaBlue skin.

It is worth noting I also installed the 'Better Order confirmation & dispatch emails' mod, which seems to work well.

The website address is http://www.evolution-slimming.com/store/

The problem is that there are yellow exclamation marks ('Error on Page') showing up in the status bar of IE7, after adding an item to the basket.

When clicking on these errors for more information, I get the following:

error1.jpg

...which is leaving me confused as I'm not sure where the error lies or where I can fix it! It happens on all computers, too.

The 'Error on page' also shows when viewing orders in the admin section:

error2.jpg

These errors don't seem to affect any performance, Can anybody help? Any help is very much appreciated!

Link to comment
Share on other sites

Guest imjesus

Hi, my IE7 debugging wasn't enabled.... but if I enabled it, it seemed to show me the error was with this section of the 'jslibrary.js' file, if this helps!?

function flash(flashes) {

	var targetBtn = findObj('flashBasket');

	if (flashes<=0) return;

	if ((flashes%2) == 0) {

	} else {

 		targetBtn.className="txtviewCart";					   <---- ERROR IS HERE!

	}

	setTimeout("flash("+(flashes-1)+")", 300);

	return;

}

Thanks in advance!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...