Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Java Pop ups - not...

    Strange goings on this Halloween... my brother and I have been working on a site (marthasyard.com) I am a novice who just gets by in FrontPage, he tried editing a page in notepad, first something simple then something more simple- and finally just changing one letter of text, whenever he uploaded the page the JavaScript pop ups would not load... ever! Can anyone shed some light on this, many thanks -Bill

  • #2
    Regular Coder
    Join Date
    Aug 2002
    Location
    USA
    Posts
    625
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ...not without the code, Bill.



    -james
    Last edited by jamescover; 10-31-2004 at 10:43 PM.
    "God so loved the world that he gave his only begotten son, so that whosoever believed in him would not perish, but have everlasting life. For God did not send his son into the world to condemn the world, but so that through him the world might be saved. "

  • #3
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,079
    Thanks
    203
    Thanked 2,542 Times in 2,520 Posts
    A guess is that a carriage return has got into the text. JavaScript does not like

    document.write ("hel
    lo")

    or something similar.

    You may have word wrap turned off in Notepad so a carriage return is
    put in at each line break.

    I expect you know that the slightest syntax error in a script will prevent your Javascripts from working. It must be right - not nearly right!

    Hope this helps.
    Last edited by Philip M; 11-01-2004 at 07:48 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •