Hi there,
In a browser, I'm trying to determine if the point representing the mouse position is in what I call an "outer area" . For example, in the image attached, the outer area is the one with a blue background.
In the code and image W represents the width of the viewport of the browser, while H represents the height, and x,y for ...
I would like to know whether it is possible to pass parameters from a javascript function (in a HTML form).
Your help would be highly appreciated.
...
I want to create Ext.tree.TreePanel component and periodically load content from the external URl. So I've written something like
new Ext.tree.TreePanel({
root: {
nodeType: 'async',
text: 'asdasd',
draggable: false,
id: 'folders-tree-root'
},
loader: new Ext.tree.TreeLoader()
});
And now I want ...
Hi Friends,
I have included the bat file path in anchor tag like this
<a href='pdfs1255601585.bat'>Execute batch file</a>
But its showing some security warning, before executing the bat file.. Is it possible to bypass that warning to run..
Orelse, is there any other way to run the bat file through javascript
Thanks,Praveen J
...
Hi, I have a problem with calling .Net web services with a Firefox
client. A simple example will be enough for me.
Server side code is like this:
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[ToolboxItem(false)]
public class Service1 : System.Web.Services.WebService
{
[Web...
Hi there... help :=)
I have a menu <li> that when hovered slides a panel down which contains a submenu. (fixed)
Now I need to fill that submenu with content that changes depending on which of the menu items is hovered.(fixed)
last problem:
I can only make the content-change happen if .click is used instead of .hover ...
- is there an ...
Hi All,
I need to change the images on every click using jQuery, lets say while the page loads for the first time it will be img1 and when i click on img1 it will be img2 and again if i click on img2 it will b img 1, and this should go on...
code:
<div>
<span class="myimage">
<img class="img1"src="8A7FA0A1...
I'm building a complex object in Javascript and I want to expose an iterator over an internal collection of the object.
The only way I can think of is the usual way of exposing iterators in prototype.js :
customObject.each(function (item) { ... })
with the provided function being called by the iterator each for every item in the col...
Hi there, folks.
I've already asked here a question about this issue. The thing is that I would really appreciate to get your help on this, as I can't seem to detect and solve the problem I'm having with an AJAX functionality on a site that I'm currently developing.
I have a webform that makes an asynchronous call to a handler (.ashx) ...
Hi all,
Here I have a funtion
function photoLoop() {
fade1L('3000');fade1M('3500');fade1R('4000');show2L('3000');show2M('3500');show2R('4000');
}
When the page loads this function is called <body onload="photoLoop();>
At this point these functions are run until it reaches the end i.e show2R('4000');
My problem is I want it to now ...
I would like to know which item in select list was last clicked
I have select drop down like this
<select id="selectId" multiple="multiple" onchange="">
<option value=1>Value 1</option>
<option value=2>Value 2</option>
<option value=3>Value 3</option>
<option value=4>Value 4</option>
</select>
I would like to know, which item from se...
Hay guys, i've made a simple drawing application using the canvas tag. However i would like to export the data to JSON so it can be saved.
How does one go about this?
...
This is pretty much IE related because IE is the environment I'm using to test this, but I want to know if you can affect the relevancy of the error object properties when you throw an error. Consider the following javascript:
function MyClass (Arg1, Arg2) // Line 5 of my.js
{
if (typeof Arg1 != "string")
throw new Error...
hello,
First, sorry for such lousy description, I am new to javascript, so excuse my lack of actual code:
having a block of text rendered in a browser, text, in order to fit the space, will break into rows, I need to find where the newlines to add a new line some offset, then subtract the offset from the row word lenght (if needed) and ...
Hi,
I am adding multiple flash objects(swf) in HTML.
When I try to find any of these objects (using 'document[swf_id]'), the browser returns 'null' unless the object of interest is acted upon. (Implicitly as I understood, I would always get 'null' if I have interacted with none of the objects).
Can somebody help me to know the reason? ...
I have a database table full of words. What I would like to do is to have a way to show the user in the html in the form of a hyperlink, any of these keywords. Kind of like you see on many forums now a days. When a keyword is noted in the html, it becomes clickable. Is there a way to do this? I'm using php.
Thanks
...
I am opening a blank window and writing a javascript on the new window to submit a form.
when I execute a line "newWindow.document.write(newwdtxt2);\n\"(3rd line from last) I get an exception and last two lines do not execute.
Below mention is my code
function openWindow(url,name,options) {
var aToken = "";
aToken ="2121...
Hi,
I'm using the Raphaël—JavaScript Library to create some pie chart graphics, but I want to set the overflow of the containing SVG element to visible, to allow the graphics inside to display outside of their container. The way you would with normal dom elements (overflow: visible;) does not seem to work for svg containers.
Does anyone...
I used multibox-component to create lightbox-similar div. But I faced problem. I placed textbox with id ‘tbx_position’ in that div. I entered some symbols in textbox and then tried to read value via javascript-function (it had to alert document.getElementById(‘tbx_position’).value). Every time that value was empty.
There is example of ...
Are there any GUI toolkits built on top of HTML Canvas like swing,swt,gtk or qt? So that it is possible to build applications like applets or flex gui:s inside the html canvas.
...