SharePoint 2010 : Slider webpart

Hi techies,
I got a requirement to implement slider webpart in SharePoint2010 and i created slider webpart by using BXslider plugin
here is the Screenshot:
<script type="text/javascript" src="/_layouts/Scripts/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="/_layouts/Scripts/jquery.bxSlider.min.js"></script>
<style type="text/css">
.bx-wrapper
background-color:inherit;
padding:10px 10px 10px 10px;
.vclass
vertical-align:top;
.tdinfo
font-family:Trebuchet MS !important;
font-size:16px !important;
vertical-align:top;
color:#2c3e50;
line-height:normal;
text-align:justify;
.wpheading
font-family:Trebuchet MS !important;
font-size:22px !important;
background-color:#e6e5e5;
padding:10px 10px 10px 10px;
margin-top:3px;
margin-bottom:10px;
color:#2f2f2f;
.tdtitle
font-family:Trebuchet MS !important;
font-size:20px !important;
padding:10px 0px 10px 0px;
color:#2f2f2f;
margin-bottom:5px;
.tdlink
font-family:Trebuchet MS !important;
font-size:14px !important;
width:100px;
color:#2f2f2f !important;
background-color:#fec80d;
padding:5px 5px 5px 5px;
margin-top:3px !important;
.tdlink:hover
background-color:#F2F2F2;
color:#627AAD !important;
.tdlink a
color:#ecf0f1 !important;
text-decoration:none;
.tdlink a:hover
color:#e6e5e5!important;
text-decoration:none;
#sliderImage
vertical-align:top;
.bx-window
/*height:150px;*/
.bx-pager
margin-top:15px;
text-align : center;
.bx-pager a
color: #2f2f2f !important;
font-size: 16px;
padding: 0 10px;
.bx-pager .pager-active, .bx-pager a:hover
background-color:#fec80d;
color: #2f2f2f !important;
text-decoration: none;
a
text-decoration: none;
#centeroverlap {
left: 300px;
top: 36px;
font-family: Verdana;
line-height: 80%;
</style>
<script type="text/javascript">
$(document).ready(function () {
$('#slider1').bxSlider({
auto: true,
pager: true,
controls: false,
pause: 10000
</script>
<div class="wp-Cover">
<div class="wpheading">News</div>
<div id="slider1" >
<asp:Repeater ID="rep1" runat="server">
<ItemTemplate>
<!--<div style='<%# "background: url('" + Eval("Image") + "') no-repeat top center" %>' >-->
<table >
<tr>
<td colspan="2"><div class="tdtitle" >
<%# DataBinder.Eval(Container.DataItem, "Title")%>
</div>
</td>
</tr>
<tr>
<td id="sliderImage">
<img class="img-border" alt="" src="<%# DataBinder.Eval(Container.DataItem, "Image") %>" width="190px" height="150px" />
</td>
<td class="tdinfo">
<%# DataBinder.Eval(Container.DataItem, "Body")%>
<div ><a class="tdlink" href="<%# DataBinder.Eval(Container.DataItem, "ListItemUrl") %>">[Read More..]</a></div>
</td>
</tr>
<tr>
<td></td>
<td>
</td>
</tr>
</table>
</ItemTemplate>
</asp:Repeater>
</div>
</div>
<script type="text/javascript">
$('img').error(function () { $(this).hide(); });
$('img').each(function () { this.src = this.src; });
</script>
above code is design code of my webpart
which fetched data from a list and binds data to the tags
Now my requirement changed.. they need a slider with background image and contents on the image
[Note: both the images and contents should slider]
For the requirement i tried many approached but i am not able to succeed. 
Please any help will be appreciated.

Try below:
https://www.nothingbutsharepoint.com/sites/eusp/Pages/SharePoint-Integrate-a-Slider-with-the-Content-Query-Web-Part-Part-1-What-does-my-Slider-Need-to-Work.aspx
<div id="slides">
<div class="slides_container">
    <div class="slide">
        <a>link 1</a>
        <div class="caption">
            <p>caption text 1</p>
        </div>
    </div>
    <div class="slide">
        <a>link 2</a>
        <div class="caption">
            <p>caption text 2</p>
        </div>
    </div>
</div>
</div>
http://social.technet.microsoft.com/Forums/sharepoint/en-US/aa37ab24-9fe2-4418-8acc-b6a7e1f15646/sharepoint-slider-webpart?forum=sharepointgeneralprevious

Similar Messages

  • SharePoint 2010 Slide Library Unable To Select Managed Metadata When Publishing.

    Hello,
    I'm running into some problems with Managed Metadata when uploading (publishing) slides in a SharePoint 2010 Slide Library.  If I have Managed Metadata Site Columns that are set to be required in my slide library, and I publish my slide(s) into the
    SharePoint 2010 Slide Library I'm not prompted to enter in my required Metadata before the slide is published.  The slide will upload, but then I would need to edit the slide and then enter in the required Metadata.
    If I create a new column with a type set to Choice for example, and set it to be required and I upload (publish) a slide I'm now prompted to enter in the required Metadata, but all the Managed Metadata choices are grayed out and I'm unable to select anything. 
    I'm able to select a Choice for the new column.
    Is this a bug within SharePoint 2010 that does not allow me to enter in Required Managed Metadata Tags on uploading (publishing) slides?
    Regular document libraries work just fine with required Managed Metadata.
    Thanks for any assistance.
    v/r
    JShidell
    v/r JShidell

    Hi,
    According to your post, my understanding is that the Managed Metadata not prompted to enter value in the required metadata.
    I had tested with this issue, and I found the same issue.
    We will help to submit the issue to proper pipeline for you.
    Again, thank you for your report which will definitely make SharePoint a better products. There might be some time delay. 
    Appreciate your time and patience.
    Thank you for your understanding and support.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Can't Publish Slides from PowerPoint 2013 to SharePoint 2010 Slide Library

    Hello all,
    When I attempt to publish PowerPoint 2013 slides to a SharePoint 2010 Slide Library it informs me that it failed. I am able to publish PowerPoint 2010 slides without issue. All of my permissions are correct. Is it possible to publish PowerPoint 2013 slides
    to SharePoint 2010?
    The weird thing is that while I can't publish, I can compile a new slide deck in PowerPoint 2013 using the "Copy slide to presentation" button in the slide library of my SharePoint 2010 site.
    Thanks!
    Kelly
    Personal Blog: http://thebitsthatbyte.com

    When I get this error it is because SharePoint is not passing the credentials to the network share where the slide library is located. So when PowerPoint
    tries to upload slides to SharePoint it is giving an error of unauthorized (because your credentials are not being passed correctly). Every part of SharePoint is essentially a network shared drive just like you have an internal network to share files between
    employees. Assuming you are having the same problem for the same reason, here's the work around: 
    Set up a mapped network drive that goes to where the slide library is located. It should be something like this: \\sp.sharepoint.com@SSL\site\Sales\Slide Library
    When you connect to this drive it will prompt you for a log in (just like SharePoint would)
    Once you log in your credentials will be cached (until you reboot your system or it times out)
    You can then publish to your PowerPoint slides to the library either directly through PowerPoint or by going to the upload slides option on SharePoint
    The problem is it only last until you reboot. When you reboot it clears out your credentials then you have to log in again. I’m hoping someone can figure out why SharePoint is
    not passing the credentials properly so we can have true fix to this issue. Until then, this will get you by. 

  • Cannot Publish Slides from PowerPoint 2013 to SharePoint 2010 Slide Library

    I have the 64-bit version of Windows 8 Release v1.0, Internet Explorer version 10 (10.0.9200.17183), Office 2013 Professional 32-bit, and a SharePoint 2010 environment.  I cannot publish slides to the SharePoint environment at all.  When
    I attempt to do so from PowerPoint 2013, I receive an error indicating all slides (X of X) failed to upload.  When I attempt to use the option in the SharePoint 2010 Slide Library (Upload > Publish Slides) I receive the error of "This feature
    requires Microsoft Office PowerPoint 2007.  Either the application is not installed, or your browser is not configured to support ActiveX controls."
    I have added the URL for the site in question to my "Trusted Sites" in Internet Explorer 10.  I read through the KB 2716529.  There is no TabProcGrowth registry entry under HKEY_CURRENT_USER, but there is one under HKEY_LOCAL_MACHINE
    and the value is set to "Medium" which appears to be accurate.  I tried running the "Fix it For Me" option offered with that KB, and the wizard indicated the problem could not be found on my computer.
    How can I resolve this issue?  Utilizing slide libraries is a very important feature of SharePoint for my organization, and going back to Office 2010 is simply not an option. 

    Hi Jen_O,
    According to your description, my understanding is that you were unable to publish Slides into SharePoint 2010 with Office 2013.
    For narrowing this issue, let's verify the followings:
    Please test on other machines with the same system configuration, compare the result.
    Please test on other machines with 32-bit system and IE 10, compare the result.
    Whether you are able to publish Slides from Windows 7 and Office 2013 32-bit.
    Whether this issue occurres for all slide files with Office 2013.
    Please create a new slide in PowerPoint 2013, and check if it could be uploaded into a new Slide library.
    In addition,  Office Web Apps (as part of SharePoint 2010) allow SharePoint users to view and edit Office documents (Word, PowerPoint, Excel etc.) from within the browser. Typically we can click on a link to a PowerPoint, for example in a document library,
    and be taken to a new page to present PowerPoint.
    More information:
    https://support.office.com/en-us/article/Start-using-Office-Web-Apps-in-SharePoint-2010-995dc117-6ca9-4452-9ca0-a6a9009dc907?ui=en-US&rs=en-US&ad=US
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • SharePoint 2010 - Yammer webpart- Cannot connect to Groups

    We have a SharePoint 2010 environment with the Yammer webpart installed
    when adding the Yammer webpart to a page we can connect to user feeds, company feed, but when we want to add a GroupFeed and try to search for groups we get following:
    Somebody encountered this issue before?

    Hi,
    As this question is more related to the Yammer web part configuration, I suggest you create a post to the Yammer Support, more experts will help you find the solution
    of the issue.
    Support for Yammer:
    http://support.microsoft.com/gp/yammer
    Best regards,
    Zhengyu Guo
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they
    provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
    Zhengyu Guo
    TechNet Community Support

  • SharePoint 2010 Calendar Webpart

    Hi Team,
    I have a SharePoint 2010 Calendar View webpart and I want to hide/disable the weekends (saturday, sunday).
    Please let me know the plausible solution for the same.
    Regards Sourabh Soni

    Hi Sourabh,
    I am just redirecting you to other thread on msdn for same issue.Please go through this.
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/30a457f9-5071-4c8f-9816-083a72728e70/hidingremoving-weekends-sat-and-sun-from-sharepoint-calendars?forum=sharepointgeneralprevious
    Hope this helps you.
    Regards
    Soni K

  • Sharepoint 2010 sandboxed webpart page load

    hello,
    I need to run some coding at the time of page load,under which event i need to write coding.
    please help.
    thanks

    Hello,
    Try below code to see current user group membership:
    bool isMember = false;
    using (SPSite site = new SPSite("http://siteurl"))
    SPWeb web = site.RootWeb;
    string groupName = "Group Name";
    var spGroup = web.Groups[groupName];
    isMember = web.IsCurrentUserMemberOfGroup(spGroup.ID);
    Refer this link code for hiding webpart:
    http://social.msdn.microsoft.com/Forums/en-US/721be330-dab5-4b72-9bab-da62f5a0dd02/how-do-i-hide-a-web-part-programmatically-so-i-is-only-visible-in-edit-mode?forum=sharepointdevelopmentlegacy
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • SharePoint 2010 Dataview webpart in Datasheet view

    Is it possible to display a Dataview webpart in Datasheet view?
    To be more precise,I am using Dataview webpart to display a XML file data(using XML file connection in SPD).I would like to know if i can display this data using Datasheet view from the DVWP.
    Any inputs/suggestions would be highy appreciated....

    Is it possible to display a Dataview webpart in Datasheet view?
    To be more precise,I am using Dataview webpart to display a XML file data(using XML file connection in SPD).I would like to know if i can display this data using Datasheet view from the DVWP.
    Any inputs/suggestions would be highy appreciated....

  • SharePoint 2010 keywords webpart

    Hello,
    I'm looking for a webpart like this
    http://www.mcac.maryland.gov/newsroom/TerrorismNews in this site. Can I do something similar to this? I don't think tag cloud can achieve this, it takes users to mysite which I don't want.
    I want users to see top 10 keywords, and when they click, it takes them to the related article.
    Thank You

    Hi Danny,
    As the tags can be used to tag many documents, and you want to direct users to one of the documents by clicking the tag, then you need to customize your own web part with code.
    In the code, you need to get all the documents which have been tagged by this tag with SocialTagManager.GetAllUrls Method:
    https://msdn.microsoft.com/en-us/library/office/microsoft.office.server.socialdata.socialtagmanager.getallurls(v=office.14).aspx
    And then you can set an onclick event to open the one of the documents by clicking the tags.
    Best regards.
    Thanks
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Free News Slider Webpart on Sharpoint 2010

    Hi all, 
    I Need a Free Slider News Webpart for Sharepoint 2010
    Thanks in Advance 

    I haven't used it, but here's one available on CodePlex.
    http://sharepointnewsslider.codeplex.com/
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • SharePoint 2010 and PowerPoint 2010: Open PPTX File in Edit Mode and Open PPSX in in Slide Show Mode

    I have the following issue while opening PowerPoint PPTX file and PPSX from the Document ID link provided by SharePoint 2010.
    Issue
    Initially when I opened PPTX file from the DOC ID link from SharePoint 2010, it is opening up in Slide Show mode which is not how we want it to be.
    For PPSX, it is opening in Slide Show mode which is what we wanted.
    Thus, I did some research online and found this article at support.microsoft.com/kb/q299824  which requires some modification to the Registry of the client machine.
    I did the change as follows
    Open Registry
    Look for “Computer\HKEY_CLASSES_ROOT\PowerPoint.Show.12”
    Set BrowserFlags value to a
    After the change, PPTX is opening in Edit Mode in PowerPoint which is correct but PPSX is also opening in Edit Mode in PowerPoint which is not correct
    This issue only occurs if I open the document from the Doc ID link in SharePoint. If the documents are downloaded, it will not have this issue.
    Questions
    Can I set PPTX to open in Edit Mode and PPSX to open in Browser Mode?
    Is this fixed as in if I change the registry setting it will affect both file types?
    Is there other ways I can achieve opening PPTX in Edit and PPSX in Browser Mode?
    [Environment]
    My Client machine is running on I.E 9 and Office 2010.
    Thank you.

    Hi,
    To make the PPTX file open in Edit mode and PPSX file open in Slide Show mode, I recommend to edit the registry key HKEY_CLASSES_ROOT\PowerPoint.Show.12 to 8.
    I tested the scenario in my environment with changing the key value to 8, after that PPTX file opened in Edit mode and PPSX file opened in Slide Show mode.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • SharePoint 2010 Query string parameter pass between visual webparts

    Hi
    I should pass a query string value from one visual webpart to another visual webpart in SharePoint 2010 .
    Could you please help me like how we can pass
    Thanks
    Siddartha

    In the webpart you can add the code like "Response.Redirect("Page2.aspx?CustomerID=326");"
    Once you develop the webparts, add them to the respective pages based on your required functionality.
    Please check the similar thread
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/3099100f-72b2-4850-ba50-1e02416e9d9c/passing-query-string-between-two-webparts-usercontrols?forum=sharepointdevelopmentlegacy
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Sharepoint 2010 Webpart debugging - Writing to the console

    I am creating a SharePoint 2010 Webpart, and I'd like to write to the console for debugging purposes. Unfortunately the command Console.Writeline doesn't seem to work for me. How do I fix this??

    Unfortunately, the functionality you're looking for doesn't exist.  Web parts are primarily used for web applications and are built within class libraries, which have no console functionality at all. Therefore, prevents writing to the console.
    Alternatively, you can use Visual Studio to debug the web part and step through the code using breakpoints.  Visual Studio 2010 allows you to Debug the web part by hitting "F5".
    Here's a link for some resources to help you get started developing web parts for SharePoint 2010.
    http://donahoo-development.com

  • Sharepoint 2010, after restore, webpart only can viewd by authenticated users in the public page.

    Hi, I restore a Site from one server to other which have a different domain.
    I installed the wsp files, I published the page, I check for the site pages and everything is ok but, when I visit the page as normal
    user from internet, I get the next error when I visited the pages with webparts.
    When I visit the page with an authenticated user, that show me the webpart normaly.
    I try to check for permissions in the page, I click page permissions
    or library permissions and shows the next:
    Shows me the same error.
    Any ideas?
    Thanks a lot!!

    Hi,
    As I understand, after you restored the site from one server to other server you encountered the error.
    1. From the error you provided, it seems that it cannot find relative files, it is possible that you did not restore the site fully. You can restore the site again. 
    2. You can check the ULS log with the correlation ID, and get the details of the errors. You can fix the problems according to the details of the errors. 
    The case below is about there are several ways to backup and restore site in SharePoint 2010, you can refer to the case.
    http://sharepoint.stackexchange.com/questions/34639/problem-restoring-sharepoint-from-backup 
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • SharePoint 2010: How to map documentset attibutes to objects - In SharePoint Webpart

    Hey,
    I guess it's a pretty simple question but I really do not get one inch closer to a solution. I'm working on a WebPart on SharePoint 2010 which manages a documentset (document library with an custom content type). Creating an storing of documentssets works fine
    by now but I do have problems in mapping the stored sets to my c# objects backwards. I actually do not find the fields in my object structure while debugging my code
    I create the docuemtset like this...
    internal DocumentSet CreateDocumentSet(SPList spListObject, SPContentType spContentType, object itemToCreate, Type typeOfItemToCreate)
    var properties = new Hashtable();
    Guid id = Guid.NewGuid();
    //Description
    foreach (PropertyInfo p in typeOfItemToCreate.GetProperties())
    properties.Add(p.Name, p.GetValue(itemToCreate, null));
    SPFolder parentFolder = spListObject.RootFolder;
    DocumentSet docSet = DocumentSet.Create(parentFolder, InnovationListName + "_" + id, spContentType.Id, properties, false);
    return docSet;
    I'm thinking of somethink like this ...
    internal MyObject DocSetToObject(SPList list, int ID)
    var docset = DocumentSet.GetDocumentSet(list.GetItemById(ID).Folder);
    return new MyObject
    Text= docset...,
    Id = docset...,
    Tags= docset...,
    Title = docset...,
    Hope you can help me out.. This problem is killn me  ^^ ;-)
    Thanks
    Spanky

    Hi,
    According to your description, you might want to create a class to perform the CRUD operations against a DocumentSet in your library.
    Here is a demo about how to handle an item for your reference:
    //Create a MyItemWrapper.cs:
    public class MyItemWrapper
    public int ID { get; set; }
    public string Title { get; set; }
    SPList list;
    SPListItem item;
    public MyItemWrapper()
    using (SPSite site = new SPSite("http://sp"))
    using (SPWeb web = site.RootWeb)
    list = web.Lists["List2"];
    item = list.Items[0];
    this.ID = item.ID;
    this.Title = item["Title"].ToString();
    public void setTitle(string t)
    item["Title"] = t;
    item.Update();
    this.Title = t;
    Feel free to reply if this is not what you want.
    Best regards
    Patrick Liang
    TechNet Community Support

Maybe you are looking for

  • MSI A88XM GAMING | Can't boot with new PCI-e x1 card plugged in

    Hi, I'm a owner to an MSI A88XM GAMING motherboard and I purchased a AverMedia Live Gamer HD card last week. After unboxing and installing the card to one of my PCI-e x1 slots the computer won't boot. All what happends is what the fans starts and the

  • Email Sync on Vista 64 not working

    Hi, I am using a N79. I have configured the Email Sync and it's working fine with Vista 32 bit. Now I've got a new PC with Vista 64 bit. I installed the PC Suite with the same version I as on the 32 bit Viste (7.1.30.9) The N79 is recognized by the P

  • Server problem with my imac - maybe due to Time Machine

    I am new to macs but have jumped in the deep end and not so long ago bought an Air (love it) and even more recently bought a 2011 iMac (love it too). Having set up my Air with apps etc I used Time Machine to install everything onto my iMac - it all w

  • Airport connection dropping off when computer sleeps

    Starting with the latest 10.4.8 update my airport connection drops when the computer goes to sleep. No amount of configuring will get the computer to recognize my airport. Turning off the power to the airport, waiting, and re-connecting does no good.

  • Multiple calls of same pricing routine while saving sale order

    Hi, I have a requirement where I have to modify a pricing routine 9XX for sale order. In pricing procedure, I observed that this routine 9XX is assigned to multiple pricing conditions (ZNN, ZMM, ZDD etc). I saw that this routine is getting called man