Categories

«Twitter» plug-in

Template-help.com Team Ноябрь 15, 2010
Rating: 4.0/5. From 1 vote.
Please wait...

This script allows you to add a Twitter widget to your site. The widget will display messages from your Twitter.com account.

JavaScript
In order to make the script work, the index-#.html file with a widget should contain these lines of HTML code in order to include the jquery.twitter.search.js and blogger.js script and the jQuery framework:

The <head> section of the index-#.html file contains these lines of code that initialize the script functionality with basic values:

This script is initialized with a <div> element with the #twitter id. Script attributes define the following values:

•    userName – Twitter.com account name;
•    numTweets – number of messaged shown in the widget;
•    loaderTextwidget pre-loader text;
•    slideIn – turn on/off slide-in transition effect on widget load;
•    showHeading – defines whether to show widget heading or no;
•    headingTextwidget heading text;
•    showProfileLink – defines whether to show a link to Twitter.com account.

HTML
Below you can see the general HTML script representation:



As you see, all the markup consists of a single <div> tag with #twitter id and .twitter class.

CSS
You can find script related stylesheet in the main style.css file. You will need to modify the following styles:
Эта запись была размещена в Misc и помечена как jQuery. Добавьте в закладки постоянную ссылку.

Submit a ticket

Если вы не смогли найти подходящее решение проблемы, пожалуйста воспользуйтесь следующей ссылкой, чтобы отправить запрос команде технической поддержки.
Отправить запросВы получите ответ в течение 24 часов