logo
Home XtGem- Templates- XtScript- bottom

XTSCRIPT GALLERY

Single page thumbnail gallery filelist with descriptions and individual xtgem polls for rating the images

Blog social buttons

Facebook - Google plus - Twitter
Embedded facebook / google / twitter buttons for blog posts
http://ggnnww.yn.lt/social_button_blog
This uses the posts subtitle as the description for the facebook share
and embeds the buttons into the blogs html
Back to posts
Comments:
[10:48pm 18-3-30] Peut on perdre du poids apres 50 an :

This is a different sort of opinion that many people dont usually talk about. Usually when I find stuff like this I stumble it. This article probably wont do well with that crowd. I will be sure to submit something else though.
Peut on perdre du poids apres 50 ans http://www.flashpelit.fi/profile/powerlook7/

[10:48pm 18-3-30] Perdre son ventre a 45 ans femme :

I was researching on the web for some info since yesterday night and I ultimately found what i was looking for! This is a great blog by the way, but it looks a little hard to see from my att phone.
Perdre son ventre a 45 ans femme http://narutogameshub.com/profile/bronzedonna2

[10:48pm 18-3-30] Agence publicitaire Skikda :

I have sent this to several buddies and re-tweeted. Thanks again.
Agence publicitaire Skikda http://www.peluqueriashangara.com/index.php?option=com_k2&view=itemlist&task=user&id=94901

[10:48pm 18-3-30] Charte graphique Skikda :

Look what I discovered on my roommates PC siki izle!
Charte graphique Skikda http://bfb7904p.bget.ru/profile/egglook12


SCRIPT

All the settings are at the top of the xtscript.

The descriptions use the xtscript "source" function the default setting looks for the descriptions folder in the same folder or directory as the gallery page
You can set your own path and descriptions folder name in the settings the path must be relative to the page containing the script not the root directory.
There is also a setting to convert newlines into <br /> tags otherwise they will be ignored.
The description file can be plain text or html and must have the same name as the image without any extension
The descriptions can contain any normal html or javascript and most xt functions and xt widgets.
They cannot contain xtscript
If the description is a html page only the content between the body tags is used (including the container) and newlines are ignored except in text blocks
If there is no description file for an image no description block will be shown.

Unique polls for each image are created by using part of a md5 hash of the url + the filename so if the url is changed so are the polls.
Some javascript is used in the xtscript to change some of the classes and the submit button text in the poll xtfunction.

As the actual filelist function is outside of the xtscript the timeout for large folders should not happen.

Copy the script to a code block or copy it to a plaintext file and include it on the page.
You can also "remote server" upload it fromAnd then include it on your page
Suggest more features in the comments above or on the forum post sensible and possible ones will be added
'; ?>

DEMO CSS

This css stylesheet is just a demo
It contains most of the classes you will need
copy it to a plain text file named gallery.css
and link to it in your page header using something likeYou can also "remote server" upload it from
'; ?>
Powered by XtGem
About us Contact Forum topÂ