Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Button for close window inside the book
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Button for close window inside the book
#54869
Button for close window inside the book 8 Years, 9 Months ago Karma: 0
Hi,
I need another little help. I want to insert a link in a page of book that go to a page of site and close the smart book window. Is possible?
Thank so much for your great work.
The administrator has disabled public write access.
 
#54870
Re:Button for close window inside the book 8 Years, 9 Months ago Karma: 746
Hello,

Use the following link:

Code:


<a href="#" onclick="if (window.parent && window.parent['SqueezeBox']) { window.parent.SqueezeBox.close(); };return false;">Close book</a>



Regards,
ARI Soft
Last Edit: 2015/06/12 18:19 By admin.
The administrator has disabled public write access.
 
#54882
Re:Button for close window inside the book 8 Years, 9 Months ago Karma: 0
Hi,
the script is correct and the window closes, but the link at the page don't work. I insert the URL in href="link ecc", but the the window closes before that go to the url. I tried to insert the url after or before window.parent.SqueezeBox.close(); but the link still does not work.
I'm at few step to finish my work, but this little problem prevents me to finish.
The administrator has disabled public write access.
 
#54883
Re:Button for close window inside the book 8 Years, 9 Months ago Karma: 746
If you want to open a link into a parent window, use the following code:

Code:


<a href="http://www.domain.com" target="_top" onclick="if (window.parent && window.parent['SqueezeBox']) { window.parent.SqueezeBox.close(); };">Close book</a>



Regards,
ARI Soft
The administrator has disabled public write access.
 
#54888
Re:Button for close window inside the book 8 Years, 9 Months ago Karma: 0
Sorry, but in this way don't work. We had already tried with target="_top", but I don't know why don't work.

This is the link

user vasapolli
pass Vasa2015

in the cover of flipbook there is the link Close book

vasapolli.icona.it/index.php/e-store/esempio-flipbook-sommario4
The administrator has disabled public write access.
 
#54889
Re:Button for close window inside the book 8 Years, 9 Months ago Karma: 746
If you want to open a link into a parent window, it is enough to use the following link:

Code:


<a href="http://www.domain.com" target="_top">Close book</a>



Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12