![]() |
#1 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Invisible text
I have an eBook that includes the physical page numbers from the paper book. I would like to leave these in the document for possible use in searching or referencing purposes but I don't want them to be displayed. Is there a way to do that? The book has a lot of cross references to physical pages.
Dale |
![]() |
![]() |
![]() |
#2 |
sleepless reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,763
Karma: 615547
Join Date: Jan 2008
Location: Germany, near Stuttgart
Device: Sony PRS-505, PB 360° & 302, nook wi-fi, Kindle 3
|
You can use style="visibility:hidden;", eg.:
Code:
<span style="visibility:hidden;">1</span> Last edited by netseeker; 05-04-2009 at 12:57 PM. |
![]() |
![]() |
![]() |
#3 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,542
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
or "display: none"
|
![]() |
![]() |
![]() |
#4 |
MIA ... but returning som
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,600
Karma: 511342
Join Date: Nov 2007
Location: Germany
Device: PRS-505 and *Really* not owning a PRS-700
|
Could you use a class?
e.g. Code:
<span class="invisible">..</span> Code:
.invisible { display: none; } |
![]() |
![]() |
![]() |
#5 |
sleepless reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,763
Karma: 615547
Join Date: Jan 2008
Location: Germany, near Stuttgart
Device: Sony PRS-505, PB 360° & 302, nook wi-fi, Kindle 3
|
|
![]() |
![]() |
![]() |
#6 |
sleepless reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,763
Karma: 615547
Join Date: Jan 2008
Location: Germany, near Stuttgart
Device: Sony PRS-505, PB 360° & 302, nook wi-fi, Kindle 3
|
|
![]() |
![]() |
![]() |
#7 |
MIA ... but returning som
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,600
Karma: 511342
Join Date: Nov 2007
Location: Germany
Device: PRS-505 and *Really* not owning a PRS-700
|
|
![]() |
![]() |
![]() |
#8 |
zeldinha zippy zeldissima
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
|
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Thanks for the response. I will give it a try. I know how to translate inline examples to CSS sections and files.
Dale |
![]() |
![]() |
![]() |
#10 |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
When I retrieve a Project Gutenberg ebook in HTML form, I usually leave the page number (href) references in, but remove the actual PG #'s using a RegEx, like the below example written in Perl:
Code:
#Remove page numbering $html =~ s#<span class='pagenum'><(.*[^>])>.*</span>#<$1>#gi ; $html =~ s#<span class=\"pagenum\"><(.*[^>])>.*</span>#<$1>#gi ; |
![]() |
![]() |
![]() |
#11 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Yea, but I have hundreds of such references and no html links. For now I want to be able to have the real page numbers. The display:none trick worked well in my sample. I have to check a few different readers. It is reasonable to have the published page numbers for reference purposes. Dale |
|
![]() |
![]() |
![]() |
#12 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,542
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
The Invisible iBookstore | starrigger | General Discussions | 24 | 05-10-2010 03:11 PM |
Invisible shield for DX? | steffi | Amazon Kindle | 1 | 01-26-2010 09:10 AM |
ZAGG Invisible Shield Available for K2 | BurBunny | Amazon Kindle | 9 | 01-26-2010 09:00 AM |
505:Invisible Shield | JeffElkins | Sony Reader | 4 | 10-24-2008 04:23 AM |
Invisible Shield screen protector | mattgam | Bookeen | 10 | 04-21-2008 09:08 AM |