09-06-2017, 03:01 AM | #1 |
Connoisseur
Posts: 64
Karma: 10
Join Date: Sep 2015
Location: Yerevan, Armenia
Device: none
|
inequality signs in script section
Is there a way to use the inequality signs like " > < " and like " & && " directly in the <script> section of the XHTML file in the Sigil?
With a very short function and an array of just 50-70 words - it is more easy for me to work directly with each smal xhtml file, not with separate JS file or files. PS. Also, you have often to restart the program, after making changes in JS file. Otherwise, the changes do not work even after saving. |
09-06-2017, 07:03 AM | #2 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
|
Advert | |
|
09-06-2017, 07:24 AM | #3 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You should also be able to use CDATA tags if you want to use literal expressions that contain invalid xml characters.
Code:
<script type="text/javascript"> //<![CDATA[ if (hour < 18) { greeting = "Good day"; } //]]> </script> |
09-09-2017, 05:04 PM | #4 |
Connoisseur
Posts: 64
Karma: 10
Join Date: Sep 2015
Location: Yerevan, Armenia
Device: none
|
Thanks a lot.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free (ADE-DRM) The Political Origins of Inequality [Globalization & Economic History] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 2 | 06-30-2017 03:22 AM |
Signs of conversion | Kumabjorn | Amazon Kindle | 4 | 09-19-2011 12:15 PM |
Unutterably Silly Funny Signs | radioflyertoo | Lounge | 45 | 09-24-2008 12:05 PM |