473,387 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

ie7 and prototype windows

Can anyone tell me why the log in link on the top right of http://sickplaylist.com
work in firefox, and not in IE7???
Nov 10 '08 #1
11 2385
ameshkin wrote:
Can anyone tell me why the log in link on the top right of
http://sickplaylist.com work in firefox, and not in IE7???
Probably because it's using Prototype.js, which is junk.
PointedEars
--
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
-- from <http://www.vortex-webdesign.com/help/hidesource.htm>
Nov 11 '08 #2
On Nov 11, 5:19*am, ameshkin <amir.mesh...@gmail.comwrote:
Can anyone tell me why the log in link on the top right ofhttp://sickplaylist.com
work in firefox, and not in IE7???
Your page has over 3,000 lines of script, plus several thousand more
of included libraries. There are 26 sniffs for IE (not including those
in the libraries, which likely double that).

Consider reading:

<URL: http://jibbering.com/faq/#posting >
--
Rob
Nov 11 '08 #3
ameshkin meinte:
Can anyone tell me why the log in link on the top right of http://sickplaylist.com
work in firefox, and not in IE7???
"missing } after property list"
in sickplaylist.com (line 3320)

Start debugging...
Gregor
Nov 11 '08 #4
Gregor Kofler wrote:
ameshkin meinte:
>Can anyone tell me why the log in link on the top right of http://sickplaylist.com
work in firefox, and not in IE7???

"missing } after property list"
in sickplaylist.com (line 3320)
That indicates someone used

{
property1: value1,
property2: value2,
}

instead of

{
property1: value1,
property2: value2
}

JScript does not support the JavaScript-proprietary ECMAScript extension of
trailing comma.
Start debugging...
Or searching with a RegExp.
PointedEars
--
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee
Nov 11 '08 #5
Thomas 'PointedEars' Lahn meinte:
That indicates someone used

{
property1: value1,
property2: value2,
}

instead of

{
property1: value1,
property2: value2
}

JScript does not support the JavaScript-proprietary ECMAScript extension of
trailing comma.
I know (it did cost me several hours once...), but I get the error in
FF/Firebug. I didn't bother to track down line 3320.

Gregor
Nov 11 '08 #6
Gregor Kofler wrote:
Thomas 'PointedEars' Lahn meinte:
>JScript does not support the JavaScript-proprietary ECMAScript extension of
trailing comma [in Object initializers]

I know (it did cost me several hours once...), but I get the error in
FF/Firebug. I didn't bother to track down line 3320.
One of the nice features of Firebug, though, is that you can click the line
number of the error message, and get to the offending line :) (No offense
meant; *this* junk should better be dumped, of course.)
PointedEars
--
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
-- from <http://www.vortex-webdesign.com/help/hidesource.htm>
Nov 11 '08 #7
Thomas 'PointedEars' Lahn meinte:
Gregor Kofler wrote:
>Thomas 'PointedEars' Lahn meinte:
>>JScript does not support the JavaScript-proprietary ECMAScript extension of
trailing comma [in Object initializers]
I know (it did cost me several hours once...), but I get the error in
FF/Firebug. I didn't bother to track down line 3320.

One of the nice features of Firebug, though, is that you can click the line
number of the error message, and get to the offending line :) (No offense
meant; *this* junk should better be dumped, of course.)
Yes, I know (again). Still, whenever I get errors in script somewhere in
a *HTML* document, with thousands of lines, I don't even bother to do
that. Anyway, *now* I did (no more errors in 3320, but that's what I found):

/*$('login_error_msg').innerHTML='Login or password incorrect';
$('login_error_msg').show();
Windows.focusedWindow.updateHeight();
new Effect.Shake(Windows.focusedWindow.getId());*/
//return false;
//alert('succeess!!!');

Grrrreat.

Gregor
Nov 11 '08 #8
thanks. I actually figured it out before i read this.

Are there any GOOD debugging tools for IE7. Firebug works great for
firefox.

On Nov 11, 12:49*am, Gregor Kofler <use...@gregorkofler.atwrote:
ameshkinmeinte:
Can anyone tell me why the log in link on the top right ofhttp://sickplaylist.com
work in firefox, and not in IE7???

"missing } after property list"
in sickplaylist.com (line 3320)

Start debugging...

Gregor
Nov 12 '08 #9
On Nov 11, 1:49*pm, Gregor Kofler <use...@gregorkofler.atwrote:
Thomas 'PointedEars' Lahn meinte:
Gregor Kofler wrote:
Thomas 'PointedEars' Lahn meinte:
JScript does not support the JavaScript-proprietary ECMAScript extension of
trailing comma [in Object initializers]
I know (it did cost me several hours once...), but I get the error in
FF/Firebug. I didn't bother to track down line 3320.
One of the nice features of Firebug, though, is that you can click the line
number of the error message, and get to the offending line :) *(No offense
meant; *this* junk should better be dumped, of course.)
Thanks guys.

This bug was not caught by firebug...maybe I have my settings off.
But I finally fixed it. Now I'm having trouble with a prototype
function not working for IE7 on another project.
If you go here
http://www.promoventures.com/quotes2/

Click on any item...and then click on submit on the next page, then
you will be taken here
http://www.promoventures.com/quotes2/step-3.php

On this page, clicking on the YES in IE7 will not work. in firefox, it
calls a simple ajax function and works fine. In IE7. There are no
errors, and nothing happens.

