eBook authors eBook Software - create and publish your own ebooks
Create your own eBooks
Learn How To Create, Publish & Market E-Books
E-Book Creation Software
Add sophisticated multimedia to your E-Books
Create E-Book covers in minutes
E-Book Marketing & Promotion made easy
Search engine for E-Books
Interviews with eBook authors
Tools for building better eBooks
Archived Message:

Quote Mark Syntax

TSEROOGY What is the proper syntax for including single or double quote marks within a messagbox string?

Familiar with some scripting languages, but not Activ Script.

Whenever I use a single or double quote within a string for a messagebox, I receive a syntax error.

Best regards,

Posted on: 4:42 pm on December 14, 2004
Alaska Are you asking about the MESSAGEBOX syntax itself, or perhaps adding quote marks to the displayed message?

The basic syntax is:

< A HREF="##MESSAGEBOX('Roger says Hi!')">Click Here< /A>

 To add a quote mark (or whatever) to the message itself, you'll need to use the HTML equivalents:

< A HREF="##MESSAGEBOX('Roger says &quot;Hi!&quot;')">Click Here< /A>

best -

(Edited by Alaska at 8:44 am on Dec. 14, 2004)

Posted on: 5:40 pm on December 14, 2004

Want to include the quotes within the string. That's where I've been having the problems. I knew the cause, but wasn't sure as to the solution.

Best regards,

PS - Thanks for all the help you've been, recently. Don't they let you sleep?

Posted on: 6:35 pm on December 14, 2004
Tried your suggestion. Works great when running the Messagebox and string from the HTML page included in the ebook.

However, I'm running several routines through script files that are included with the ebook and this technique does not work.

I suppose I can create a workaround - using JavaScript to pass the strings as variables??? Or assigning all of the strings to an Activ Variable???

More work, but may be the only way?

Any suggestions.


Posted on: 8:12 pm on December 14, 2004
Alaska  I would have to muddle my way through the ebook script to see what wasn't working - not sure without seeing it.

 An easy alternative is to use JavaScript's alert() function.  One can use quotes there if you escape (\) them first (add the escape symbol before the quote).

 Nope, no rest for the weary.....

 best -

Posted on: 8:30 pm on December 14, 2004
TSEROOGY No problem. I'm fairly strong at JavaScript - so the escape thing is no problem.

Again, thanks.

Posted on: 8:40 pm on December 14, 2004
EBookCompiler Try this

[A HREF="##MESSAGEBOX('Here is a quote {quote}, here{quote}s another one {quote}, and a few more {quote}{quote}{quote}{quote}'"]Click Here[/A]

Change [ and ] to less-than and greater-than signs

Posted on: 5:51 am on December 20, 2004
TSEROOGY Thank you, Sunil,
Will give it a try.

Best regards,

Posted on: 8:16 am on December 20, 2004

List All Archived Forums

Copyright © 2000-2018, Answers 2000 Limited.

With any business, it is up to the individual owner of said business to ensure the success of the business. You may make more or less than any sample figures or results that might be quoted on our web sites or other publications. All business involves risk, and many businesses do not succeed. Further, Answers 2000 Limited does NOT represent that any particular individual or business is typical, or that any results or experiences achieved by any particular individual/business is necessarily typical.

Disclosure: Our company's websites' content (including this website's content) includes advertisements for our own company's websites, products, and services, and for other organization's websites, products, and services. In the case of links to other organization's websites, our company may receive a payment, (1) if you purchase products or services, or (2) if you sign-up for third party offers, after following links from this website. Unless specifically otherwise stated, information about other organization's products and services, is based on information provided by that organization, the product/service vendor, and/or publicly available information - and should not be taken to mean that we have used the product/service in question. Additionally, our company's websites contain some adverts which we are paid to display, but whose content is not selected by us, such as Google AdSense ads. For more detailed information, please see Advertising/Endorsements Disclosures

Our sites use cookies, some of which may already be set on your computer. Use of our site constitutes consent for this. For details, please see Privacy.

Click privacy for information about our company's privacy, data collection and data retention policies, and your rights.

Contact Us    About and Terms Of Use    Privacy    Advertising/Endorsements Disclosures