You should rename the file and remove the .txt from the name.  This will
make it a proper javascript file.

Next you need to reference the touch file in your HTML source.  This needs
to be done after your inclusion of jQuery on the page.  So find on your page
a line that looks similar like so:

<script src="jquery-1.2.6-min.js" type="text/javascript"></script>

Then reference your jQuery-touch.js file.

<script src="jquery.touch.js" type="text/javascript"></script>

Keep in mind that you reference your js files relatively so if you saved
jquery.touch.js in a scripts directory you should reference it as such:
/scripts/jquery.touch.js.

Hope that Helps
Ralph

On Tue, Sep 15, 2009 at 1:52 PM, PokerTec <xi...@comcast.net> wrote:

>
> Hi,
>
> I am completely new to Jquery and not very knowledgable with
> javascript in general.  I would like to add the jquery.touch plugin to
> my website so I can add touch functionality for the Iphone and Ipod
> touch. The site is active and is running Jquery 1.26.  I am clueless
> as to the proper procedure to include the plugin.  The download
> provided by this site is in a text file.  How should I incorporate
> this file properly.
>
> thank you,
>
> PokerTec
>

Reply via email to