[Guide] Tooltips syndication

Here you can ask your questions and post suggestions about site's development.

[Guide] Tooltips syndication

Postby Administrator » 05 Jun 2016, 15:42

Hello guys!

We've promised this feature for quite some time and finally it's ready.
Here is the guide on how to add our tooltips to your site.

First of all, in order for the tooltips to work, we need to add your site into the white list. So when you'll finish adding the necessary files and code to your site, PM me with the url of your site.

1. Download and save the following files on your server in some directory. For example /tooltips:

2. Include these files in the <head> tag of your site:
Code: Select all
<link type="text/css" rel="stylesheet" href="/tooltips/jquery.qtip.min.css">
<script type="text/javascript" charset="utf-8" src="/tooltips/jquery-2.1.4.min.js"></script>
<script type="text/javascript" charset="utf-8" src="/tooltips/jquery.qtip.min.js"></script>
<script type="text/javascript" charset="utf-8" src="/tooltips/tooltips.min.js"></script>

Note: If your site is already using the jquery or qtip libraries you don't need to include them again.
Also be sure to store these files on your server. Do not link them directly from our site!

3. That's it. Now any link to an item, quest or npc from our database will have a tooltip.
A working example of the tooltips can be found here.

Terms of use:
You are free to use the tooltips on your fan sites, clan forums, in your guides etc.
However, we don't want you to create the copies of the Black Desert Database or it's sections by using our tooltips.
We reserve the right to disable the tooltips for your site or remove this functionality entirely at any time.
Posts: 709
Joined: 11 Sep 2013, 10:30

Return to Database development

Who is online

Users browsing this forum: No registered users and 3 guests