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


Recent Events
  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.

  • 14/04/2017 Happy Easter

    Wish a Happy Easter and give 30% discount for all our WordPress and Joomla! extensions. Use EASTER17 coupon code. The offer is valid till 17 April.


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 2 Years, 4 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 2 Years, 4 Months ago Karma: 667
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 12:19 By admin.
The administrator has disabled public write access.
 
#54882
Re:Button for close window inside the book 2 Years, 4 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 2 Years, 4 Months ago Karma: 667
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 2 Years, 4 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 2 Years, 4 Months ago Karma: 667
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