Announcement

Collapse
No announcement yet.

[object window] javascript error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [object window] javascript error

    I recently rebuilt this site: filmposter.com
    which got lost when the owners PC hard-drive went down .

    Anyway, when I rebuilt the site I used the pop up script for the product images which was put forward to me by NormanRouxel here: http://community.actinic.com/showthr...=&threadid=330

    But with the new site I keep getting Object errors. Its a silly thing, but any help would be very helpful.

    Cheers

    #2
    You seem to have a New Line between "'ActPopup'," and "'width=400,height.....". JavaScript can interpret new lines as end of statements so that's what's breaking the page. Make sure that all this is on a single line in Design / Text. See the dump of some generated text below:-

    Code:
    <A HREF="javascript:window.open('http://www.filmposter.com/cgi-bin/picture_frame.pl?nuttyprofessorbelgium.jpg', 'ActPopup',
    'width=400,height=450,scrollbars,resizable')"><IMG SRC="nuttyprofessorbelgium(s).JPG" ALT="Nutty professor " BORDER=0 HEIGHT=125 WIDTH=94 ></A>
    Norman
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment

    Working...
    X