Any Command To Send To Indicate I Want To Close That Stream?
Apr 23, 2010
Within my Flex application I write stuff to the browser via a javascript document write.Is there a command to send to indicate I want to close that stream? When I send the command the rotating indicator keeps running indicating the browser is still expecting some stuff. If I click the stop button on the browser it stops spinning and the stuff I sent (an xml stream) becomes available. As this is an automated process, there is no person to hit the stop button.
View 2 Replies
ADVERTISEMENT
Feb 25, 2009
I want to send a refresh command from my pop-up screen to a i frame in the parent document.
I have written the following script code...
View 4 Replies
View Related
Jul 20, 2005
I am trying to create a new window from which the original page can close that new window. For some reason the following code will not work. Passing the window.open command to a variable called myWindow does not work with the mouse event, but it seems to work fine with a javascript: URL command. I would prefer to do it with the mouse event. Code:
View 2 Replies
View Related
Mar 8, 2011
I have a form with a file upload field. When you hit submit the file should be manipulated by the client browser and not sent to the server (!). This is important. No file transfer to the Server. After the manipulation the file should be presented as download-able to the client. Which means it is stored from the browser to the client filesystem.
I do not know if any JavaScript Framework is capable of doing this.?
View 4 Replies
View Related
Apr 25, 2010
I'm trying to create a mobile app for an internet station (http:url....), and right now I'm just trying to get how to get it to play.I've got it to connect to an MP3 file and it works just like I want it to. However, upon setting it to connect to the stream, it returns with "java.io.IOException: failed to connect to http://71.127.84.92:8004 : response does not start with HTTP it starts with: ICY".Here is the code:
public void commandAction(Command command, Displayable displayable) {
if (command == stopButton){
if (isPlaying == true) {[code]......
View 2 Replies
View Related
Jul 23, 2005
According to my previous post with popups hanging, now I'm trying to bypass
this strange behaviour using loading JavaScript image not by image.src=URL
but straight away from stream using HTTP GET method.
The problem is, how to assign stream from downloaded image (ex. GIF89a) to a
JavaScript Image object ? Code:
View 2 Replies
View Related
Aug 25, 2011
I need Media player to stream and play video in javascript..
My requirement is I have .wmv files but when i embed them in html pages first it gets downloaded and then it gets played.
I need them playing while they are getting downloaded.
View 2 Replies
View Related
Jul 19, 2010
im trying to load url for Shoutcast Stream [URL] with jMediaelement plugin[URL],
View 8 Replies
View Related
Jul 20, 2005
I want to trap the window.close() event when the user clicks on the close button of the browser using javascript. Can anyone shed light on this problem ?
View 1 Replies
View Related
Apr 3, 2009
I am trying to load html stream directly into webbrowser in delphi. The html contains java script. It loads xml and xsl files and display the xml content in the web browser. I got an error, says access denied for the command xmlDoc.load(fname); If I save the html into a file, test.html, and double click it, it is fine, no problem. The code is actually copied from [URL].
[Code]...
View 1 Replies
View Related
Nov 3, 2010
I am trying to use the LPR command inside a javascript to print a PDF file directly to the printer. Want just a simple webpage with a button which will print test.pdf when clicked. code...
I know very little when it comes to javascript. If you know of a better way to use the lpr command
View 1 Replies
View Related
Dec 23, 2010
I have this code..
javascript:function showMore() {ProfileStream.getInstance().showMore(); setTimeout(showMore, 2000)}; showMore();
i want to loop it 10 times, but do not know how to do it.I have been told that the for var command is what I want, but I cannot get it to work.
View 2 Replies
View Related
Feb 17, 2009
[b]How to close the exe files through javascript
View 1 Replies
View Related
Jun 5, 2004
What is the JS to refresh the page and possibly append some url parameters?
View 3 Replies
View Related
Jul 23, 2005
If I have a link to a URL such as <a
href="http://www.mysite.com/somecode.htm?5">Link1</a>, and if I include
javascript in the somecode.htm file, is there a javascript command that I
can use which will read the argument 5?
For that matter, is there anyway to send an argument to the javascript code
of an html link you are calling. Server scripts are not an option for me.
For example, assuming that index.htm contains 50 links, I would like each
link to point to the same html file, but I want that javascript code in that
html file to execute something different depending on which link was
clicked.
My only other alternative would be to create 50 similar html files which to
me looks like amateur or bad coding.
View 6 Replies
View Related
Jan 28, 2006
I'm working on integrating the a javascript wysiwyg editor (Xinha) with
my blog software (ExpressionEngine, aka EE). EE has extensions now so
it's easy to get the Xinha header code into the head section of the EE
web page.
But Xinha likes to use an onload command to launch:
window.onload = xinha_init;
....and EE is already using the onload command in the body tag of the web
page:
<body onLoad="document.forms[0].title.focus();set_catlink();" >
The onload command in the body tag is keeping the window.onload command
from working. At this point EE doesn't let extensions modify the body
tag.
Is there an alternative way to run the xinha_init command, without using
the window.onload command?
View 3 Replies
View Related
Feb 17, 2006
I know this should be kind of easy, but I am very unfamiliar with Javascript.
What I am looking to do is have an image (coupon) that when clicked on,
it either prompts for printing only that image, or pops up a window and
automatically after loading the image in the new window, brings up the
print dialog box. What would you suggest is the best way to do this?
View 2 Replies
View Related
Jul 20, 2005
We have an app in which we want to enable our users to open numerous
documents in new browser windows.
I got the new window open thing down but each time I open a new document it
opens it in the same popup window. I want to be able to select new documents
and open those selected documents one at a time in a new browser window as
the custormer selects a new document to open.
View 3 Replies
View Related
Jul 9, 2010
i try to insert div to another div with the command:
example: $("#stage").html($("#movie").html);
this command work fine, but when i try to press on buttons, in div "#movie",
View 1 Replies
View Related
Jul 7, 2010
I will have a list of numbered links and whenever one is clicked, I want to change the content of a <div>. Is there a simple command that does this? I've read a bit of jQuery but could not find this info.
View 6 Replies
View Related
Jun 21, 2010
I have thmbnails of pictures on a page & i would like to open up the full picture (which is already present on the page, but I have used css to display:none on it) in a div (ie overview) when user hovers over the pictures so on the pictures I have done:
Code:
<a onmouseover="javascript:show('{$row['productid']}');" onmouseout="javascript:hide('{$row['productid']}');" href="viewProduct.html?id=" . $row['productid'] . ""> <img height="100px" width="100px"src="images/thmb/". $row['imageLocation']."" /> </a>";
[Code]...
I am trying to pass in an id because the full picture has that id which is guaranteed to be unique! and I dont know ahead of time the id..
or this cant be done with Jquery/
disclaimer: I have done this using JAVASCRIPT successfully but I am learning Jquery so i thought why not use that..
View 2 Replies
View Related
Oct 10, 2009
I am having some trouble with one of my buttons, the one button works fine but my second one doesnt work at all. The second button should open the same page as the first and maximize it.
<html>
<head>
<title>commands</title>
<script type="text/javascript">
[code]....
View 3 Replies
View Related
Nov 23, 2002
Somebody kindly came up with the following code which I use in a .js file to send my visitors to a different link for each month:
months[9]="this <a onMouseOver="window.status='Go here to visit our September link' return true;" onCLick="location.href='http://www.septemberwebsite.com'" title="September" style="color: 1D418B; text-decoration: underline; cursor: hand; "> September Site</a>";
I need to integrate it into my site which currently has the following command in the header:
<style>
A:link {color:#1D418B}
A:visited:{color:#6699FF}
A:hover {text-decoration: underline overline}
A:hover{color:red}
</style>
Unfortunately, the hover and visited commands do not seem to affect the code I have provided. We've managed to incorporate the a:link command, as you can see, but not the other style features. Is there any way of adding the a:hover and a:visited command to the script? I've put the bit that we need to add these commands to in bold. I have tried several permutations of these commands, but it doesn't seem to have any effect on the text that is displayed.
View 1 Replies
View Related
Jul 23, 2005
i popup a new window in my submit command and return false;
but my parent still flips the page ! how can i stop it ?
View 2 Replies
View Related
Jul 23, 2005
There's some command I forgot that you can type into the
address field of a web browser that will cause it to
display the source code for that page instead of
the page itself. Can anyone tell me what it is?
It's something like:
viewsource:http://mysite.com
or
view:http://mysite.com
or
source:http://mysite.com
except I don't quite have it correct.
View 1 Replies
View Related
Jul 23, 2005
I was wondering if anyone has managed to "validate" js file using
jslint from the command line with an engine like rhino.
View 1 Replies
View Related