HighDots Forums  

Javascript newbie question...

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss Javascript newbie question... in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rhonda
 
Posts: n/a

Default Javascript newbie question... - 06-27-2005 , 11:06 AM






I'm trying to use a simple script to open a web page size-to-fit pop-up
window for use with a pictures, etc.
I'm trying to use
http://javascript.internet.com/page-...le-pop-up.html but
I get the following errors:

Error #1
Line: 1
Char: 1
Error: Object Expected
Code: 0
URL: file //C:\poptest.htm

Error #2
Line: 18
Char: 21
Error: Expected ")"
Code: 0
URL: file://C:\poptest.htm

My problem is, I'm not sure where to place my imagefile.jpg name. How is
line #18 determined? do line numbers include comment lines?
Thanks Any help appreciated.



Reply With Quote
  #2  
Old   
mscir
 
Posts: n/a

Default Re: Javascript newbie question... - 06-29-2005 , 11:51 PM






Rhonda wrote:

Quote:
I'm trying to use a simple script to open a web page size-to-fit pop-up
window for use with a pictures, etc.
I'm trying to use
http://javascript.internet.com/page-...le-pop-up.html but
I get the following errors:

Error #1
Line: 1
Char: 1
Error: Object Expected
Code: 0
URL: file //C:\poptest.htm

Error #2
Line: 18
Char: 21
Error: Expected ")"
Code: 0
URL: file://C:\poptest.htm

My problem is, I'm not sure where to place my imagefile.jpg name. How is
line #18 determined? do line numbers include comment lines?
Thanks Any help appreciated.
Post the code you're using.
Mike


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.