Closed
Bug 264029
Opened 21 years ago
Closed 18 years ago
freeflatscreens.com - JavaScript functions not found whereas .js files are present
Categories
(Tech Evangelism Graveyard :: English US, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: maxxyme, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113
Some javascript functions are told to be not found, whereas the .js file which
contains them, is linked in the HTML source code, with standard <script> tags.
Reproducible: Always
Steps to Reproduce:
1. Go http://www.freeflatscreens.com/
2. Scroll page to the bottom.
3. Click on the "Terms & Conditions" and "Privacy Policy" links.
Actual Results:
Errors displayed in the JavaScript console:
Error: OpenTerms is not defined
Source File: javascript:OpenTerms()
Line: 1
Error: OpenPrivacy is not defined
Source File: javascript:OpenPrivacy()
Line: 1
Expected Results:
Popups should have been opened, and no JavaScript errors should have occured.
The two JavaScript functions which are OpenTerms() and OpenPrivacy() are located
in the Content/7/Scripts/Opens.js file
URL: http://www.freeflatscreens.com/Content/7/Scripts/Opens.js
Well, there is also twice in the HTML code a reference to this .js file.
At the beginning, line 29:
<script language="jscript" src="Content/7/Scripts/Opens.js"></script>
Quite at the end, line 215:
<script language="jscript" src="/Content/7/Scripts/Opens.js"></script>
You can see that the 2nd reference has a trailing "/" at the beginning of the
.js file URL, but i don't think this is the cause of the problem.
Comment 1•21 years ago
|
||
Conforming summary to TFM item 10 at
http://www.mozilla.org/projects/tech-evangelism/site/procedures.html#file-new
Reporter, when you file a TE bug, please follow the reporting guidelines.
Summary: JavaScript functions not found whereas .js files are present → freeflatscreens.com - JavaScript functions not found whereas .js files are present
The website does not exist anymore.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
Updated•10 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•