At work we have a couple flat screens that display news and current stock info. About a week ago it stopped displaying the marquee for the stock info.
Curious if anyone had any suggestions on what might of changed.
Perhaps something changed at yahoo,,,,
Stock symbol changed to protect my identity :)
Thanks -
<html>
-
<head>
-
<META HTTP-EQUIV=Refresh CONTENT="60; URL=bottom.asp">
-
<script>
-
function getQuote()
-
{
-
var Symbols="FO"
-
-
var x = new ActiveXObject("MSXML2.XMLHTTP");
-
arSymbols=Symbols.split(" ");
-
var theQuotes="";
-
x.Open("GET","http://finance.yahoo.com/d/quotes.csv?s=" + Symbols+"&f=sl1d1t1c1ohgv&e=.txt", false);
-
x.Send();
-
theQuotes=x.ResponseText;
-
theQuotes= theQuotes.replace(/"/g,""); // remove double quotes
-
-
-
var arQuoteLines=theQuotes.split("\n")
-
var finalString="";
-
var arTempLine=null;
-
-
-
var tmpString="";
-
for(var i=0;i<arQuoteLines.length-1;i++)
-
{
-
arTempLine=arQuoteLines[i].split(",");
-
tmpString+='My stock $' + arTempLine[2];
-
}
-
-
showQuotes.innerHTML=tmpString ;
-
}
-
-
</script>
-
<title>None</title>
-
<style>
-
<%
-
response.write "table{font-family: verdana, arial, sans-serif; font-size:22pt; color:'#ffffff'; background-color:'#000000'}"
-
response.write "input{font-family: verdana, arial, sans-serif; font-size:24pt; color:'#ffffff'; background-color:'#000000'}"
-
-
response.write "</style>"
-
response.write "</head>"
-
response.write "<body onload='getQuote();'>"
-
-
response.write "<table width='100%' height='100%'border=0><tr>"
-
Response.Write "<tr class=Color1>"
-
-
Response.Write "<td align=left width='1%'>"
-
Response.Write "</td>"
-
Response.Write "<td align=left width='55%'>"
-
Response.Write "<b>"
-
response.write FormatDateTime(Date, 1) & " " & left(Time, len(time) -6) & right(time, 2)
-
Response.Write "</b>"
-
-
Response.Write "</td>"
-
-
Response.Write "<td align=right width='43%'>"
-
Response.Write "<marquee id=showQuotes></marquee>"
-
-
Response.Write "</td>"
-
-
response.write "</tr>"
-
response.write "</table>"
-
%>
-
</body></html>
-
2 2551
Nevermind i got it. Looks like yahoo changed the order of the information and where it was coming from.
Worked with download.financ e etc.
There are companies who specialize in providing financial content for websites. For example, AlphaTrade E-Trax. Stock market information for websites may have real time streaming stock quotes, market news, company news and events. As an option they provide stock charts, currency converter, option chains, etc.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Bill |
last post by:
Anyone know of an ASP application that will provide me with stock data for a
specific ticker symbol? Of course, a free app would be nice, but I'd
consider something I have to pay for.
I'd prefer something that is not an installed component (not a DLL or COM).
Thanks!
|
by: dthelwal |
last post by:
I'm looking for an applet or script to feed from an RSS page (perhaps
RSS 0.91) and turn its <title> and <link> entries (perhaps using
<description> as well) into a scrolling news ticker where the ticker
will pause when you move your mouse over a news item and clicking on
that item would jump to the hyperlink in the RSS page.
There are a lot of simpler tickers out there and some even take basic
XML format pages as their content source...
|
by: Dan |
last post by:
Hi
Does anyone know of a good Javascript typewriter ticker that allows
you to insert HTML into the ticker. I have found lots but when HTML is
inserted, the ticker pauses at the point it reaches the HTML as well
as applying the formatting. I need one whose character timer ignores
characters in tags. I need to apply font color and weight styling to
different words.
Please see www.launchpr.co.uk for how the ticker currently looks in
|
by: rohan ranade |
last post by:
Hi. I want to create a ticker similare to the one shown on CNBC. Can someone tell me a flicker free way to do it?
|
by: David |
last post by:
Hi, I have the following asp in my page, but I keep getting the
following error
Microsoft VBScript runtime error '800a0009'
Subscript out of range: 'ticker'
Please can you help me ?. Here is the page code I have so far:
---------------------------------
| |
by: Phillip Vong |
last post by:
I'm new at this.
Anybody know where I can find out how to pull stock quotes from the Nasdaq
site into my ASP site? I want my users to enter a ticker in one Textbox1
ex. MSFT and another Textbox2 will grab the current price and drop it in
there. I found something in C+, but I know nothing about C+ and not much on
VB.
I'm just trying to learn.
|
by: Donlingerfelt |
last post by:
I would like to download stock quotes from the web, store them, do
calculations and sort the results. However I am fairly new and don't have a
clue how to parse the results of a web page download. I can get to the
site, but do not know how to request the certain data need. Does anyone
know how to do this? I would really appreciate it. Thanks.
|
by: Rathorevivek |
last post by:
Hi All,
I am working on a financial website.
I have to use real time stock quotes ticker(in Marquee format) for that.The stock exchange for which i want to extract the stock details is NSE(India) and the url for the same is http://www.nse-india.com
I searched internet thoroughly but could not meet any code of my requirement.
I am using ASP.Net 1.1 with C#.
Please help me with your precious suggestions and guidelines.
Thanks and...
|
by: RommelTJ |
last post by:
Hi,
My website (http://www.justiceinmexico.org/indextest.php) looks good in Firefox, but horrible in IE, and I think it's because of an error in the javascript of a free web ticker I got off the internet.
When I run Firebug on it, it says:
document.getElementById("TICKER") has no properties
TICKER_CONTENT = document.getElementById("TICKER").innerHTML;
Here is the complete script:
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |