ArtflowTeam

ArtflowTeam supports this item

Supported

Popular questions for this item

How to show a popup only once per day?

You can limit the popup to show only once per day by using startCount option and interval, the following code shows an usage example:

$(this).speedoPopup({
    startCount: 1,
    interval: 1
});

How to close a popup programmatically?

First thing you need to do is to put the instance into a variable:

var speedoInstance = $(this).speedoPopup({htmlContent: $('#sss').html()});

After you have done this, you can call the hidePopup function like so:

speedoInstance.hidePopup();

For example, if you have an anchor like:

<a href="javascript:void(0);" id="hide-popup">Hide My Popup</a>
You can use the following code to hide the popup when you click on the Hide My Popup:
<script type=”text/javascript”>
$(function ()
{
    var speedoInstance = $(this).speedoPopup({htmlContent: $('#sss').html()});

    $('#hide-popup').click(function ()
    {
        speedoInstance.hidePopup();
    });
});

How can I open an youtube video or google maps into a popup box?

All you have to do is to put the class “speedo-popup” on your anchor, like this:

<a class="speedo-popup" href="https://www.youtube.com/watch?v=THxJHcR1D2c">Click to open popup</a>

I added the code from documentation, but the popup is not working. What should I do?

There are a few things that are common:
  • Check if the jQuery is included and make sure it is included only once and it is included before the Speedo Popup.
  • Make sure you have included the theme you are using as well as the default theme for fallback.
  • Make sure you are using the right URL (path), when you include the popup (The URL is case sensitive).

Is there a way to show the popup after an amount of time?

Of course, you can create a popup to be displayed after an amount of time. The following code shows an usage example:
$(this).speedoPopup({
    autoShow: 1000 // Number in ms
});

Is there a way to hide the popup after an amount of time?

Of course, you can create a popup to be closed after an amount of time. The following code shows an usage example:
$(this).speedoPopup({
    autoClose: 1000 // Number in ms
});

Is working with jQuery 2.0 ?

Yes, Speedo Popup was tested using all jQuery versions from v1.7 to the v2.0.3 which is the current version at this time.

How can I refresh the parent page with a button inside the popup box?

You can use a simple anchor as a button and you will need to add the target=”_top” attribute to make sure it works even if the link is on a iframe, example:

<a href="test" target="_top">Refresh</a>

How can I call the popup from a simple anchor tag and passing options?

To pass options to the link you will need to make sure you have a well formed JSON.

<a href="https://www.youtube.com/watch?v=THxJHcR1D2c" data-speedo-options="’{theme:" class="speedo-popup">Click to open customized popup</a>

How can I change the skin for a popup box?

First of all, make sure that have included the theme you are using as well as the default theme for fallback. Then, you must pass the wanted skin name to the plugin instance. The following code shows an usage example:

$(this).speedoPopup({
    theme: ‘metro’ 
});

Show more

Contact the author

This author provides limited support for this item through email contact form.

Item support includes:

  • Availability of the author to answer questions
  • Answering technical questions about item’s features
  • Assistance with reported bugs and issues
  • Help with included 3rd party assets

However, item support does not include:

  • Customization services
  • Installation services

View the item support policy

by
by
by
by
by
by