I'm developing firefox sidebar that interacts with the main browser window. When a button within the sidebar is clicked, I need to be able to determine how far down the current page the user has scrolled.
Anybody have any ideas? I can't seem to find the right combination.
...
Hi all,
I'm interested in adding an HTML/web-browser based "log window" to my net-enabled device. Specifically, my device has a customized web server and an event log, and I'd like to be able to leave a web browser window open to e.g. http://my.devices.ip.address/system_log and have events show up as text in the web browser window as t...
Hi,
I didn't see the question yet.
Every browser has different native keyboard short-cuts. Did someone already tried to figure out which one free / safe to use if we want to add some spicy stuff to our web-app?
Thanks in advance.
...
The javascript on my online store product pages seem to have stopped working. They still work fine on Firefox.
You can see the problem by clicking the "Add to Cart" or clicking on the image to enlarge on this page:
*Solved the issue by deleting a recently installed extension****
Anyone know what the problem could be?
Thanks!
...
I'm trying my hand at jQuery Address http://www.asual.com/jquery/address/
On a click event I set $.address.value(mypath);
This fires off the $.address.change() event.
When I click a link I want the behavior to be slightly different than when this event is fired by clicking the back/forward button or with a bookmark or link.
Is there ...
Ok so I'm lost here, frustrated and pulling my hair and out. Plus probably about to be fired or take a pay cut.
I moved Files from a development server to my local machine. The files are consistent (used diff tool), all the dependencies are there. It works for the most part. The problem is that the some of the javascript (not all) is ju...
I'm looking to create something like what Apple has on their online store for displaying the summary of your computer and total as seen here. I'm guessing this is JavaScript, but it'd be even cooler if it could be done in CSS.
Basically I'd like something scrolls with the page like position:fixed, but I don't want it to start moving unt...
I am following a JavaScript tutorial on the W3Schools website and I have the following code:
<html>
<head>
<title>Hello!</title>
</head>
<body>
<script type="text/javascript">
function confirmShow
{
var r = confirm("Press one...")
if (r == true)
{
alert("Button pressed == OK")
}
if (r == false)
{
...
How could I turn this string
Sun Apr 25, 2010 3:30pm
Into a valid Date in JavaScript (Minimal code is what I'm aiming for here)?
...
This code is to be integrated into an AJAX Chat system to enable a tab auto-completion of user names:
var usernames = new Array();
usernames[0] = "Saladin";
usernames[1] = "Jyllaby";
usernames[2] = "CadaverKindler";
usernames[3] = "qbsuperstar03";
var text = "Text and something else q";
// Start of the script to be imported
var search...
I'm required to use a limited survey application, and have to adapt the provided code to meet more advanced functionality.
I need to create a weighted ranking question, so users can select their top three choices and the data will go into the survey application and be accessible in the survey reports. The application only supports 2 t...
I have something that looks like this:
<s:select ... onchange="javascript:alert('testing')"/>
But when I run it and look at using firebug, the onchange is not there and so the javascript is not executed. Any ideas? This is driving me nuts.
...
Hi,
I have been looking for a Javascript algorithms that gives me the week number of a given Date object within a custom fiscal year. The fiscal year of my company starts on 1 September and ends on 31 August.
Say today happens to be September 1st and I pass in a newly instanced Date object to this function; I would expect it to return 1...
I'm working within the parameters of an un-reachable developer, whom has created an html generation system for our products.. Whenever a new page is generated he places:
<!-- updated page at 05/MAY/2010 02:58.58 -->
<!-- You must use the template manager to modify the formatting of this page. -->
resulting in my code looking like:
<...
How retrieve latitude and longitude via Google Maps API?
...
I have a simple checkbox on my website. Everytime you check and uncheck it, it shows an alert as to what the state is. This works flawlessly in FF, Chrome, and IE8. However, when I run this in IE7, no matter if the check is on or off, it always alerts "off". It's like IE7 can't detect that the checkbox is checked.
Does anyone have a...
Hi,
I tried blink the rows of ASp:Gridview. Have succeded in IE but not working in FF and safari. FF error console says "Error: gridRef.childNodes is not a function" Can anybody tell me where exactly I am wrong...
The Javascript used is:
<script type="text/javascript">
<!--
function blinkElement(elementId)
{
var elemen...
I have a Java Swing project for my class. I would like put it on my website so people can use it. However I'm not sure if there is a way to turn it into a servlet. Or do I need to know JavaScript? I'm confused. Is there a way to make my swing application into a servlet automatically?
...
Hi All,
We are using fusion charts for time based gantt charts. But these charts are not getting displayed as they require flash plug-in which is not supproted by iPhone. So I'm looking for pure javascript charts to get the same type of charts but I have not found any!
I would appreciate if you can point me to right direction. If there...
Hi,
I have a url like http://mywebsite.com/folder1/folder2/index
how to parse this above url and get all the values separately?
I want the output like
http,
mywebsite.com, folder1, folder2, index
Thanks in adavance
...