![]() |
#3526 | |
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
Quote:
PS Strange way to style href link, by the way. The same can be achieved by using: a { font-weight: bold; } |
|
![]() |
![]() |
![]() |
#3527 |
Member
![]() Posts: 17
Karma: 10
Join Date: Jun 2011
Device: Sony PRS 505
|
Thanks for answer.
Styles like that are on the original site. |
![]() |
![]() |
Advert | |
|
![]() |
#3528 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
|
|
![]() |
![]() |
![]() |
#3529 | |
Wannabe Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 426
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
|
Quote:
ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods ("."). Cheers, Simon. |
|
![]() |
![]() |
![]() |
#3530 |
Member
![]() Posts: 17
Karma: 10
Join Date: Jun 2011
Device: Sony PRS 505
|
Thanks! Indeed, the key was letter as a 1st char in anchor.
|
![]() |
![]() |
Advert | |
|
![]() |
#3531 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
|
Questions:
1) I try to make the book-size-symbol switching on/off. This Code:
model.container.sandbox.STATUS_GROUP.sandbox.STATUS_GROUP_SUB.sandbox.STATUS_GROUP.sandbox.showBookSizeIndicator(false); 2) I try to alter font-'color', size and other formattings for parts of the homepage (e.g. page-numbers) with OPTIONS. What I know: The part in the XML-files responsible for this. How to make options/functions and store/restore the values. What I don't know: How to point to the responsible part in the XML-file. E.g. kbookAssets.xml: PHP Code:
I tried with 'brute-force' but gave up in the end. To make this working could make it possible to fine-grain the interface of the home-screen. 3) I try to make altering fonts for LRF more elegant. My simple code just uses different prsp.sh-files . Question: Is there a simple way to do it directly with JS? Or questioned the other way: Where/how to put code to be executed on a restart of the reader? I tried 'onInit' but this did not work. @kartu: I struggle to push up my code into the clone of google-repository. But I'll working on it. Thank you very much! A. |
![]() |
![]() |
![]() |
#3532 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Analogus
just my two cents: 1) there is a var kbook.model.STATE, it can be "MENU_HOME" or something like "PAGE_GROUP" you can check for this to see if the book is open. 2) brave! This is somewhere within the skin.styles[] array. Sorry no more info on that 3) Put a IF FI clause in prsp.sh which checks for your additional font-changing script and call it, when present. Have you checked: http://tortoisehg.sourceforge.net/ as mercurial frontend for windows? |
![]() |
![]() |
![]() |
#3533 |
Enthusiast
![]() ![]() Posts: 44
Karma: 198
Join Date: Mar 2011
Location: Russia, Saratov
Device: Sony PRS-350
|
Latest version build from git https://prs-plus.googlecode.com/hg/ don't work from my 350
![]() Build, copy to device, reboot, prsp atempting strart (found file runonce.sh and install.log size=0), but prs+ not started (no settings and functionaly). Clear build without modifications ![]() May be after 10 mar. |
![]() |
![]() |
![]() |
#3535 |
Enthusiast
![]() ![]() Posts: 44
Karma: 198
Join Date: Mar 2011
Location: Russia, Saratov
Device: Sony PRS-350
|
Mark I have time, but this lines
// what to log and what not, possible values are: all, trace, info, warn, error config.defaultLogLevel = "trace"; // where to log config.logFile = "/Data/prsp_script.log already found in user.config.350 I create Beta folder in root IM and log file not created ![]() |
![]() |
![]() |
![]() |
#3536 | |
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
Quote:
|
|
![]() |
![]() |
![]() |
#3537 |
Enthusiast
![]() ![]() Posts: 44
Karma: 198
Join Date: Mar 2011
Location: Russia, Saratov
Device: Sony PRS-350
|
kartuМне, что скопировать prsp.js в папку Beta из каталога с исходниками?
Такое впечатление, что образ собирается "не так": install.sh срабатывает (т.к. runonce.sh появляется), а дальше - тишина |
![]() |
![]() |
![]() |
#3538 | |
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
Quote:
Code:
if (FileSystem.getFileInfo(System.applyEnvironment('[prspSafeModeFile]')) === undefined) { betaPath = System.applyEnvironment('[prspBetaStartupFile]'); if (FileSystem.getFileInfo(betaPath)) { path = betaPath; } else { path = System.applyEnvironment('[prspStartupFile]'); } if (FileSystem.getFileInfo(path)) { file = new Stream.File(path); code = file.toString(); file.close(); f = new Function("", code); f(); delete f; } } } catch (ignore) { } |
|
![]() |
![]() |
![]() |
#3539 |
Enthusiast
![]() ![]() Posts: 44
Karma: 198
Join Date: Mar 2011
Location: Russia, Saratov
Device: Sony PRS-350
|
Положил prsp.sh(взял из папки tmp после ant) и user.config(бывший user.config.350) в папку Beta. Получил ерунду
Error reading file /Data/Beta/core/compat/350_config.js: Fsk error, code = -41 Error reading file /Data/Beta/core/compat/350_bootstrap.js: Fsk error, code = -41 Error reading file /Data/Beta/core/compat/350_config.js: Fsk error, code = -41 Error reading file /Data/Beta/core/compat/350_bootstrap.js: Fsk error, code = -41 Put prsp.sh (from folder tmp after "ant") and user.config (renamed user.config.350) to folder Beta. Log created, but very stranged. I build very simple: in prsp.properties set my model and say "ant". After success copy folder PRSPInstaller to IM |
![]() |
![]() |
![]() |
#3540 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
TJ27
please edit user.config, so that it only holds two (2) lines: config.defaultLogLevel = "trace"; config.logFile = "/Data/prsp_script.log |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using HD Folders as Collections on Sony PRS-505 | fglaysher | Calibre | 8 | 07-26-2010 09:55 PM |
Enhanced Firmware for V3 | keng2000 | HanLin eBook | 12 | 04-12-2010 09:30 AM |
Poll: Sony Reader PRS-505 upgrade to Sony PRS-700 | Kris777 | Sony Reader | 70 | 02-18-2009 06:34 PM |
Sony Reader PRS-505 upgrade to Sony PRS-700 | Kris777 | Sony Reader | 23 | 12-08-2008 06:56 AM |
Sub folders in firmware v1.08 | Prince Hal | Amazon Kindle | 28 | 10-23-2008 03:20 PM |