Voltar

Snap Preview Anywhere

17 de Fevereiro de 2007

Geral

Snap Preview Anywhere (SPA) provides high quality link previews for site owners to add an informative and sticky experience for their users. For each...

Snap Preview Anywhere (SPA) provides high quality link previews for site owners to add an informative and sticky experience for their users.

For each link that you do want the preview popup for, add a class="snap_preview".

For example:
<a class="snap_preview" href="http://www.example.com">www.example.com</a>

SPA is comfortable implemented in this template. It can be easily turned on/off in the template configuration.
/*** template parameters ***/
$template_parameters = array(
	"snap" => true        /* true | false */
);


For using SPA you only have to get a SPA key here. The whole SPA configuration can be set in php.
/**
* SPA parameters
*
* Snap Preview Anywhere FAQ
* http://www.snap.com/about/spa_faq.php
*
*/

$this->ap = "0";
$this->snapKey = "";
$this->sb = "0";
$this->th = "asphalt";
$this->si = "0";
$this->link_icon = "on";
$this->preview_trigger = "both";
$this->domain = "";