Yes, I know (again). Still, whenever I get errors in script somewhere in
a *HTML* document, with thousands of lines, I don't even bother to do
that. Anyway, *now* I did (no more errors in 3320, but that's what I found):

/*$('login_error_msg').innerHTML='Login or password incorrect';
$('login_error_msg').show();
Windows.focusedWindow.updateHeight();
new Effect.Shake(Windows.focusedWindow.getId());*/
//return false;
//alert('succeess!!!');

Grrrreat.

Gregor
Nov 12 '08 #10
On Nov 11, 1:49*pm, Gregor Kofler <use...@gregorkofler.atwrote:
Thomas 'PointedEars' Lahn meinte:
Gregor Kofler wrote:
Thomas 'PointedEars' Lahn meinte:
JScript does not support the JavaScript-proprietary ECMAScript extension of
trailing comma [in Object initializers]
I know (it did cost me several hours once...), but I get the error in
FF/Firebug. I didn't bother to track down line 3320.
One of the nice features of Firebug, though, is that you can click the line
number of the error message, and get to the offending line :) *(No offense
meant; *this* junk should better be dumped, of course.)
Thanks guys.

This bug was not caught by firebug...maybe I have my settings off.
But I finally fixed it. Now I'm having trouble with a prototype
function not working for IE7 on another project.
If you go here
http://www.promoventures.com/quotes2/

Click on any item...and then click on submit on the next page, then
you will be taken here
http://www.promoventures.com/quotes2/step-3.php

On this page, clicking on the YES in IE7 will not work. in firefox, it
calls a simple ajax function and works fine. In IE7. There are no
errors, and nothing happens.

Yes, I know (again). Still, whenever I get errors in script somewhere in
a *HTML* document, with thousands of lines, I don't even bother to do
that. Anyway, *now* I did (no more errors in 3320, but that's what I found):

/*$('login_error_msg').innerHTML='Login or password incorrect';
$('login_error_msg').show();
Windows.focusedWindow.updateHeight();
new Effect.Shake(Windows.focusedWindow.getId());*/
//return false;
//alert('succeess!!!');

Grrrreat.

Gregor
Nov 12 '08 #11
On Nov 12, 4:55*pm, ameshkin <amir.mesh...@gmail.comwrote:
On Nov 11, 1:49*pm, Gregor Kofler <use...@gregorkofler.atwrote:Thomas 'PointedEars' Lahn meinte:
Gregor Kofler wrote:
>Thomas 'PointedEars' Lahn meinte:
>>JScript does not support the JavaScript-proprietary ECMAScript extension of
>>trailing comma [in Object initializers]
>I know (it did cost me several hours once...), but I get the error in
>FF/Firebug. I didn't bother to track down line 3320.
One of the nice features of Firebug, though, is that you can click the line
number of the error message, and get to the offending line :) *(No offense
meant; *this* junk should better be dumped, of course.)

Thanks guys.

This bug was not caught by firebug...maybe I have my settings off.
But I finally fixed it. *Now I'm having trouble with a prototype
function not working for IE7 on another project.
Haven't you figured out that Prototype is a time-waster? You know how
all of those people out there claim that such libraries save you time,
smooth out differences between browsers, etc. Big surprise. They
don't have a clue what they are blithering about.

Remove Prototype from your Web server(s). Learn to write proper
browser scripts, borrowing only from people who know what they are
doing and you will be miles ahead of any Prototype (or jQuery) code-
rearranger (I occasionally see these scripts listed on resumes
alongside JavaScript, CSS, etc. and it is always a red flag.) How
long will it take? Depends, among other things, on your aptitude for
programming. If you have none, then browser scripting is definitely
not for you.
Nov 19 '08 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Elf M. Sternberg | last post by:
One of the complaints about prototype.js (google for it if you're not familiar with it) is that it's poorly documented. I have this inkling that the key to understanding prototype.js is in the...
10
by: Robert | last post by:
Hi, I would like to determine if a property is available in an Event prototype. I tried doing this using: if (Event.prototype.srcElement) but I got an "Illegal operation on WrappedNative...
8
by: Robert | last post by:
Hi, I can use "with" like this: function MyObject(message) { this.message = message; } function _MyObject_speak() {
4
by: lkrubner | last post by:
I'm reading an essay, I think one of Crockford's, and it has this example in it: function Demo() { } Demo.prototype = new Ancestor(); Demo.prototype.foo = function () { } ; Does Ancestor now...
21
by: Doug Lerner | last post by:
I'm working on a client/server app that seems to work fine in OS Firefox and Windows IE and Firefox. However, in OS X Safari, although the UI/communications themselves work fine, if the...
6
by: libsfan01 | last post by:
Hi all Im trying to use prototype for an xmlhttprequest, but it doesn't seem to be working cross-browser. Is there someway of getting it to be IE6 compatible (active x)? here's my code so...
3
by: June Lee | last post by:
Is that for Class/Object function prototype, I must define the function in header file or .cpp file. MyClass::functionA(); MyClass::functionB(); but for C function prototype, I don't have to...
83
by: liketofindoutwhy | last post by:
I am learning more and more Prototype and Script.aculo.us and got the Bungee book... and wonder if I should get some books on jQuery (jQuery in Action, and Learning jQuery) and start learning about...
4
by: vshenoy | last post by:
Hi Guys, I was going through gdbm-1.8.3 source (http://ftp.gnu.org/gnu/gdbm/ gdbm-1.8.3.tar.gz) and found this strange thing : all the exposed functions of gdbm work with GDBM_FILE pointer...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.