Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Title not displaying right

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36208
    Maikel
    Member

    http://jsfiddle.net/Maikel1234/qZBm4/

    I want it to say “Visit User’s Profile” in a perfect line. However, it’s simply in a block style.

    Anyone know how to fix this?

    #95020
    Mottie
    Member

    I changed this line

    var username = $('dt').find('a span').text();

    because it was adding all of the carriage returns from the HTML (inside the strong tag) – updated demo

    #95031
    Mottie
    Member

    Try this demo for more than one profile.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.