Messages 26 - 50 of 53 - Collapse all | < Older Newer > |
My soultion involves using CSS to cut up the file into columns so no
javascript is used. However I worked with trying to implement javascript paginating for a Getting the font size I implemented at a point the code I used was: [self.webView stringByEvaluatingJavaScriptFromString:@"var who = float mHeight = [[self.webView NSLog(@"M HEIGHT: %f", mHeight); This will get the current eM size of the font and return it as pixels. On Sep 2, 9:36 am, "snehal.............." <jacksn...@gmail.com> wrote: ... |
Thanks for your quick reply and thanks for sharing the code too . I have implemented paging via java script and its working good :) not the And I just want your opinion on something like . I mean do you think the Sorry i mean i ask lots and lots of questions :) . On Thu, Sep 2, 2010 at 5:15 PM, Varedis <robert.scot...@btinternet.com>wrote: ... |
Hi all,
Varedis, great work! I'm curious abou the results at end :) And about the question above, I dont think iBooks uses html at all... By the way, Im trying to figure how it can be done, I mean, write Cheers :) On 2 set, 09:45, "snehal.............." <jacksn...@gmail.com> wrote: ... |
Finally I got a break through :) . And now i know how iBook must have been ... |
Hi Snehal,
I look forward to seeing what you have achieved. dBonates: While I haven't extensively tested the subject of text selection I did On Sep 2, 4:15 pm, "snehal.............." <jacksn...@gmail.com> wrote: ... |
I also tried the css3 multi columns support, I started my tests on If you can guide me a little bit on this, I will esteem it a favor. The second approach is to fill a div with the content word by word NSArray * contentArray = [chapter.Content <script language="JavaScript" type="text/javascript"> var content = ""; function setContent(){ theObj = document.getElementById("foo"); return "NO"; still this way is slow and it is not the most efficient. ----------------------------------------- ... |
Mobile Safari does support multi columns, however it needs a little
helping hand to make it think in the right way. The Css File: html {
}
body { margin: 0px; padding: 0px;
}
#viewer { width: 320px; // SCREEN WIDTH height: 480px; // SCREEN HEIGHT
}
#book { width: 630px; //DOUBLE SCREEN WIDTH MINUS WHATEVER MARGIN YOU WANT - THIS IS THE KEY height:470px; //SCREEN HEIGHT MINUS MARGIN padding:5px; -webkit-column-width:300px; -webkit-column-gap:10px; text-align:justify; padding-right: 10px;
}
Your content will need to be wrapped by the two divs like so: <div id="viewer"> Then everything should work. The width of the book div is the key to forcing the content to |
Many thanks for sharing this piece of innovation, I really liked it.
How did you solved the problem of memory consumption? Although I use background rendering, still RenderPageAtIndex method Thank you again On Sep 8, 3:38 pm, Varedis <robert.scot...@btinternet.com> wrote:
|
Haven't had a problem with memory consumption here
On Sep 8, 6:25 pm, ashraf <ashrafan...@me.com> wrote:
|
Thanks for your answer, the problem which I am talking about is this:
>>> Hi Max!
Please tell us which hidden layer must be released in LeavesView class. >>> This is because application use all memory :( >>> I fixed this bug locally (you should release all hidden layers) but by now I'm unable to do a commit :( >>> Just few days ;) >>> Salvatore The sooner is better. Sent from my iPad On Sep 14, 2010, at 3:42 PM, Varedis <robert.scot...@btinternet.com> wrote:
|
Been trying to set up a GitHub account but it won't let me push any
changes into it, if anyone could help me sort this out that would be awesome. For now here is the complied source for this http://www.robsanimate-studio.co.uk/UIWebView_leaves.zip Warning: As it stands this will not work with any other type of |
this app is crashing. and one more thing , i observed is , it highlighted that text, but after clicking that is is not responding to - (BOOL)webView:(UIWebView*)webView if(navigationType == UIWebViewNavigationTypeLinkClicked) { [myWebView stopLoading]; return YES; return YES;
}
On Tue, Sep 21, 2010 at 2:09 PM, Varedis <robert.scot...@btinternet.com>wrote:
> Been trying to set up a GitHub account but it won't let me push any
-- > changes into it, if anyone could help me sort this out that would be > awesome. > For now here is the complied source for this > http://www.robsanimate-studio.co.uk/UIWebView_leaves.zip > Warning: As it stands this will not work with any other type of This is my profile: http://www.google.com/profiles/madhu.bhilwadi88 Madhu Bhilawadi |
Can you give me anymore info on the crash? any errors or warnings?
where exactly does it crash what is it logging in the console? The hyperlink problem is that all touches are passed to Leaves and not On Sep 21, 10:31 am, Madhu Bhilwadi <bhilwadi.ma...@gmail.com> wrote:
|
it works fine wen i am in debugging mode One more thing is , u are using xhtml file, is it possible for me to use pdf On Tue, Sep 21, 2010 at 3:09 PM, Varedis <robert.scot...@btinternet.com>wrote:
-- This is my profile: http://www.google.com/profiles/madhu.bhilwadi88 Madhu Bhilawadi |
Is it crashing on the device or the simulator?
I haven't tried using a pdf in a webview before, if you want to try go On Sep 21, 1:14 pm, Madhu Bhilwadi <bhilwadi.ma...@gmail.com> wrote:
|
On Wed, Sep 22, 2010 at 6:39 PM, Varedis <robert.scot...@btinternet.com>wrote:
-- This is my profile: http://www.google.com/profiles/madhu.bhilwadi88 Madhu Bhilawadi |
Try adding:
gpdfpass= [NSString stringWithFormat:@"The Colour of Magic"]; to the top of the init method in WebViewController just above where it Thats the only thing I can think of that it is not getting, which is Also there are a couple of deprieciated statements throughout the code If you get warnings change: [[UIApplication sharedApplication] setStatusBarHidden:NO animate:YES]; to [[UIApplication sharedApplication] setStatusBarHidden:NO On Sep 22, 2:17 pm, Madhu Bhilwadi <bhilwadi.ma...@gmail.com> wrote:
|
ok thanq fir the good response :) I actually not using web view to display pdf, i have used Now i want pdf internal URL to work On Wed, Sep 22, 2010 at 6:55 PM, Varedis <robert.scot...@btinternet.com>wrote:
-- This is my profile: http://www.google.com/profiles/madhu.bhilwadi88 Madhu Bhilawadi |
Has the code been moved? This link doesn't work for me. Thanks
On Sep 21, 1:39 am, Varedis <robert.scot...@btinternet.com> wrote:
|
the link download source is there at the top
-- This is my profile: http://www.google.com/profiles/madhu.bhilwadi88 Madhu Bhilawadi |
the link is not working The page cannot be found The page you are looking for might have been removed, had its name On Sep 27, 12:53 pm, Madhu Bhilwadi <bhilwadi.ma...@gmail.com> wrote:
|
the host does really exist? Someone ghot the zip???
thanks in advance :) 2010/10/2 wesam Taha <busb...@gmail.com>:
-- Daniel Bonates ========================= msn: danielbona...@hotmail.com |
Varedis/Madhu,
I'm working on similar webview issue. Can you please share the zip Appreciate your help, Thanks, On Oct 5, 10:26 am, Daniel Bonates <dbona...@gmail.com> wrote:
|
Hi Guys,
I have reuploaded the file again, I have made a few changes and put What this code does: Renders Epub books to a UIWebView What this does not do currently: This will not paginate images correctly Issues: None on the device I will not provide debugging tips for any other part of leaves as this If you like my code I would appreciate any donation you can give for https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=... On Oct 14, 3:47 pm, Raj <basav...@gmail.com> wrote:
|
I forgot to put the link to the file in, that may help:
http://www.robsanimate-studio.co.uk/leaves.zip On Oct 20, 9:48 am, Varedis <robert.scot...@btinternet.com> wrote: |