www.webdeveloper.com
Results 1 to 2 of 2

Thread: where do I put this?

  1. #1
    Join Date
    Apr 2012
    Posts
    112

    where do I put this?

    I am following this tutorial, and am not sure where to put this. here is the code:
    Code:
        <?xml version="1.0" encoding="utf-8"?>
    <skitter>
    
        <slide>
            <link>#directionTop</link>
            <image type="directionTop">images/001.jpg</image>
            <label><![CDATA[<p>directionTop</p>]]></label>
    
        </slide>
        <slide>
            <link>#cubeSize</link>
            <image type="cubeSize">images/002.jpg</image>
    
            <label><![CDATA[<p>cubeSize</p>]]></label>
        </slide>
        <slide>
            <link>#paralell</link>
    
            <image type="paralell">images/003.jpg</image>
            <label><![CDATA[<p>paralell</p>]]></label>
        </slide>
    
    </skitter>
    I just put it in the head tags. It gives me an error when I do this though.

  2. #2
    Join Date
    Nov 2007
    Posts
    431
    It goes in the XML file that you load like this:
    Code:
    $('.box_skitter_large').skitter({xml: "xml/slides.xml"});
    http://thiagosf.net/projects/jquery/skitter/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles