I am having a problem getting my websites to display properly. I have 2 different sites on 2 different hosts. When I open them the mouse over java scripts will not work. Also the iframe scripts I have in them do not work. I tried reuploading them and they will work for awhile then when I close out IE8 and reopen it they no longer work. I...
Hi,
I need to incorporate a Timezone dropdown selection within my web app, which I need to use within an Oracle database.
I basically require the user to select their timezone and I then need to use this against time stamp info stored within the Oracle tables.
Unsure where/how to build this Timezone selection list within my page - exa...
Using the google maps (and JavaScript) I have been able to easily display several markers which each have a nice little info window over them.
//Create map over USA
map = new google.maps.Map2( document.getElementById('map') );
map.setCenter(new GLatLng(38.95940879245423, -100.283203125), 3);
//Create point, then marker, and then add to...
I'm using the YUI slider that operates with mouse move events. I want to make it respond to touchmove events (iPhone and Android). How can I produce a mouse move event when a touchmove event occurs? I'm hoping that just by adding some script at the top that touchmove events will get mapped to the mouse move events and I won't have to cha...
So I have this special output:
dAmn_Raw('send chat:Sandbox\n\nmsg main\n\nthismessage');
I have a variable: myvariable that equals a random value from an array I made.
I'd like this random value to show up in chat through this output, but I can't include
it in the output line of code. How would I got about writing something that repl...
Hello guys,
I think I am in a project which is probably too much for me, but I thought you could put me in the right direction.
We are trying to have a form where the user will write a starting point and an ending one, as seen in the Google Maps examples (http://code.google.com/apis/maps/documentation/examples/directions-advanced.html)...
I have a page with 5 select's that all have a class name 'ct'. I need to remove the option with a value of 'X' from each select while running an onclick event. My code is:
$(".ct").each(function() {
$(this).find('X').remove();
});
Where am I going wrong?
Thanks,
Chris
...
Hello,
I'm trying to find a map that allows the user to click on an individual state. Any recommendations? (non-flash implementations preferably)
...
Hi everyone,
As the title suggests, I have a Google Street View object in my web page.
My program 'drives' along certain routes, essentially, I control Google Street View's javascript API through an embedded Java applet (in the same page).
I need to be able to grab imagery from my current Google Street View panorama - I don't really ca...
A page on a site I use is holding some of my data hostage. Once I have logged into the site and navigated to the right page, the data I need is in the array eeData[] - it is 720 elements long (once every 2 minutes of a given day).
Rather than simulate the requests to the underlying stuff json supplier and since its only once a day, I am...
Hi everyone,
i have a chat window which has a close button(input type='image') and onclick i want to remove the chat window from the parent node and i use this code
closeBtn.setAttribute("onclick", "return closeContainer(cc" + friendId + ");");
please note that this button is created through javascipt and the cc223423432 (say) will b...
Hey everyone,
I got following scenario:
A site is sending a request to a php-file to hand me some data. For this request I am selecting an item - here is the code for that part:
<form action="?modul=transaktionen&subModul=monitor" method="post">
<input type="hidden" name="suchVal" value="1">
<input type="hidden" name="action" value="1...
Please see the following script:
var x = function(param){
this.data=param;
this.y = function(){
alert(this.data)
}
return this;
}
/*
x.prototype.z = function(){
alert(this.data);
}
*/
x(123).y();
x(123).z(); // This should behave same as y()
When I call x(123).y() then message displays 123. ...
Hi,
I am getting a client date in javscript function using "new date()" object. But this object is considering the properties set for Date&Time control in the control panel of the system.
For example,
If I check the check box of Date&Time control of the system (control panel) "Automatically adjust clock for daylight saving changes", t...
Hi,
How would I do this in mootools? I have an Unordered list items that I want to add classes to each of them But there are some list item that I want to exclude in adding a new class.
here's my markup
<div id="header">
<ul id="mainnav">
<li class="item1"><a href="#">Home</a></li>
<li class="item2"><a href="#">Ab...
Hi friends,
I am working with php and ajax. I'm able to retrive an image from a database, but I would like to show the image in 100px x 100px size, but it just retrieves the original image size and spoiling the aligning work that I did.
How can I fix the width and height for a retrieved image. I have used the following code for retrivin...
I am looking for Ajax testing tools . is there any free tools avilable for testing ajax
Edit 2 : apart from firebug is there any other tools ;)
...
try {
<%if(lBlnBlockScreen){%>
UTIL_FORM.fVarForm = document.all.frmMain;
UTIL_FORM.fVarInclude = [
document.getElementById('INT_GENDER_DROPDOWN'),
.
.
.
document.getElementById('INT_JOIN_calender')
];
UTIL_FORM.fnDisableAll();
document.frmMain.CancelButton.style.display = '';
doc...
I know that Javascript has a garbage collector. Therefor, using delete remove only a reference to the object, and when there is no more reference to this object, it is deleted by the GC.
Javascript is tricky, with the closures, the fuzzy name space and the prototype inheritance, it's not always obvious to know when to now or why.
I am ...
Is there a way to assign attributes in a more compact manner
I dont really want to use setAttribute as it seems to be buggy in ie8
This list is for all attributes so its quite long
else if(a=="textalign")
{
e.style.textAlign="";
e.align=v
}
...