SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard billy_111's Avatar
    Join Date
    Jul 2009
    Posts
    1,683
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Twitter feed widget

    Hey everyone,

    I was wondering if this is possible. Take a look at this page:-

    http://www.glofamily.com/inner/

    Take a look at the Twitter feed at the top of the page. Is there a way i can NOT SHOW the image, and Xinfu title??

    I only want to show the body of the feed, and the link "Join the conversation". I dont want to show the image of the guy, and Xinfu title and even the "Twitter" image at the bottom left, as i already have one above.

    By doing this it will all fit in the box you see :-)

    So can i do this?

    Links to the javascirpt i am using is here:-

    http://widgets.twimg.com/j/2/widget.js
    http://www.glofamily.com/inner/js/twitter.js

    Can anyone help?

    Thanks
    Software Engineer ASP, ASP.NET, VB, PHP

    Kind regards
    Billy

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    The image and heading are wrapped with an element that has a class called "twtr-hd"

    You can hide it with this CSS:

    Code css:
    .twtr-hd { display: none; }
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Wizard billy_111's Avatar
    Join Date
    Jul 2009
    Posts
    1,683
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, that worked like a charm!

    Software Engineer ASP, ASP.NET, VB, PHP

    Kind regards
    Billy


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
  •