To reference ddimgtooltip.js and ddimgtooltip.css
Add the two files using ASSETS>NEW FILE and find each file and tick ALWAYS PUBLISH FILE.
Then right click on your page and select LAYOUT HTML add choose the HEAD INNER icon at the top (2nd across from left) and add the following between the HEAD TAGS of your page.
If a sub-page (i.e. not your home/index page):
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="../html/ddimgtooltip.css" />
<script type="text/javascript" src="../assets/ddimgtooltip.js">
If home/index page:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="./html/ddimgtooltip.css" />
<script type="text/javascript" src="./assets/ddimgtooltip.js">
The only issue you may come across is the jquery. NOF will use this of it's own accord and you therefore you may not need to add it in as above
To see if jquery is already used, local publish your site and right-click and View Source and see if
Code:
<script type="text/javascript" src="./assets/jquery.js">
or
Code:
<script type="text/javascript" src="../assets/jquery.js">
is already there.
If it is already there remove:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>