Jump to content

Craig

Legend
  • Posts

    27096
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by Craig

  1. it was gone midnight, i literally lifted the code off the page. Haven't had time to interrogate it yet! I'll have a closer look later on...
  2. This is the html of the page which holds the ticker itself: <!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <title></title> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1" /> <link type="text/css" rel="stylesheet" href="/nol/shared/css/news.css" /> </head> <body> <div class="ticki"><a id="tickerAnchor" href="#" target="_top" class="tickl"></a></div> <script language="JavaScript" type="text/javascript"> <!-- // Ticker startup function startTicker() { // Define run time values theCurrentStory = -1; theCurrentLength = 0; // Locate base objects if (document.getElementById) { theAnchorObject = document.getElementById("tickerAnchor"); runTheTicker(); } else { document.write("<style>.ticki{display:none;}.ticko{border:0px; padding:0px;}</style>"); return true; } } // Ticker main run loop function runTheTicker() { var myTimeout; // Go for the next story data block if(theCurrentLength == 0) { theCurrentStory++; theCurrentStory = theCurrentStory % theItemCount; theStorySummary = theSummaries[theCurrentStory].replace(/"/g,'"'); theTargetLink = theSiteLinks[theCurrentStory]; theAnchorObject.href = theTargetLink; thePrefix = "<span class=\"tickls\">" + theLeadString + "</span>"; } // Stuff the current ticker text into the anchor theAnchorObject.innerHTML = thePrefix + theStorySummary.substring(0,theCurrentLength) + whatWidget(); // Modify the length for the substring and define the timer if(theCurrentLength != theStorySummary.length) { theCurrentLength++; myTimeout = theCharacterTimeout; } else { theCurrentLength = 0; myTimeout = theStoryTimeout; } // Call up the next cycle of the ticker setTimeout("runTheTicker()", myTimeout); } // Widget generator function whatWidget() { if(theCurrentLength == theStorySummary.length) { return theWidgetNone; } if((theCurrentLength % 2) == 1) { return theWidgetOne; } else { return theWidgetTwo; } } // --> </script> <script language="JavaScript" type="text/javascript"> <!-- var theCharacterTimeout = 50; var theStoryTimeout = 5000; var theWidgetOne = "_"; var theWidgetTwo = "-"; var theWidgetNone = ""; var theLeadString = "LATEST: "; var theSummaries = new Array(); var theSiteLinks = new Array(); var theItemCount = 4; theSummaries[0] = "The government decides that the UVF ceasefire is over after days of riots. More soon."; theSiteLinks[0] = "/1/hi/default.stm"; theSummaries[1] = "The Millennium Dome's former lighting chief is jailed over a huge fraud."; theSiteLinks[1] = "/1/hi/uk/4243850.stm"; theSummaries[2] = "Bosnian Serb war crimes suspect, Sredoje Lukic, surrenders. "; theSiteLinks[2] = "/1/hi/world/europe/4243810.stm"; theSummaries[3] = "New Orleans nursing home owners charged with negligent homicide."; theSiteLinks[3] = "/1/hi/world/americas/4243678.stm"; startTicker(); //--> </script> </body> </html> It's URL is http://news.bbc.co.uk/nol/ukfs_news/hi/front_page/ticker.stm
  3. this appears to be the script they're using.... <script language="JavaScript" type="text/javascript"> <!-- function createClass() { if ((document.getElementById) && (document.body.innerHTML)) { document.write("<div class='ticko'>"); } else { document.write("<div class='tickh'>"); } } createClass(); // --> </script><iframe height="13" marginwidth="0" width="629" scrolling="no" src="/nol/ukfs_news/hi/front_page/ticker.stm" frameborder="0" marginheight="0"></iframe></div> See if you can decipher that - i'll have a look in the morning at it when i'm more awake...
  4. what about the one on the bbc news site??
  5. Craig

    Goodness me!

    Al Fayed got pissed off with the couple going between Harrods and Harvey Nichs price-matching one against the other then? * - if this turns out to have any similarity to what actually happened, my coment is just coincidence, OK?
  6. So you expect Pud on your doorstep dressed in a nurses uniform?
  7. Ask an Aussie and they'll argue that it IS teeny and insignificant..... (would have been a different story had they won like! )
  8. A match...?? The lost the series (and the ashes) as well!
  9. I managed to get some, and then got accused of pani buying by the bloke in the kiosk.... He shut up when I pointed out that I'd pumped 47 litres into a tank which has only has a 50 litre capacity.... Twat!
  10. Don't get me wrong, I wouldn't kick her out of bed.... She just wouldn't be my first choice!
  11. Lucy Pinder - page 3 model I believe.... Second photo, I like them all except the one on the extreme right....
  12. I had a dream last night that I was talking to my Mam about the baby me and the missus are expecting next month... Woke up this morning convinced it was real and even tried to get another hours kip to talk some more to her but it didn't work!
  13. Don't forget Solano.... And none of them are 'rejects', they all signed for Newcastle despite interest from Merseyside clubs...
  14. I think we're better being renamed as 'I don't want to play on Merseyside FC' after this summer's activity
  15. Craig

    Smiley things

    You just have......
  16. I bet they are gutted, 1k light 32111[/snapback] Only if they actually placed the bet!
  17. Honestly, Niall Quinn and The Guardian should fuck off 31660[/snapback] Getting rid of Kluivert and signing Owen in the same transfer window - bet you're gutted! 31663[/snapback] Not at all. And I don't think Kluivert is gutted either that he left the current #19 of the Premierleague. But I don't like it when Quinn writes crap about Kluivert's attitude, like he knows anything about it anyway. 31931[/snapback] My apologies, I thought you were a Newcastle fan. 32129[/snapback] I thought he'd become a Figo fan this summer....?
  18. Could always move......or find another job! 32066[/snapback] Jobs for high-flying financial whizzkids don't grow on trees you know? 32076[/snapback] But what about layabouts such as yourself?
  19. Ah Mr Halliwell...... I wondered when you'd show up, wasn't it you who said the Aussies would cream us??? 32064[/snapback] I'm sure he's just about to make a post commending the England team for being the better side over 5 games and fully deserving to win the ashes from the Aussies, playing some wonderful cricket. 32067[/snapback] Is that the sound of a squealing animal flying past the window?
  20. Could always move......or find another job!
  21. I'm amazed an aussie is having a go at Warne, the series could have been 5-0 to England without his brilliance. He's one of the alltime great legends in the history of all sports! 32049[/snapback] After reading his posts bitching about how there is more than one sport in this country I'm ready to petition the government to revoke his citizenship. 32053[/snapback] Ah Mr Halliwell...... I wondered when you'd show up, wasn't it you who said the Aussies would cream us???
  22. Was Lance Armstrong having a good ride??? I'll get me coat. 32033[/snapback]
  23. I was gonna say.... Not like you'd kick her out of bed is it? Just make sure you remind her of the cricket score though!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.