Forum

JiFile for Joomla!

JIFile
JiFile is a component for Joomla! that allows you to index file contents (PDF, DOC, etc..) to perform searches in them.

Learn more...  Demo

JoomPhoto Mobile

JPhotoMobile
JoomPhoto Mobile is a component for Joomla! that allows you to share the photos from your Android device to your site Joomla.

Learn more...  Demo

iFile Framework

IFile
IFile is an open source framework written entirely in PHP, allows the indexing of textual content of a document (DOC, PDF, EXCEL, etc.) and a quick search within them.

Learn more...  Demo

Easy Language

EasyLanguage
Easy Language is a plugin for easy and immediate management of multilingual texts in every possible area of joomla, articles, components, modules, metadata, template, other components(example K2) etc.

Learn more...

Article Book Effect

Article Book Effect
View Joomla articles with the effect turns the page of a book. This plugin will display the contents of an article in Joomla as a real book or magazine, using all the benefits of HTML5

Learn more...  Demo

 

Passport photo

Passport photo
The most popular Android app that allows you to print photos cards for your documents with your Android smartphone, in a simple and intuitive way.

Learn more...

 

Crazy Shadow

Crazy Shadow
Crazy Shadow is the 3D fast-paced and fun puzzle Android game! Try to rotate and drag shapes in the position of their shadows without fail! Solve in succession all combinations of levels of the game.

Learn more...

 

Admin Countdown

Admin Countdown
Module for Joomla! 2.5 and 3.x displays in the administration part of the site, a timer with countdown of the time remaining in your session.

Learn more...  Demo

 
Welcome, Guest
Username: Password: Remember me

TOPIC: Anchor Links

Anchor Links 17 Mar 2013 09:06 #1078

  • flip
  • flip's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Have just installed Book effects and it works as expected.

however how do you create anchor links to specific pages.

If I wanted to create a table of content for example?
The administrator has disabled public write access.

Anchor Links 20 Mar 2013 21:57 #1082

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
You can create the link with "<a href="#" onclick="$('#book_1').turn('page', 2);">page 2</a>",
#book_1 depends on how many book are viewed in the page (#book_1, #book_2, etc).

In this way there are problem with pagination, so you must disable it, because the pagination is created dinamically when the page is turned one at a time.

-- UPDATE --
try also onclick="jQuery('#book_1').turn...

jQuery instead of $
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie
Help us by voting our extensions on Joomla.org:
JiFile
JoomPhoto Mobile
Easy Language
Last Edit: 17 Sep 2013 22:45 by Antonio.
The administrator has disabled public write access.

Anchor Links 10 Dec 2013 11:37 #1602

  • miller
  • miller's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi,

Thank you for this nice extension.

When I input your code in an article book :
<p>{book height:500}{page}
 
[b]<a href="#" onclick="$('#BookTest-1').turn('page', 2);">page 2</a>[/b]
 
<a href="#">page 2</a> <span style="line-height: 1.3em;">{/page}</span><span style="line-height: 1.3em;">{page}page2</span><span style="line-height: 1.3em;">{/page}</span><span style="line-height: 1.3em;">{/book}</span></p>

Then it becomes :
<p>{book height:500}{page}
 
[b]<a href="#">page 2</a> <a href="#">page 2</a>[/b]
 
<a href="#">page 2</a> <span style="line-height: 1.3em;">{/page}</span><span style="line-height: 1.3em;">{page}page2</span><span style="line-height: 1.3em;">{/page}</span><span style="line-height: 1.3em;">{/book}</span></p>


Of course, I've got the same result when I try (supposing, may be the problem was due to "book_1" name)
<a href="#" onclick="$('#book_1').turn('page', 2);">page 2</a>

For this reason, it's not possible, for me, to go directly to a page.
Does somebody have an idea about this "problem" ?

Thanks in advance
Brgds
Alfred
Last Edit: 11 Dec 2013 14:34 by Antonio.
The administrator has disabled public write access.

Anchor Links 11 Dec 2013 14:37 #1607

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
Hi,
the correct link is:
<a href="#" onclick="jQuery('#book_1').turn('page', 2); return false;">page 2</a>
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie
Help us by voting our extensions on Joomla.org:
JiFile
JoomPhoto Mobile
Easy Language
The administrator has disabled public write access.

Anchor Links 13 Dec 2013 23:11 #1617

  • amheng
  • amheng's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
What is the code to be able to jump to end of book (last page)? So far so good plugin. Thanks
The administrator has disabled public write access.

Anchor Links 16 Dec 2013 10:27 #1619

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
amheng wrote:
What is the code to be able to jump to end of book (last page)? So far so good plugin. Thanks

The code is:
<a href="#" onclick="jQuery('#book_1').turn('page', 2); return false;">page 2</a>

in place of "2" put the number of your last page.

Note:
Jump from one page to another, in some cases, can carry paging problems.
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie
Help us by voting our extensions on Joomla.org:
JiFile
JoomPhoto Mobile
Easy Language
The administrator has disabled public write access.