TMP headlines for your band web site

Discussion in 'tMP Computer Corner' started by steve_r, Apr 12, 2006.

  1. steve_r

    steve_r Member

    Hi

    I have written some flash panels which can be used to put up to date TMP headlines on your bands website.

    It has been tested on www.hathernband.co.uk for a while now and John has given me permission to serve them from TMP.

    If you would like to use them for your site please go to http://www.hathernband.co.uk/html/tmpbanners.shtml and follow the instructions.

    All you need to do is to copy a few lines of html into your html and away you go. If you have any problems please email me via mailto:webmaster@hathernband.co.uk

    Hope you like these, please let me know if you use them

    Thanks to John for hosting them

    Steve
     
  2. Steve

    Steve Active Member

    Very good Steve, you're more useful than that wife of yours who is just mean!!!
     
    Last edited by a moderator: Apr 12, 2006
  3. axio

    axio Member

    These are really neat :)

    As far as I can tell these link to files hosted by tMP. Would it be possible/permitted to host the swf's ourselves so that there isn't a blank box on our site if tMP is down?
     
    Last edited: Apr 13, 2006
  4. steve_r

    steve_r Member

    The honest answer is I am not sure if they would work. The panels open an xml file from tmp and flash has some security rules built in to make sure that xml files are loaded from the same subdomain as the movie was served from. They may or may not work.

    You are welcome to try, but I think they are best on tmp for several reasons. I can fix bugs without bothering you and I can change the source of the xml feed without affecting you. If you copy them you are likely to find they become permanently broken if we ever have to move things around.

    I have used this on the hathern site for 6 months now and TMP has always been very reliable. Its only a few teething troubles with the new server causing the odd problem now and I am confident they will soon be sorted by John

    On the blank box - I think you can change the background colour so you dont see a white box if the movie doesnt load. I will look into that, update the page on the hathern site tonight and post back here.

    Cheers

    Steve
     
  5. steve_r

    steve_r Member

    Could the Mods make this 'sticky' or somewhere permanently available please?

    Ta

    Steve
     
  6. dyl

    dyl Active Member

    Stuck, and moved to tMP News for the time being.
     
  7. andyh

    andyh Supporting Member

    An excellent addition to our front page!

    Many thanks from Woodbridge Excelsior

    Andyh
    (http://www.woodbridgeexcelsiorband.org/
     
  8. TheMusicMan

    TheMusicMan tMP Founder Staff Member

    Nice addition Andy, thanks for this.

    Anyone else: feel free to add this to your www site.
     
  9. Di

    Di Active Member

    Since we published the banners, there has been a change in IE which stops active content like flash from running until you click on it. If you have the banner on your site there is a workaround for this.

    If you pop back to the hathern site at http://www.hathernband.co.uk/html/tmpbanners.shtml , we have changed the scripts slightly so that the page is written by javascript rather than in the html.

    This is a workaround provided by Adobe so if you want to get rid of the click to activate message you can do another quick cut and paste again from our page as you did before.
     
  10. steve_r

    steve_r Member

    Hi Y'all

    Thanks to everyone who has used the flash headlines box on their web.

    The take up has not been as high as I hoped it would be and I think a part of that is down to the fact that the flash panels were not configurable for colours etc.

    To fix this and make it easier to customise I have written a javascript and CSS version which is demoed on the PolySteel links page and available to download from theMouthPiece.com.

    Anyone fancy giving it a go?:biggrin:

    Let me know if you have any problems

    Steve
     
  11. andyh

    andyh Supporting Member

    Installed and working fine for Woodbridge. No problems so far!

    Many thanks,
    Andy
     
  12. steve_r

    steve_r Member

    Nice one Andy Thanks - Lets keep em coming now.

    I notice you get an underline on the link and I dont :confused: (I thought I had turned it off) Still looks nice though.

    Do you prefer this to the flash then? I would be interested to know why

    Cheers

    Steve
     
  13. andyh

    andyh Supporting Member

    My site uses several css stylesheets so I'll have to check to make sure yours isn't being overridden by one of mine - I'm not at my own pc to check just now though.

    Yes, actually I do prefer the javascript solution to Flash - at lease one of our members was being bothered by prompts to install flash and didn't want to; so this is a neat solution for us as there's no other flash objects on the site.


    Cheers,
    Andy
     
  14. Leyfy

    Leyfy Active Member

  15. andyh

    andyh Supporting Member

    Steve,

    re: discarding the underline from links, I added the line in red below to the stylesheet declarations and that does the trick...

    a.tmpPanel:hover {
    color: red;
    text-decoration: none;
    }

    Regards
    Andy
     
  16. steve_r

    steve_r Member

    I thought that would come from the .tmpPanel style but maybe not for :hover?? Anyway fixed for posterity - thanks for your help in testing it out

    Any more takers?

    Cheers

    Steve
     
  17. steve_r

    steve_r Member

    You used the flash one - nice!

    BTW If you change all instances of bgcolor to be #000000 you will lose the white background as it loads.

    cheers

    Steve
     
  18. Leyfy

    Leyfy Active Member

    cheers for that - will have a go when I next update the website :cool:
     
  19. andyh

    andyh Supporting Member

    OK, head above parapet time :) (I don't claim to be a CSS expert but I have messed around with it a lot on Woodbridge's website).

    The text-decoration is one of those funny CSS properties that isn't inherited so you have to explicitly declare it in child elements.

    Andy
     
  20. Horco

    Horco Member

Share This Page