HTML - Ticker Problem.....
Hi everyone.
Im trying to place a ticker on my website. It has to able to be used on a number of pages. So having done a brief search on the net i came across this: Code: <DIV ID="TICKER" STYLE="overflow:hidden; width:520px"> <? include "myimportlib.php" ?> </DIV> <script type="text/javascript" src="webticker_lib.js" language="javascript"></script> From this site: http://www.mioplanet.com/rsc/newsticker_javascript.htm But, the prblem is this, I have to make every page, that has the code, into a php file. I thought that its point was to be placed into html. Does anyone know how to solves this or is there a better way I like the idea that i can just alter the myimportlib.php file and all the tickers will be correct and i don't have to edit code all over my site.. Hope this has made sense, it kinda does to me. lol: Bobski Similar TutorialsHi, I'm trying to modify an HTML-based RSS ticker that I've found online. For reference, the code can be found at http://www.rsspump.com. Currently, the code is written to display a certain number of recent posts (for my purposes, tweets from a Twitter account). The default setting displays anywhere between 1-9 of the most recent posts. The issue is that I am using the ticker to display a list of daily announcements. The number of announcements we tweet varies from day to day, and become irrelevant once the day is over. Is there a way to rewrite this code so that the posts (tweets) displayed are based on the day they are posted rather than the number of recent posts? For example, instead of displaying my 5 most recent tweets, I'd like to display everything I've tweeted today and only things I've tweeted today. I hope that makes sense. Anyways, I've posted the code below. Thank you so, so much to anybody who can help. <iframe src="http://s1.rsspump.com/rss.aspx?s=00000000-0000-0000-0000-000000000000&speed=2&t=0&d=0&u=0&p=1&b=0&ic=9&font=Verdana&fonts ize=12px&bgcolor=&color=000000&type=typewriter&su=1&sub=1&sw=1" frameborder="0" width="100%" height="16" scrolling="no" allowtransparency="true"></iframe><noframes><div style="background-color: none transparent;"><a href="http://www.rsspump.com/?web_widget/rss_ticker/news_widget" title="News Widget">News Widget</a></div></noframes> Hi all, Just signed up. I dabble occasionally with coding and would appreciate your help on a slight problem. I'm thinking of putting in a scrolling ticker with links to files on site so this is what I've put in (link removed): <marquee behavior="scroll" direction="left" bgcolor="#192025" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="4"><a href="link">Text</a></marquee> This is where my problem starts. The text is by default set to be black, therefore I can't see the text as the background colour is a shade of black. How do I change the text colour to white for this one bit? That's the first problem, I then tried to manually change it by adding some codes like this, which is messy: <marquee behavior="scroll" direction="left" bgcolor="#192025" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="4"><a href="link"><font size="3" face="Yanone Kaffeesatz" color="white"> Text</a></font> </marquee> It is now white text but the problem is that it appears in Times New Roman I think. I then tried deleting the face=Yanone Kaffeesatz strand but it does not work. Thing is, with the first <marquee> example in my post, it defaults to the Yanone Kaffeesatz font with no mention of it (as that is what I use on my site), but it's in black. When I add the other string in the second example I get it in white but not in the font I want. Any help would be much appreciated. I'm trying to set up a scrolling news ticker for my Internet radio station. Specifications: * Must be at least 35px high. Width is 100% of the page. * Must be an scrolling ticker moving left and must be able to stop when scrolling over it. * Must be real-time (and maybe will have a timestamp, if possible) * Would like these RSS feeds to be integrated into this news ticker. WWPM MediaNet Station Feeds Station Blog: http://wwpmmedianet.wordpress.com/feed/ Twitter: http://twitter.com/statuses/friends_.../173749973.rss Central Illinois Regional News RSS Feeds: Herald & Review Breaking News: http://www.herald-review.com/search/...c&s=start_time Herald & Review Prep Sports: http://www.herald-review.com/search/...c&s=start_time WAND-TV Local News: http://www.wandtv.com/Global/categor...clienttype=rss WICS-TV Regional News: http://www.wics.com/template/inews_w...w.wics.com.xml Regional Weather: http://feeds.weatherbug.com/rss.aspx...st&zcode=z4641 St. Louis Metro & South Central Illinois Regional News RSS Feeds: STLToday.com Local News: http://www2.stltoday.com/search/?q=&...=rss&t=article STLToday.com Metro News: http://www2.stltoday.com/search/?q=&...=rss&t=article STLToday.com Metro East News: http://www2.stltoday.com/search/?q=&...=rss&t=article KSDK-TV Local News: http://www.ksdk.com/rss/news.aspx KPLR-TV Live Feed: http://www.kplr11.com/news/rss2.0.xml KMOV-TV Local News: http://www.kmov.com/news/local/index.rss2 KTVI-TV Fox 2 Top Stories: http://www.fox2now.com/news/rss2.0.xml Stock Market Info: If possible (even if it involves a second ticker): current live market prices with DJIA, NASDAQ, S&P 500 and the Chicago Board of Trade I would really appreciate it! Thank you! Hi everyone, Basically I want to add 3 tickers from this site: http://www.worldometers.info to my page. I've tried viewing the page source and copying but having some issues. Let's say I want to add the "CO2 emissions this year (tons)" ticker; what is the code I need please? Any help is much appreciated. Thank you! Can someone help me create a scrolling news ticker in HTML code? I want to put rss feed into this scrolling ticker from an rss feed like yahoo news etc. It would be greatly appreciated if someone can help or give me the code. Ill be glad to put your name in the code. THanks. Hello everyone. =) I'm still very much a n00b when it comes to web development, so there's still a LOT I don't know how to do (and I can't even search Google very well, 'cuz I don't know the correct terms). That said...I apologize if I put this in the wrong section; I'm not really even sure where this topic belongs. =\ If you have any coding knowledge, or know a website that can help me, I'd greatly appreciate it. Thanks in advance!! 1) I really like music, so I'd love to have an interactive Billboard music chart on my site. By "interactive", I mean "you get a list of the top 40 (or top 100) songs, and if you click the songs, you'll hear them play". I'm thinking that, in order for this to work, I need to find a online radio site or something. But I know nothing about streaming websites...so I'm not even sure if there already is a "Top 40s Billboard" station, or a "Top R&B/Hip-Hop" station. And if those stations do exist, I don't know how to add them to my website. Would I need something called RSS/XML??? What do I do??? 2) I want to add a sports ticker to my website. I'd love for it to be similar to this (I wish I could just pay them for the ticker, but I can't afford $130/month. So I'm wondering if there's a way to produce the same [or a somewhat similar] effect for free?): http://sports.tickertech.com/ As you can see, the ticker is quite expansive. You can get info on national sports news (Michael Vick, etc.) and you can also get specific news based on individual sports teams (San Francisco 49ers, Detroit Tigers, etc.) You can also click on each individual link (located on the left side) and read more information on each topic; it's really really cool. <3 Is there anyway to reproduce this effect? If that ticker involves too much work, then how do I at least get the NATIONAL/MAJOR sports news for each sports category (NFL, NHL, NBA, MLB, etc.) to show up? 3) Also, what's the best way to keep my sports ticker and music charts up-to-date (or even better, have it update by itself)? Would I need to use RSS/XML to do it??? I would like to have an image that takes 2 url like the following image... is it possible? if so, can someone please tell me how this could be done? Thank you very much.. NOTE: I tried doing this... <map name= 'url1' > <area shape= 'poly' coords= ' 0 , 0 , 50 , 0 , 0 , 50 ' href= 'url1.html' > </map> <a href= 'url2.html' > <img src= 'img.jpg' width= 50 height= 50 usemap= '#url1' > </a> but this only get 'url1' woring... Okay, I know that this problem is going to be really really easy, but I forgot how to do it. I use to own an older website and forgot the code. Anyways, I only know how to describe it. When I minimize the screen, it is minimizing the whole thing and collapsing it making the iframes smaller and the text fit into a smaller space. Most websites have a code (i don't know what it is) so that when someone minimizes their browser, it just makes the browser smaller and not the actual page. Here's what it looks like: http://www.freewebs.com/noeylani94/index.htm Try minimizing that and see how it looks. It collapses the whole page right? Can someone tell me the code how to fix it? Thanks =D hi, I am facing a a problem in setting background color for my web page. I have defined body as below in CSS : BODY { BACKGROUND: #4d662c } In IE7 it looks as desired (light bottle green)..In FF and Opera also it is acceptible. But IE6 displays it as dark green color. Can anybody suggest me a solution to make the color appearance same throughout all the browsers? Regards, html_jaas Im trying to get an image above my buttons but its not working .. It works when i do Code: <center> <img src="http://i226.photobucket.com/albums/dd131/kutakun/profile-1.png" width=600 height=100 border=0 alt="" title=""> </center> But shouldn't the css i made do it for me? HTML CODE ( Profile.html) Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head><title>Profile</title></head> <head> <link href="myStyle.css" rel="stylesheet" type="text/css" media="screen" /> </head> <style type="text/css"> <!-- body { background-color: #669999; background-image: url('http://i226.photobucket.com/albums/dd131/kutakun/backgound2.png'); background-repeat: no-repeat; background-position: center; background-position: top; #nav td {vertical-align: top; width: 94px; height: 42px; padding: 0px; margin-top: 150px;} #nav {padding: 0px; margin: 0px auto; border: none; text-align: center;} } --> </style> </head> <!-- MENU BAR --> <table id="nav"> <tr> <td> <div style="margin-left: 285px; margin-top:150px; padding: 0px;"><img src="images/home.png" alt="" border="0"></div> <td> <div style="margin-left: 20px; margin-top: 150px; padding: 0px;"><img src="images/gallery.png" alt="" border="0"></div> <td> <div style="margin-left: 20px; margin-top: 150px; padding: 0px;"><img src="images/support.png" alt="" border="0"></div> <td> <div style="margin-left: 20px; margin-top: 150px; padding: 0px;"><img src="images/contact.png" alt="" border="0"></div> <td> <div style="margin-left: 20px; margin-top: 150px; padding: 0px;"><img src="images/forum.png" alt="" border="0"></div> </td> </tr> </table> </body> </html> CSS CODE ( myStyle.css ) Code: #logo { width: 600; height: 100; background: url(http://i226.photobucket.com/albums/dd131/kutakun/profile-1.png) no-repeat; } Hi The div with background-color:blue is higher than the defined 500px in IE6. How can I fix this problem? Thanks for your hint. Patrick Code: <body style="margin-top: 0px"> <div style="background-color: #CCFFFF; width: 960px; height: 900px; margin-left: auto; margin-right: auto; margin-top: 0px"> <!-- the following div is to high in IE6 --> <div style="width: 960px; background-color:blue; height:500px;"> <div style="width: 960px; height: 5px; background-color: #FFFFCC; font-size: 0px"> </div> <div style="width: 960px; height: 62px; background-color: #CC99FF"> </div> <div style="position: relative; width: 489px; height: 318px; z-index: 1; left: -21px; top: 52px; background-color: #ffffff; border: 1px solid #5D5D5D;"> </div> <div style="position: relative; width: 489px; height: 318px; z-index: 2; left: 490px; top: -223px; background-color: #ffffff; border: 1px solid #5D5D5D;"> </div> </div> </div> </body> hi..this is Ankit i have a one html Flash Template This Type > See here when i upload that SWf files in My Website [They see This Type] ______________________________ please..! help me...! Website Website Files (if needed) I'm making a website for my web design class. I've run into an annoying problem. It seems this div container "blocks" me from typing any text under the image. How do I fix this? Hi Could some one please have a look at the code for this site for me as it displays perfectly in IE6/7 but is so far off the mark in firefox, not tried any others. http://www.scottishconsumercredit.com/_dev_colin I can't see where I am going wrong thanks hey guys, if someone could help me out with a problem I am having with server side includes it would be great. Here is the summary: Running Dreamweaver CS4 the page can be seen he www {DOT} savannahinjury {DOT} com/index.shtml As you can see on the left areas above practice areas, that should be aligned all the way at the top, and on the top right.. or down the entire right side for that matter there is space when there should not be. Can anyone tell me why this is? If I dont have the SSI it does not do this. Hello, I am new in html and I am trying to create my website. I try to do this: index.html: HTML Code: .... <body> <div id="_pi"> .... </div> </body> mycss.css: HTML Code: #_pi { margin: 0 auto; background: #f4f4f4 url(../images/bg.gif) top center repeat-y; width: 100%; height: 100%; } When I open with internet explorer my site the <div id="_pi"> is not full screen, It has an empty space like header and footer. Why, And how I can fix it? Hello! I'm having a <table><th>... problem. The font is always bold even thow i'm using a CSS style and i don't set it to bold. How can i avoid this? Thank you! I have some text which I want highlighting when hovered on. I've got that working but I need the text to change colour when I hover on it; White text and black background --> Black text and white background. I only want to know how to make the text colour opposite on hover. Ok, here's my website. http://wantedfraternity.webs.com/ Now my problem is...the image at the top and the chat room is center for me on Firefox...but on another user on my computer it isn't. And everyone else that comes to my chat site the image at the top isn't center'd and the chat is way off from being center'd. Can anyone help me plz? |