# FlippingBook and html link

**URL:** https://forum.kirupa.com/t/flippingbook-and-html-link/256155
**Category:** flash
**Created:** [March 31, 2008, 12:07pm UTC](https://forum.kirupa.com/t/flippingbook-and-html-link/256155 "2008-03-31T12:07:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![spoison](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@spoison](https://forum.kirupa.com/u/spoison)
#### Post date: [March 31, 2008, 12:07pm UTC](https://forum.kirupa.com/t/flippingbook-and-html-link/256155/1 "2008-03-31T12:07:58Z")

</div>

Hi all,  
I hope someone can help me, I would like to make a link from a html page to my flippingbook and open the flippingbook directly to a certain page.

There is a link to the project : [http://www.evianroyalresort.com/news/001/fr/index.html](http://www.evianroyalresort.com/news/001/fr/index.html)

I think I need to make some javascript to call the GotoPage function from my webpage but my knowledge stop here !

I made this javascript :

```auto
 
<script language="JavaScript">
 function PageURL() {
    var page = ebrochure_fr.myBook(gotoPage:10);
}
</script>

```

and this link :

```auto
 
<a href="#" onClick="PageURL('10'); return false;"><strong>Lien vers page</strong></a>

```

the AS function :

```auto
 
function gotoPage() {
 if (zoomed) {
  return;
 }
 var destPageNumber = Number(navbar_mc.page_number_txt.text);
 if (!isNaN(destPageNumber)) {
  myBook.flipGotoPage(destPageNumber);
 }
}
ExternalInterface.addCallback("gotoPage", null, gotoPage);

```

But it doesn’t work, thanks for your help.

sp.
