Results 1 to 7 of 7

Thread: Featured Content Slider Modification

  1. #1
    Join Date
    Mar 2008
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Featured Content Slider Modification

    1) Script Title: Featured Content Slider

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

    3) Describe problem: Is there any way which you can modify the script to show in pagination div (left side of it) text "headlines" maybe like gamespot when you place the mouse over the link at their flash slider?

  2. #2
    Join Date
    Mar 2008
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Anyone for answer

    Please anyone to answer I nedd this badly...
    A simple mouseover fuction to show a headlinefrom DIVs please.

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

    Default

    I'll see if I can come up with the changes tomorrow or so. If I forget, feel free to bump this thread then.

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

    Default

    Ok, try the below modified contentslider.js file. Then, to add a title that shows when the mouse rolls over each pagination link, inside your page's HTML, add a "title" attribute inside each content DIV itself, for example:

    Code:
    <div id="slider1" class="contentslide">
    <div class="opacitylayer">
    
    <div class="contentdiv" title="content 1 header">
    Content 1
    </div>
    
    <div class="contentdiv" title="content 2 header">
    Content 2
    </div>
    
    <div class="contentdiv" title="content 3 header">
    Content 3
    </div>
    
    </div>
    </div>
    The title is added to the pagination DIV itself, specifically, a SPAN tag with the ID attribute "title-"+sliderid. So if your Featured Content Slider as the ID of "slider1", the SPAN element used to contain the title would be called "title-slider1". This is important, since you'll want to style this SPAN tag to ensure the colors are right, formatting etc. For example, you should add something like the below to the HEAD of your page:

    Code:
    <style type="text/css">
    #title-slider1{
    color: white;
    float:left;
    }
    }
    </style>

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

    pippos (03-31-2008)

  6. #5
    Join Date
    Mar 2008
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Smile Featured Content Slider Modification

    Hi,

    Thanks for your help it works perfectly for me but when you put mouseover and mouseout of a link (example 1 2 3 4) and the pagination rotation is on 1 the title remains for the specific one you moved your mouse on top of it until the rotation continues to the next one. If you would like to look up for this problem I will be glad.

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

    Default

    Try the below contentslider.js file.

  8. #7
    Join Date
    Mar 2008
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Smile Featured Content Slider Modification

    OK now it is working fine, thanks you again just what I was looking for.

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
  •