![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2020
Device: tablet
|
Guidance on using Sigil
Hi,
Really interested to get a depth information regarding on using Sigil especially on how to integrate Javascript... Thank you. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,465
Karma: 239219453
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Hello and welcome to MobileRead!
Please use the report button under your username (on the right side of the karma button) and ask the moderators to move your post to the Sigil subforum: https://www.mobileread.com/forums/fo...play.php?f=203 |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,935
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Moved.
|
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,727
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
What do you want to use JavaScript for? |
|
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2020
Device: tablet
|
Quote:
I did Javascript in external file (Misc folder) and put the name of the script file in the src (source) attribute of a <script> tag: <script src="/Misc/myScript.js"></script> However, it did not work.. Thank you. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,727
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
Code:
<body onload="myFunction()"> Epub1 Epub2 However, before you spend more time on this, you might want to consider the fact that only a handful of epub3 apps actually support JavaScript. |
||
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,568
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
I would think you'd need to provide a src path that is relative to the location of the html file the script tag is a part of. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Guidance with library | Tadario | Library Management | 6 | 07-13-2016 05:28 PM |
Recipe request (or guidance) | tavegyl | Recipes | 2 | 07-19-2014 04:26 AM |
Need guidance | tidegirl | Which one should I buy? | 12 | 03-26-2014 11:11 AM |
New to Linux, need some guidance! | KindleMan | Sony Reader Dev Corner | 6 | 03-10-2008 11:53 AM |
Guidance needed | Tom Storer | Which one should I buy? | 7 | 12-03-2007 02:09 AM |