Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7556141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:47:37+00:00 2026-05-30T11:47:37+00:00

I have a little slideshow that I am trying to implement in a Sharepoint

  • 0

I have a little slideshow that I am trying to implement in a Sharepoint site. I have the show working, however, not to my total satisfaction.

The ‘problem’ smippet of code that I have (admittedly) used this from the internets:

$(xData.responseXML).find("z\\:row").each(function() {
        var title = $(this).attr("ows_Title");
        var imageLink = imageURL+$(this).attr("ows_FileLeafRef").substring($(this).attr("ows_FileLeafRef").indexOf('#')+1);
  var itemLink = itemURL+$(this).attr("ows_ID");
  var liHtml = "<div><img width='200' height='200'  src='" + imageLink +"'/><p align='center'>"+ title + "</p></div>";

However, I would like the var title to be of: a. heavier font-weight (500), and b. lesser line-height.

I’ve tried a bunch of things that don’t work. I tried giving the

element in this part of the code:

> var liHtml = "<div><img width='200' height='200'  src='" + imageLink
> +"'/><p align='center'>"+ title + "</p></div>";

its own id, and then tried manipulating that id with some jquery, no luck. I tried manipulating the var title when I declare the var, but no luck.

What is this dummy jquery newb missing?

EDIT

A little extra info that I probably should have included (I try to keep these things as short as possible, then realize I’ve missed pertinent information):

My understanding of CSS leads me to believe that I can have css in 3 places: separate style sheet, in the head of the doc, or inline. I can’t put anything in the document head, because I am doing this all in a SP webpart. I tried making < p id=”title_par” align=’center’>, then maniputlate the $(“#title_par”).css with jquery, but no luck. Also, tried to do it inline, with , but that didn’t work either.
So basically, I have no access to the .css file (I have no Sharpoint designer to work with, I only have Site Collection admin privileges)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T11:47:38+00:00Added an answer on May 30, 2026 at 11:47 am

    This can be resolved with CSS.

    Add a class to the <p align='center'> like <p align='center' class='classOfTitle'> to style it via CSS and use:

    .classOfTitle {
         line-height: 1em; /* you can use any units */
         font-weight: bold; /* font-weight in units isn't suported by all browsers (the standars are inherit, bold and normal */
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have little working knowledge of python. I know that there is something called
i have little bit of problem while working with External entity reference in External
I have little problem, I implement my own membership provider and it works fine.
I have little problem in my iPhone application code but can not identify. please
i have little problem with boost::asio library. My app receive and process data asynchronously,
Good day. I have little usage of Flash CS4, however i have to build
I'm looking to implement a fairly basic jQuery slideshow. One that automatically loops through
I have a problem that the onHover state doesn't appear while the jQuery .cycle()
I have a web app that contains a slide show with about 10 large
I would like to make a little Slideshow with jquery. The first Problem: If

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.