Results 1 to 7 of 7

Thread: Featured Content Slider

  1. #1
    Join Date
    Apr 2008
    Posts
    104
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default Featured Content Slider

    hi..
    http://www.dynamicdrive.com/dynamici...tentslider.htm
    how can i make Auto slide work for everytime like if someone click pagination link.. Auto thing still works.. is it possible.?

  2. #2
    Join Date
    Apr 2008
    Posts
    104
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    Anyone Care to help? and can i put any image instead of 1 2 3 in pagination?

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

    Default

    For 1), try removing the below code inside the .js file:

    Code:
    	paginatediv.onclick=function(){ //cancel auto run sequence (if defined) when user clicks on pagination DIV
    	if (typeof window[sliderid+"timer"]!="undefined")
    		clearTimeout(window[sliderid+"timer"])
    	}
    For 2), simply pass in the desired image tags into the 3rd parameter of the script when initializing the script, for example:

    Code:
    var linktext=["<img src='1.gif' />", "<img src='2.gif' />", "<img src='3.gif' />", "<img src='4.gif' />"] //custom pagination links text array
    ContentSlider("slider1", 3000, linktext) //Auto rotate slider plus custom pagination links text

  4. #4
    Join Date
    Apr 2008
    Posts
    104
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    thanks but how to remove borders from these images..?

  5. #5
    Join Date
    Apr 2008
    Posts
    104
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    and how can i remove NEXT from pagination

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

    Default

    To remove the border for the pagination images, just specify that when you pass in the HTML codes, for example:

    Code:
    <img src='1.gif' border="0" />
    and how can i remove NEXT from pagination
    Find the line below, and add to it the code in red:
    Code:
    	pcontent+='<a href="#" style="display:none; font-weight: bold;" onClick=\"ContentSlider.turnpage(\''+sliderid+'\', parseInt(this.getAttribute(\'rel\'))); return false\">'+(slider.nextText || "Next")+'</a>'

  7. #7
    Join Date
    Apr 2008
    Posts
    104
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    thank alot...

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
  •