Connecting Tech Pros Worldwide Help | Site Map

ie7 and prototype windows

ameshkin
Guest
 
Posts: n/a
#1: Nov 10 '08
Can anyone tell me why the log in link on the top right of http://sickplaylist.com
work in firefox, and not in IE7???
Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a
#2: Nov 11 '08

re: ie7 and prototype windows


ameshkin wrote:
Quote:
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>
RobG
Guest
 
Posts: n/a
#3: Nov 11 '08

re: ie7 and prototype windows


On Nov 11, 5:19*am, ameshkin <amir.mesh...@gmail.comwrote:
Quote:
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
Gregor Kofler
Guest
 
Posts: n/a
#4: Nov 11 '08

re: ie7 and prototype windows


ameshkin meinte:
Quote:
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
Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a
#5: Nov 11 '08

re: ie7 and prototype windows


Gregor Kofler wrote:
Quote:
ameshkin meinte:
Quote:
>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.
Quote:
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
Gregor Kofler
Guest
 
Posts: n/a
#6: Nov 11 '08

re: ie7 and prototype windows


Thomas 'PointedEars' Lahn meinte:
Quote:
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
Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a
#7: Nov 11 '08

re: ie7 and prototype windows


Gregor Kofler wrote:
Quote:
Thomas 'PointedEars' Lahn meinte:
Quote:
>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>
Gregor Kofler
Guest
 
Posts: n/a
#8: Nov 11 '08

re: ie7 and prototype windows


Thomas 'PointedEars' Lahn meinte:
Quote:
Gregor Kofler wrote:
Quote:
>Thomas 'PointedEars' Lahn meinte:
Quote:
>>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
ameshkin
Guest
 
Posts: n/a
#9: Nov 12 '08

re: ie7 and prototype windows


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:
Quote:
ameshkinmeinte:
>
Quote:
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
ameshkin
Guest
 
Posts: n/a
#10: Nov 12 '08

re: ie7 and prototype windows


On Nov 11, 1:49*pm, Gregor Kofler <use...@gregorkofler.atwrote:
Quote:
Thomas 'PointedEars' Lahn meinte:
>
Quote:
Gregor Kofler wrote:
Quote:
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.
>
Quote:
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.



Quote:
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
ameshkin
Guest
 
Posts: n/a
#11: Nov 12 '08

re: ie7 and prototype windows


On Nov 11, 1:49*pm, Gregor Kofler <use...@gregorkofler.atwrote:
Quote:
Thomas 'PointedEars' Lahn meinte:
>
Quote:
Gregor Kofler wrote:
Quote:
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.
>
Quote:
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.



Quote:
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
David Mark
Guest
 
Posts: n/a
#12: Nov 19 '08

re: ie7 and prototype windows


On Nov 12, 4:55*pm, ameshkin <amir.mesh...@gmail.comwrote:
Quote:
On Nov 11, 1:49*pm, Gregor Kofler <use...@gregorkofler.atwrote:Thomas 'PointedEars' Lahn meinte:
>
Quote:
Quote:
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.
>
Quote:
Quote:
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.
Closed Thread


Similar JavaScript / Ajax / DHTML bytes