SlideShare a Scribd company logo
1 of 5
Download to read offline
TUTORIAL
Using Javascript based on libraries such as jQuery

Introduction

Hammerkit makes it really easy to use Javascript such as the extensive libraries within
jQuery to add great effects, interaction and to improve the usability of the site. Hammerkit
supports jQuery by default, but this lesson be applied to any of the other popular libraries,
such as MooTools.

Adding Javascript in HammerKit is a 5 step process and we will step through it and help
you to understand just how you can start to add some of that jQuery goodness.

Objective

At the end of this tutorial, you will be able to add functioning javascript without the need to
really know how to programme.

To test this, just create a new blank component and follow the steps below.


Step 1 - Find the Zip file with the code
Locate the function you want to add to your site. For the purposes of this tutorial, we are
going to use a great piece of third party code that was created to embed your Twitter feed
in your site by Coda. You can read about the jQueary plugin here:

http://coda.co.za/blog/2008/10/26/jquery-plugin-for-twitter

Go this page and download the zip file to your computer. This contains the files you need
to add to Hammerkit to get the plugin working. This is fairly usual, so when you locate
some plugin or cool javascript, look to see if they have created a single zip file.

NOTE: Trying to find the Zip file works most of the time... But sometimes the coders
haven't been "nice enough" to provide all files in zip-file (this is rare though)... If this is the
case it might be necessary to locate files separately.

The zip file for this exercise is here:

jQuery Twitter Plugin

Download this and unzip it to a directory as we are about to use it in step 2.



Tutorial: Usng Javascript v1.0                                                            28.7.2009
Step 2 - Add the CSS file
Open your new component and click on the module button       to add a new module
element to the page. From the Select Module drop-down, choose the CSS module.




Once you have done this, leave the mode as “include CSS stylesheet file” and then browse
and attach the CSS file from the Zip file you downloaded. It might be a good idea to create
a new folder to store all of your CSS files in one place, so create the CSS directory and
upload the file there.

GOOD PRACTICE TIP: If you are using a lot of jquery widgets, it might be a
good idea to create a folder jquery and then sub-folders to hold all of the files
from the zip files. You can import the Zip file to import the whole folder at
once. Just tick the box “Unpack archive file” and HammerKit will upload the
Zip and unpack the contents to the destination folder you specify.

In this case the file is called jquery.twitter.css

This CSS file can be modified to suit later, For now, lets move on to Step 3.


Step 3 - Add the .js file

Once again add a new module by clicking the module button. This time, choose javascript
as the module type from the Select Module drop-down box. Leave the mode set as “Include
javascript library file” and then choose the .js file from the Zip file you downloaded. In this
case the file is called jquery.twitter.js

Now you should have just two elements on the screen, the CSS element and the Javascript
include as shown above. (ignore the 2296 - this is an element reference code and will be
different in your view).




Tutorial: Usng Javascript v1.0                                                        28.7.2009
NOTE - there may be more than one .js file to add to the component, so you may need to
repeat this step if there are a more.

Now we can add the div to ensure we can position the feed box.



Step 4 - Add the div

To add the div, simply select the text element,         click the plain text checkboxand paste
the div code copied from the coda site:

<div id="twitter"></div>

NOTE: It is really important to click the plain text checkbox. This ensures your code is
copied in correctly without any of the formatting from the destination you have copied
from.

Now click done. Thats all there is to adding the div.


Step 5 - Add the script

The final thing to do is to copy the script from the site and add it as a piece of Javascript.
To do this add a new module element and select Javascript as in Step 3. Set the mode to
“Add head javascript code” and paste in the script from the coda site as below:




Tutorial: Usng Javascript v1.0                                                         28.7.2009
In this case, we want to show the Twitter feed from the HammerKit account, so we just
change the username to “hammerkit” and click done.

Now click the save component button         and then select view page from the component
menu.




Your finished Twitter feed box should look like this:




Tutorial: Usng Javascript v1.0                                                  28.7.2009
Five Steps to Adding Javascript elements

So, to summarise:
1. download the Zip file with the required files
2. add the CSS file using the CSS module element
3. add the javascript file using the Javascript module element
4. add the div
5. add the script

If you have any questions about this, or would like some help, post your
question on designer.hammerkit.com and one of the team will assist you.




Tutorial: Usng Javascript v1.0                                       28.7.2009

More Related Content

More from tutorialsruby

&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />tutorialsruby
 
&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />tutorialsruby
 
Standardization and Knowledge Transfer – INS0
Standardization and Knowledge Transfer – INS0Standardization and Knowledge Transfer – INS0
Standardization and Knowledge Transfer – INS0tutorialsruby
 
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa0602690047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269tutorialsruby
 
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa0602690047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269tutorialsruby
 
BloggingWithStyle_2008
BloggingWithStyle_2008BloggingWithStyle_2008
BloggingWithStyle_2008tutorialsruby
 
BloggingWithStyle_2008
BloggingWithStyle_2008BloggingWithStyle_2008
BloggingWithStyle_2008tutorialsruby
 
cascadingstylesheets
cascadingstylesheetscascadingstylesheets
cascadingstylesheetstutorialsruby
 
cascadingstylesheets
cascadingstylesheetscascadingstylesheets
cascadingstylesheetstutorialsruby
 
Winter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20JavascriptWinter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20Javascripttutorialsruby
 
Winter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20JavascriptWinter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20Javascripttutorialsruby
 

More from tutorialsruby (20)

&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />
 
&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />
 
