Welcome to TalkGraphics.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2007
    Location
    Sunshine Coast BC, Canada. In a beautiful part of BC's temperate rainforest
    Posts
    9,864

    Exclamation need help with this script!

    I have this script working on my own site goodmorningsunshine.ca but I am trying to use the same script on a site for a client, and they wanted to change the random sayings displayed.

    For some reason that I can't find the script now won't work after I changed the sayings?? Any help would be much appreciated I need to get this site done ASAP!

    Here is a link to the original script http://www.javascriptkit.com/script/...2/ponder.shtml

    attached is my altered script and the .xar file
    ponder.zip
    bestfriends.xar
    [SIGPIC][/SIGPIC]
    My current Xara software: Designer Pro 365 12.6

    Good Morning Sunshine.ca | Good Morning Sunshine Online(a weekly humorous publication created with XDP and exported as a web document) | Angelize Online resource shop | My Video Tutorials | My DropBox |
    Autocorrect: It can be your worst enema.

  2. #2
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: need help with this script!

    Frances take a very close look at your new quotes text. Many of the quotes use a ` character rather than the ' character. javascript will not recognize the text correctly.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	winmerge_ponder-original-text_ponder-changes.png 
Views:	82 
Size:	26.3 KB 
ID:	85078  
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  3. #3
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: need help with this script!

    Frances also check for missing backslashes where an apostrophy is used within the text. The backslash is used to make an escape sequence so the apostrophy is output in the text instead of being used to delimit the text within a quote.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  4. #4
    Join Date
    Mar 2011
    Posts
    14

    Default Re: need help with this script!

    Corrected / checked.
    Attached Files Attached Files

  5. #5
    Join Date
    Dec 2007
    Location
    Sunshine Coast BC, Canada. In a beautiful part of BC's temperate rainforest
    Posts
    9,864

    Default Re: need help with this script!

    Thank you Bill, and Blekk. Bill your explanation is great because it helps me learn from it. And thank you blekk you have saved me some time and as I am behind schedule today that is great!
    [SIGPIC][/SIGPIC]
    My current Xara software: Designer Pro 365 12.6

    Good Morning Sunshine.ca | Good Morning Sunshine Online(a weekly humorous publication created with XDP and exported as a web document) | Angelize Online resource shop | My Video Tutorials | My DropBox |
    Autocorrect: It can be your worst enema.

 

 

Bookmarks

Posting Permissions

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