Results 1 to 3 of 3

Thread: gAjax RSS Ticker -- Is a fade transition possible?

  1. #1
    Join Date
    Aug 2010
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default gAjax RSS Ticker -- Is a fade transition possible?

    1) Script Title: gAjax RSS Ticker (hosted)

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...xrssticker.htm

    3) Describe problem: How do I go about making a fade transition from page to page? It would be similar to this script but with dissolves or fade transitions, rather than scrolling:
    http://www.dynamicdrive.com/dynamici...sescroller.htm

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    This is relatively simple to do by using jQuery on top of the existing script. To do so, first, add a reference to the jQuery libary in the HEAD section of your page (in red):

    Code:
    <script type="text/javascript" src="http://www.google.com/jsapi?key=YOUR-API-KEY"></script>
    
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    
    
    <script type="text/javascript" src="gfeedfetcher.js"></script>
    
    <script type="text/javascript" src="gajaxticker.js">
    
    /***********************************************
    * gAjax RSS Ticker- (c) Dynamic Drive (www.dynamicdrive.com)
    * Requires "gfeedfetcher.js" class
    * This notice MUST stay intact for legal use
    * Visit http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    
    </script>
    Then, use the modified .js file below. The value 400 as it appears inside this file dictates the duration of the fade in mililsecs- you can change that to something else if desired.
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    Jingleballs (09-03-2010)

  4. #3
    Join Date
    Aug 2010
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default thanks

    Thanks DD. Looks good. Looks like it fades in but not out, but it still looks great. Good work. Nice scripts here.

    J

Bookmarks

Posting Permissions

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