Standardization and Knowledge Transfer – INS0
Standardization and Knowledge Transfer – INS0Standardization and Knowledge Transfer – INS0
Standardization and Knowledge Transfer – INS0
 
xhtml_basics
xhtml_basicsxhtml_basics
xhtml_basics
 
xhtml_basics
xhtml_basicsxhtml_basics
xhtml_basics
 
xhtml-documentation
xhtml-documentationxhtml-documentation
xhtml-documentation
 
xhtml-documentation
xhtml-documentationxhtml-documentation
xhtml-documentation
 
CSS
CSSCSS
CSS
 
CSS
CSSCSS
CSS
 
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa0602690047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
 
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa0602690047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
 
HowTo_CSS
HowTo_CSSHowTo_CSS
HowTo_CSS
 
HowTo_CSS
HowTo_CSSHowTo_CSS
HowTo_CSS
 
BloggingWithStyle_2008
BloggingWithStyle_2008BloggingWithStyle_2008
BloggingWithStyle_2008
 
BloggingWithStyle_2008
BloggingWithStyle_2008BloggingWithStyle_2008
BloggingWithStyle_2008
 
cascadingstylesheets
cascadingstylesheetscascadingstylesheets
cascadingstylesheets
 
cascadingstylesheets
cascadingstylesheetscascadingstylesheets
cascadingstylesheets
 
Winter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20JavascriptWinter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20Javascript
 
Winter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20JavascriptWinter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20Javascript
 
eng2u3less38
eng2u3less38eng2u3less38
eng2u3less38
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 

Recently uploaded (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Using%20Javascript

  • 1. TUTORIAL Using Javascript based on libraries such as jQuery Introduction Hammerkit makes it really easy to use Javascript such as the extensive libraries within jQuery to add great effects, interaction and to improve the usability of the site. Hammerkit supports jQuery by default, but this lesson be applied to any of the other popular libraries, such as MooTools. Adding Javascript in HammerKit is a 5 step process and we will step through it and help you to understand just how you can start to add some of that jQuery goodness. Objective At the end of this tutorial, you will be able to add functioning javascript without the need to really know how to programme. To test this, just create a new blank component and follow the steps below. Step 1 - Find the Zip file with the code Locate the function you want to add to your site. For the purposes of this tutorial, we are going to use a great piece of third party code that was created to embed your Twitter feed in your site by Coda. You can read about the jQueary plugin here: http://coda.co.za/blog/2008/10/26/jquery-plugin-for-twitter Go this page and download the zip file to your computer. This contains the files you need to add to Hammerkit to get the plugin working. This is fairly usual, so when you locate some plugin or cool javascript, look to see if they have created a single zip file. NOTE: Trying to find the Zip file works most of the time... But sometimes the coders haven't been "nice enough" to provide all files in zip-file (this is rare though)... If this is the case it might be necessary to locate files separately. The zip file for this exercise is here: jQuery Twitter Plugin Download this and unzip it to a directory as we are about to use it in step 2. Tutorial: Usng Javascript v1.0 28.7.2009
  • 2. Step 2 - Add the CSS file Open your new component and click on the module button to add a new module element to the page. From the Select Module drop-down, choose the CSS module. Once you have done this, leave the mode as “include CSS stylesheet file” and then browse and attach the CSS file from the Zip file you downloaded. It might be a good idea to create a new folder to store all of your CSS files in one place, so create the CSS directory and upload the file there. GOOD PRACTICE TIP: If you are using a lot of jquery widgets, it might be a good idea to create a folder jquery and then sub-folders to hold all of the files from the zip files. You can import the Zip file to import the whole folder at once. Just tick the box “Unpack archive file” and HammerKit will upload the Zip and unpack the contents to the destination folder you specify. In this case the file is called jquery.twitter.css This CSS file can be modified to suit later, For now, lets move on to Step 3. Step 3 - Add the .js file Once again add a new module by clicking the module button. This time, choose javascript as the module type from the Select Module drop-down box. Leave the mode set as “Include javascript library file” and then choose the .js file from the Zip file you downloaded. In this case the file is called jquery.twitter.js Now you should have just two elements on the screen, the CSS element and the Javascript include as shown above. (ignore the 2296 - this is an element reference code and will be different in your view). Tutorial: Usng Javascript v1.0 28.7.2009
  • 3. NOTE - there may be more than one .js file to add to the component, so you may need to repeat this step if there are a more. Now we can add the div to ensure we can position the feed box. Step 4 - Add the div To add the div, simply select the text element, click the plain text checkboxand paste the div code copied from the coda site: <div id="twitter"></div> NOTE: It is really important to click the plain text checkbox. This ensures your code is copied in correctly without any of the formatting from the destination you have copied from. Now click done. Thats all there is to adding the div. Step 5 - Add the script The final thing to do is to copy the script from the site and add it as a piece of Javascript. To do this add a new module element and select Javascript as in Step 3. Set the mode to “Add head javascript code” and paste in the script from the coda site as below: Tutorial: Usng Javascript v1.0 28.7.2009
  • 4. In this case, we want to show the Twitter feed from the HammerKit account, so we just change the username to “hammerkit” and click done. Now click the save component button and then select view page from the component menu. Your finished Twitter feed box should look like this: Tutorial: Usng Javascript v1.0 28.7.2009
  • 5. Five Steps to Adding Javascript elements So, to summarise: 1. download the Zip file with the required files 2. add the CSS file using the CSS module element 3. add the javascript file using the Javascript module element 4. add the div 5. add the script If you have any questions about this, or would like some help, post your question on designer.hammerkit.com and one of the team will assist you. Tutorial: Usng Javascript v1.0 28.7.2009