[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 331
  • Last Modified:

Javascript error in homepage

When I load this page http://alturl.com/g8b3 in IE7 I get a Javascript error about "ZeroClipboard", while in Firefox I notice no problem.

What cause the problem in IE7?
0
lucavilla
Asked:
lucavilla
  • 5
  • 5
1 Solution
 
erikTsomikSystem Architect, CF programmer Commented:
the error occurs on line 919
where ZeroClipBoard
Is undefined.
So what you can do is to get the browser source code and find that line maybe that name is no longer being used
0
 
lucavillaAuthor Commented:
The problem is that the source code (the PHP file) has only 654 lines...
0
 
erikTsomikSystem Architect, CF programmer Commented:
when you run the app in the browser right clik and select Sourse code and go to line 919
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
lucavillaAuthor Commented:
> browser right clik and select Sourse code

I did it and I see only 702 lines.   Why?
0
 
gaston_acevedoCommented:
in the included script-get.js, line 918 you try to use the object ZeroClipboard, but the include of  <script type="text/javascript" src="ZeroClipboard.js"></script>
is missing in the main page.

Add this include (and of course the js file) to the page before
<script type="text/javascript" src="script-get.js"></script>
0
 
erikTsomikSystem Architect, CF programmer Commented:
can you post that code
0
 
lucavillaAuthor Commented:
right! thanks!
0
 
erikTsomikSystem Architect, CF programmer Commented:
i should have got some partial points too
0
 
lucavillaAuthor Commented:
erikTsomik, following your instructions I only see 702 lines
0
 
erikTsomikSystem Architect, CF programmer Commented:
you did not say that you do have external js files
0
 
lucavillaAuthor Commented:
I didn't know that it counts them too
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now