Using free Scripts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • chitragurung
    Second Lieutenant

    • Dec 2006
    • 132

    Using free Scripts

    I am looking to use following script in my site. But I do not know how to replace my content with default. or where to put my content.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

    <link rel="stylesheet" type="text/css" href="contentslider.css" />

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

    /***********************************************
    * Featured Content Slider- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
    ***********************************************/

    </script>

    <h2>Example 1</h2>

    <!--Inner content DIVs should always carry "contentdiv" CSS class-->
    <!--Pagination DIV should always carry "paginate-SLIDERID" CSS class-->

    <div id="slider1" class="sliderwrapper">

    <div class="contentdiv">
    Content 1 Here. <br />
    <p></p><a href="javascript:featuredcontentslider.jumpTo('sli der1', 3)">Go to 3rd slide</a></p>
    </div>

    <div class="contentdiv">
    Content 2 Here.
    </div>

    <div class="contentdiv">
    Content 3 Here.
    </div>

    </div>

    <div id="paginate-slider1" class="pagination">

    </div>

    <script type="text/javascript">

    featuredcontentslider.init({
    id: "slider1", //id of main slider DIV
    contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
    toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc]
    nextprev: ["Previous", "Next"], //labels for "prev" and "next" links. Set to "" to hide.
    revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
    enablefade: [true, 0.2], //[true/false, fadedegree]
    autorotate: [true, 3000], //[true/false, pausetime]
    onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
    //previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
    //curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
    }
    })

    </script>

    It is found in http://www.dynamicdrive.com/dynamici...tentslider.htm

    I want to use it using soho.
    Chitra B. Gurung
    EVERGREEN Tours,
    Kathmandu, Nepal
    www.egtours.com
  • Collectors-info
    General

    • Feb 2006
    • 8703

    #2
    Re: Using free Scripts

    Hi, where it says "Content 1 Here" But will have to be in html if you want more than just text.
    Regards Chris.

    Collectables, Collecting, collectors-info.com

    www.chrismorris.co.uk

    House build project

    Comment

    • Karen Mac
      General

      • Apr 2006
      • 8332

      #3
      Re: Using free Scripts

      Just make an html document in note pad or whatever. save as custom.html or custom.inc. then use the custom inc to add it to a page.

      Karen

      VodaHost

      Your Website People!
      1-302-283-3777 North America / International
      02036089024 / United Kingdom
      291916438 / Australia

      ------------------------

      Top 3 Best Sellers

      Web Hosting - Unlimited disk space & bandwidth.

      Reseller Hosting - Start your own web hosting business.

      Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


      Comment

      • chitragurung
        Second Lieutenant

        • Dec 2006
        • 132

        #4
        Re: Using free Scripts

        I try to edit using front page but got some errors massage. When I copy from net and paste in front page, I got error message.
        Chitra B. Gurung
        EVERGREEN Tours,
        Kathmandu, Nepal
        www.egtours.com

        Comment

        • Karen Mac
          General

          • Apr 2006
          • 8332

          #5
          Re: Using free Scripts

          copy to note pad first.. then to the html VIEW on frontpage to the appropriate section

          Karen

          VodaHost

          Your Website People!
          1-302-283-3777 North America / International
          02036089024 / United Kingdom
          291916438 / Australia

          ------------------------

          Top 3 Best Sellers

          Web Hosting - Unlimited disk space & bandwidth.

          Reseller Hosting - Start your own web hosting business.

          Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


          Comment

          Working...
          X