Getting An Old BASIC Program To Run Online
Aug 7, 2006
I have the source code to an old BASIC program that a friend of mine
would like to run online. I am a beginner at JS, but I think that it
would be a good choice for the project. My background is in C/C++ and
web development.
Any suggestions that might get me off to a good start here? I can
provide more information if needed, but I am not sure what would be
helpful. The program is 550 lines in what appears to be BASIC and is a
calendar conversion program. You give it a date and it will convert it
into one of many other date reckoning systems (Gregorian, Hebrew,
Egyptian, etc, etc).
View 10 Replies
ADVERTISEMENT
Aug 15, 2011
i'm in need of a DHTML program for design tourism management program.. Since i don't have idea on it i unable to design it.
View 1 Replies
View Related
Feb 2, 2005
I noticed there is an indicator to someone's MSN online status in my hotmail inbox page.
I tried to view the source of the page in order to build my online status script.
All of my attempts were failed.
View 1 Replies
View Related
Jul 20, 2005
I am considering writing an online graphing utility. I plan it to be
of good quality, such that an undergraduate university student can
print it out and include it with a lab report.
Data points will be entered, having been generated by another program;
the utility will NOT accept functions for plotting--just the data
points.
As far as I know, Javascript does not provide graphing functionality.
Could somebody in this group please let me know what the best language
to use for writing this utility.
View 6 Replies
View Related
Sep 13, 2010
I have a question and i would like you to help me.I have this online shop [URL].. i am not the developer just the owner.The question is how can i present my product throught that site [URL].. (Skroutz.gr is a search engine about online shops like [URL]..If it was a simple site(html or something else) they ask the XML. The developer tells me that we will need 2 months of work and more money. Is there a simple and faster way that skroutz can track my products?
View 1 Replies
View Related
Jul 8, 2009
I am very new to web development. I would like my website to have an application which allows a user to draw images which can be displayed on other users screens in real time.
An example of this is isketch.net Also on this site i would like users to be able to create accounts and join 'rooms' where they can communicate in real time (as opposed a forum message board). I am looking for something similar to isketch.net
Could somebody please tell me the type of development and programming needed. I have been quoted 1000 a month to build these capabilities but have no idea what is involved. (also may require facebook style real-time updating)
View 4 Replies
View Related
Sep 28, 2006
I have been looking for the answer for a long time, but could not reach to any answer. I am a novice web designer, have very little knowledge on web programming. I hope someone here could help me with the following. The problem scenario is this:
I have a webpage where I have listed some classical songs so that page visitors can listen to song online. All files are in Real Audio format either with .rm or .ra extension. These individual audio files are linked with .ram files so that when visitor’s clicks on the song title, this .ram file launches RealPlayer and the clicked song starts playing. Once a song is played it stops. If user wants to hear another song, user needs to click on another song title to play that song. This is annoying for users.
However, I have seen on some websites where user can select the songs by clicking on the “Check Boxes� next to each song titles and play by clicking on the “Play� button. Therefore, user can select lists of their favourite songs by clicking on check box and play these together one after another. There are two other buttons also available for users: “Select All� songs and “Reset�.
View 1 Replies
View Related
Sep 30, 2010
Does anyone have any excellent online sources for Javascript? I'd prefer to learn online rather than by book.
View 3 Replies
View Related
Mar 22, 2001
I'm currently working on an online content management system which allows users to edit html-pages without seeing the HTML-tags.
Is it possible to use buttons for text formatting? I would like to have buttons for adding a link and adding headers. But without showing the user the html-tags.
View 2 Replies
View Related
Dec 20, 2006
I have a video file which I wanna show at my site. Please help me out how can I show running video? I dont know if it is a right place.
View 2 Replies
View Related
Mar 5, 2009
For sites like Facebook that allow you to crop your picture/rotate etc... Is there a javascript plugin out there that one can plug into ones site to be able to achieve similar?bviously the JS script must say it to a server side script for it to be saved to disk. But how is this achieved. Is this something one can code from scratch? I am really keen using one
View 4 Replies
View Related
Apr 5, 2006
Ive got a really simple problem but I can't figure it out. I've got a
form named bob with one text box name bobtext with a default value of
"http://". When I add onload="document.bob.bobtext.focus()" it focuses
on the text box, but at the beginning. Is it possible to focus on the
text box, but at the end of "http://"? This seems like something easy
so I'm probably making some stupid mistake.
View 1 Replies
View Related
Jul 20, 2005
Suppose I have a page, call in parent.html . Inside, there is an iframe,
call it child.html . I want it so that in response to a keyboard event
in either parent or child, child.html will respond in a particular way.
Do I need to use a different set of code for each html page, or can I
reuse the same code?
If the code is different, what are the fundamental differences in code?
How do I make one frame respond to events in a different frame as a
general rule?
View 2 Replies
View Related
Dec 6, 2003
I know there is a million of them but here's a little calculator script I made just for kicks. Feedback is always appreciated, good or bad.
I think I did a pretty good job of mirroring the windows calculator functionality.
Basic keys are mapped (optionally) to the keyboard.
<html>
<head>
<title>Web Calculator</title>
<style type="text/css">
table
{
text-align:center;
background-color:#e5e5c5;
}
.button
{
width:55px;
font-weight:bold;
background-color:lightblue;
color:#333399;
}
.functbut
{
width:55px;
font-weight:bold;
background-color:lightblue;
color:red;
}
.back
{
width:115px;
font-weight:bold;
background-color:lightblue;
color:red;
}
.header
{
color:#333399;
}
#display
{
text-align:right;
}
</style>
<script type="text/javascript">
var find=document.getElementById;
var temp=0;
var total=0;
var which=0;
var m=0;
function Mplus()
{
m=parseFloat(find('display').value) + m;
find('memory1').value="M+*";
}
function Mclear()
{
m=0;
find('memory1').value="M+";
}
function Mrecall()
{
find('display').value=m;
}
function Mreplace()
{
m=find('display').value;
}
function showMe(num)
{
if(temp==0)
{
find('display').value=num;
temp=1;
}
else
{
find('display').value+=num;
}
}
function calcEm(num)
{
str=parseFloat(find('display').value);
if(which==0)
{
total=find('display').value;
temp=0;
which=num;
}
else if(which==1)
{
find('display').value=parseFloat(total)+ str;
total=find('display').value;
which=num;
temp=0;
}
else if(which==2)
{
find('display').value=parseFloat(total) * str;
total=find('display').value;
which=num;
temp=0;
}
else if(which==3)
{
find('display').value=parseFloat(total) / str;
total=find('display').value;
which=num;
temp=0;
}
else if(which==4)
{
find('display').value=parseFloat(total) - str;
total=find('display').value;
which=num;
temp=0;
}
}
function clearAll()
{
find('display').value=0;
which=0;
temp=0;
total=0;
}
function clearDisplay()
{
find('display').value="0"
temp=0;
}
function fractIt()
{
find('display').value=(1) / str;
}
function getPerc()
{
var d=find('display').value=str / 100;
calcEm(0);
}
function backSpace()
{
find('display').value=find('display').value.substring("0",find('display').value.length-1);
}
function getRoot()
{
find('display').value=Math.sqrt(find('display').value);
}
function invertIt()
{
var w=find('display').value.indexOf("-");
if(w==-1)
{
find('display').value="-" + find('display').value
}
else
{
find('display').value=find('display').value.substring("1",find('display').value.length);
}
}
function keyHandler()
{
keys=new Array();
keys[97]=("1");
keys[98]=("2");
keys[99]=("3");
keys[100]=("4");
keys[101]=("5");
keys[102]=("6");
keys[103]=("7");
keys[104]=("8");
keys[105]=("9");
keys[96]=("0");
keys[13]=("equal");
keys[107]=("plus");
keys[110]=("dot");
keys[109]=("minus");
keys[106]=("times");
keys[111]=("divide");
keys[110]=("dot");
keys[8]=("back");
keys[27]=("clear");
kc=window.event.keyCode;
if(keys[kc]!=undefined)
{
cColor('#333399');
setTimeout('cColor("lightblue")',100);
find(keys[kc]).click();
}
return false;
}
function cColor(bcolor)
{
find(keys[kc]).style.background=bcolor;
}
function keyOnOff()
{
var b=find('keychoice').checked
if(b==true)
{
document.onkeydown=keyHandler;
}
else
{
document.onkeydown="";
}
}
function checkHandler()
{
var e=find('keychoice').checked
if(e==false)
{
e=true;
}
else
{
e=false;
}
keyOnOff();
}
</script>
</head>
<body>
<table cellspacing="0" border="1">
<thead>
<th colspan="6" class="header">Web Calculator</th>
</thead>
<tr>
<td colspan="6"><input type="text" size="43" id="display" value="0."></td>
</tr>
<tr>
<td colspan="2"><input type="button" value="Backspace" id="back" class="back" onclick="backSpace()"></td>
<td colspan="2"><input type="button" id="ce" value="CE" class="back" onclick="clearDisplay()"></td>
<td colspan="2"><input type="button" id="clear" value="C" class="back" onclick="clearAll()"></td>
</tr>
<tr>
<td><input type="button" class="functbut" value="MC" onclick="Mclear();"></td>
<td><input type="button" class="button" id="7" value="7" onclick="showMe(ƍ')"></td>
<td><input type="button" class="button" id="8" value="8" onclick="showMe(Ǝ')"></td>
<td><input type="button" class="button" id="9" value="9" onclick="showMe(Ə')"></td>
<td><input type="button" class="functbut" id="divide" value="/" onclick="calcEm(3)"></td>
<td><input type="button" class="button" id="sqrt" value="sqrt" onclick="getRoot();"></td>
</tr>
<tr>
<td><input type="button" class="functbut" value="MR" onclick="Mrecall();"></td>
<td><input type="button" class="button" id="4" value="4" onclick="showMe(Ɗ')"></td>
<td><input type="button" class="button" id="5" value="5" onclick="showMe(Ƌ')"></td>
<td><input type="button" class="button" id="6" value="6" onclick="showMe(ƌ')"></td>
<td><input type="button" class="functbut" id="times" value="*" onclick="calcEm(2)"></td>
<td><input type="button" class="button" id="perc" value="%" onclick="getPerc()"></td>
</tr>
<tr>
<td><input type="button" class="functbut" value="MS" onclick="Mreplace();"></td>
<td><input type="button" class="button" id="1" value="1" onclick="showMe(Ƈ')"></td>
<td><input type="button" class="button" id="2" value="2" onclick="showMe(ƈ')"></td>
<td><input type="button" class="button" id="3" value="3" onclick="showMe(Ɖ')"></td>
<td><input type="button" class="functbut" id="minus" value="-" onclick="calcEm(4)"></td>
<td><input type="button" class="button" id="x" value="1/x" onclick="fractIt()"></td>
</tr>
<tr>
<td><input type="button" class="functbut" value="M+" id="memory1" onclick="Mplus();"></td>
<td><input type="button" class="button" id="0" value="0" onclick="showMe(Ɔ')"></td>
<td><input type="button" class="button" id="flop" value="+/-" onclick="invertIt()"></td>
<td><input type="button" class="button" id="dot" value="." onclick="showMe(this.value)"></td>
<td><input type="button" class="functbut" id="plus" value="+" onclick="calcEm(1)"></td>
<td><input type="button" class="functbut" id="equal" value="=" onclick="calcEm(0)"></td>
</tr>
<tr>
<td colspan="6" class="header">Num Pad On:<input type="checkbox"
id="keychoice" onclick="checkHandler();keyOnOff();"></td>
</tr>
</table>
</body>
</html>
Happy Calculating...
View 3 Replies
View Related
Feb 17, 2010
I'm using XHR to make some REST requests. Right now I need to handle HTTP 401 responses.When a resource is requested such as a Javascript file or CSS file the browser will popup a prompt for username and password, which is normal behaviour.When I make an XHR request for POST,GET or PUT I get an XHR response which includes a status of 401 and no popup from the browser, this is also normal.The problem is when I make a DELETE request, I get the expected XHR response AND also the browser still pops up the username and password prompt.
View 1 Replies
View Related
Jul 6, 2006
Does anyone know of a basic Javascript Rich Text Editor that dosen't have too many features. I don't want smily faces or the ability to insert images, only the basic text formatting. All the ones i found on google are packed full of extras i don't need.
View 1 Replies
View Related
Aug 3, 2007
im need to create s simple CMS/WYSIWYG, but im not a pro on js. I found one on a website, but i dont want to resort to stealing codes.
basically, theres a textarea, where you put in text, and a button for bold, italics and underline, etc. if i highlight something on the textarea and hit the bold button, the text automatically gets surrounded by the <b></b> tags, or or whatevers convinient. when i look at the inline js code from the button, it calls a function, but id rather simplify the code, it should be something like onclick=insertstyle("b","textarea_name");
View 20 Replies
View Related
Nov 2, 2009
i have this site everything works perfect offline(local) but when i put it on my server theres a few things that mess up. What isnt working.. I have a little readmore link beside a main quote on everypage and this uses ceebox to open it. Within this lightbox it shows an html page that i made with just a little write up, at the bottom is a little nav and onclick it should be opening the corresponding hidden div while closing the lightbox. this works offline perfect, i cant seem to figure out why it wont once uploaded. I have gone over all folder names, etc and im positive this isnt the problem. this is the main page html snippet with the read more link
Code:
<div id="header-fade">
<div class="header_paragraphs panel" id="header-1" style="z-index: 0;">
<div class="header_p_1"><p class="header-p">AAAAAAAAAAAAAAAAAAAAAA</p></div>
<div class="header_p_2"><p class="header-p">AAAAAAAAAAAAAAAA</p></div>
<div class="header_p_3"><p class="header-p">AAAAAAAAAAA</p></div>
<div class="header_p_4"><p class="header-p">AAAAAAAAA</p></div>
</div><!-- Header P's -->
[Code]...
again it all works offline but as soon as i uplaod it to my server the nav inside the lightbox doesnt seem to work.
View 1 Replies
View Related
Jan 5, 2011
My project simulation takes lot of time so I cant monitor that continuously,. I want to send a SMS whenever some simulation is done/ progress / throws an error to my mobile through SMS when I'm away from the PC.. I dont know how to start with this.. how to do this I want to use free online SMS service to do this..
View 4 Replies
View Related
Nov 1, 2009
I want to make a online game web site . i want to klnow , what do i need for now ? should i install any script?
View 3 Replies
View Related
Nov 21, 2010
I want to learn Javascript the right way, I'm not sure id I should buy the book or buy the online video for kevin? who tried both give me a recommendation.
View 1 Replies
View Related
Dec 17, 2000
I have been using Frontpage to design web sites and know that online-forms can be created using Frontpage, but the host must have Frontpage Server Extensions installed...
...I was wondering if the online forms were simply CGI scripts??
If so, could i not get DreamWeaver Ultra Dev and write the CGI scripts in there? - I think DreamWeaver is capable of this?
Therefore, if a server supported CGI scripts and i had to pay extra for FRONTPAGE EXT. then i could bypass this problem by using CGI scripts...
...does this make sense? If not, why not?
View 1 Replies
View Related
Jul 2, 2002
I have a whole heap of Javascript that I want to compress (by removing line breaks etc). When laid out with line breaks, all works fine. When compressed ... BANG!
I suspect that there is a semi-colon missing somewhere which is only breaking when the return is removed. However, I'd like to run the whole block of javascript through an online validator instead of straining my eyes trying to locate the piece of the script at fault.
Is there such a thing? When I search for 'Javascript validator', I get a whole heap of links to using javascript to validate forms and such like!
View 1 Replies
View Related
Apr 29, 2011
I desperately need to have a constant website visitor that is online 24/7 on my website. Due to a js error. We need to keep an absolute minimum of one online site visitor. This is a temporary measure while we locate the error which so far has taken 3 js coders 3 days with no success in finding. We really need to keep the script thinking that a user is online.
Is there a bot setup that will simulate a website user that NEVER leaves a certain webpage?
If not. How can I set up the script so that I can fool it into thinking there is someone online? I really need this info... i have spent hours and another thread, with NO help on the repair. I really need to be able to keep the js rolling. I am on the verge of giving up on this project as impossible.
View 3 Replies
View Related
Oct 6, 2011
I will try to create online shopping site.from monday onwards. i using javascript,html,css. and tell me any reference site for online shopping site.
View 2 Replies
View Related
Oct 25, 2011
I have a introduction webpage, which I wanted to supplement with a background slideshow. I chose Supersized slideshow jQuery plugin [URL] , implemented the code in my website. Everything looked okay, when I run the website offline, but when I upload it on the server, there is no background. The website is [URL].
View 2 Replies
View Related