PDA

View Full Version : Snap! External link previews in one code edit


ronoxQ
05 Dec 2006, 21:23
A simple little code, really. It's something that looks great and that viewers will love.

example: http://oasisforums.omegaseye.com
If you scroll down and hover over Home for a second, you'll see this pop up.

Install:
Simple, really. Just add this code to the bottom of your HEADINCLUDE template:
<script defer id="snap_preview_anywhere" type="text/javascript" src="http://spa.snap.com/snap_preview_anywhere.js?ap=1&amp;key=31c0fae0046493399871142d10c3fa6c&amp;sb=1&amp;domain=w ww.omegaseye.com"></script>

I'm not sure just how this'll work if you change the name of the URL: that's the code for omegaseye.com, my site. If you change the site URL and this code DOESN'T work, then tell me ASAP and I'll include instructions for opening a separate Snap accout.

Enjoy. :)

SaN-DeeP
05 Dec 2006, 21:48
thanks for your work, but how is this integrated with Vbulletin anyway ?
Morever, your site wont load gives an error.


Internet Explorer cannot open oasisforums.omegaseye.com

ronoxQ
05 Dec 2006, 21:59
thanks for your work, but how is this integrated with Vbulletin anyway ?
Morever, your site wont load gives an error.


Internet Explorer cannot open oasisforums.omegaseye.com

It's not an integration so much as it is an extension. Snap! is a free software that generates pop-ups. I figured vBulletin people would be interested in that sort of thing.

As for my site: I just tried it in IE (6), Opera, and Firefox. So I don't know what the problem is there.

yoyoyoyo
06 Dec 2006, 10:46
It's not an integration so much as it is an extension. Snap! is a free software that generates pop-ups. I figured vBulletin people would be interested in that sort of thing.

As for my site: I just tried it in IE (6), Opera, and Firefox. So I don't know what the problem is there.and not much of an integration either.

Ntfu2
06 Dec 2006, 19:45
i see no demo?

KW802
06 Dec 2006, 19:55
i see no demo?Go to his example site above and then hover your mouse over the "Z" link in his navbar.

PoetJA-1975
07 Dec 2006, 13:51
omega's offline...

Site off-line
Omega's Eye is currently down. I know, it sucks, but I want to make sure that what you all finally get is the damn best site you've ever been on, bar none. Drupal 5 will be out soon, and that will make up the backbone of the site. Beyond that, enjoy either our forums, or the new network codenamed Z.

If you're new, then register! You don't need a valid email address to post, or to use Z. Registration's quick, easy, and only takes 30 seconds. Join now, and you'll get a cookie. (Heh, bad computer nerd joke.)

Yours truly, Rory (ronoxQ)

KW802
07 Dec 2006, 14:17
The site still comes up for me at least. I'm attaching a screen shot of what I'm seeing when I hover over the "Z" link in his navbar.

AyeCapn
08 Dec 2006, 05:08
I like it :)

Just go to snap's website, and get the code generated for you. On my site it only works for external links. I wonder if that is intentional...

yoyoyoyo
09 Dec 2006, 02:59
I like it :)

Just go to snap's website, and get the code generated for you. On my site it only works for external links. I wonder if that is intentional...
that's how it works, but you can't use the code posted- you have to get your own from snap.com, which gives you an access key for your domain.

TCattitude
15 Dec 2006, 20:34
You MUST signup here:
http://www.snap.com/about/spa1.php
...to get your OWN code (a javascript code with a unique key for your own website) to use this mini-mod.

In that way, internal links (links to your own domain) are excluded from the previews.

Artes_Marciales
31 Mar 2008, 13:44
Nice, Thanks!!