I know there are a number of frameworks to help make web applications on Mobile Safari/Webkit look and behave like native applications (eg, jQTouch), but are there any more light-weight libraries that help out at a slightly lower-level?
eg, I might want to add some animations on certain touch events to reproduce an iPhone style swipe.
...
hi, this below mentioned code works perfect in internet explorer but not in firefox... i get an error in line in firefox: document.getElementById("supplier_no").value= values_array[0]; that getElementById returns null. how to solve the problem?
var winName; //variable for the popup window
var g_return_destination = null ; //varia...
When a Quicktime movie has ended, I want to replace it with a image slideshow. My current approach is to have the .mov file communicate back to the Javascript on the page. Once the end of the movie is reached, an event calls a function.
So my question is: What method can I use to call a Javascript function when a Quicktime movie ends?
...
I'm trying to ensure that my Rhino scripts (running under Java 6) are strict so that if a script developer misspells an expression I want an exception to be thrown. Currently what happens is the expression simply evaluates to "undefined".
Now according to Mozilla org https://developer.mozilla.org/en/New_in_Rhino_1.6R6 there are feature...
I am building a website - http://www.efficaxdevelopment.com
As you can see when you load the page(in IE) the text on the page that isn't an image or the menu looks terrible, while in FF and Chrome the text looks fine.
you can view the source on the page and the css is here http://www.efficaxdevelopment.com/styles/mainstyle.css
Also, ...
For example:
<input type="text" name="test" onChange="document.formname.test.value=.document.formname.test.value.replace('something','something else')" />
The replace function works but it loses focus on every change
How do you make it not lose focus?
What I'm trying to do is make it so that certain text is immediately replaced with...
I dynamically add an <a> (link) tag to the DOM with:
var link = document.createElement('a');
link.href = 'http://www.google.com/';
link.onclick = function () { window.open(this.href); return false; };
link.appendChild(document.createTextNode('Google'));
//someDomNode.appendChild(link);
I want the link to open in a new window (I know i...
The Browser.msgBox("hello") method lets me display the text "hello" to the user in a message box, but if I put any HTML in there, for example "Hi there", the user just sees the HTML tags.
Is there a way to display a popup with simple HTML to the user from withing google apps script?
...
I am using this jquery plugin:
http://www.jankoatwarpspeed.com/post/2009/07/20/Expand-table-rows-with-jQuery-jExpand-plugin.aspx
I have anchors in the code such as:
<a name="art" id="art2"></a> Articles
How can I open that particular row then? In other words, when a user clicks a link from another page to this landing page I would l...
Hello-
I'm looking for Javascript that will fire when page opens and sets Image1 visibility to true.
Thanks
...
Demo: http://jsfiddle.net/55ucw/1/
In any browser other than Safari or Chrome, I can tab into a set of radio buttons and select one using the arrow keys and the change event will fire.
In Safari or Chrome, I can tab into a radio group, and select a radio button with arrow keys, but the change event never fires.
Am I missing something...
Hi all. Long time reader, first time writer.
Quick query i hope someone can help me with.
I have a webpage (php, javascript) which has a small contact form for a user to fill in and email us. Not a problem in itself, i have a working form already.
Nothing noteworthy, just a form posting to a php page which sends an email.
<form id="my...
I want to get page_tag information from the page and want to make sure that DOM for this page is already ready before getting the page tag information.
I am doing
$(document).ready(
{
alert("test");
var page_tag : $("head meta[name='page_tag']").attr('content');
page_tag : (page_tag) ? page_tag : '';
}
But it gives me erro...
I have a lot of data being placed into a <DIV> with the overflow: auto style. Firefox handles this gracefully but IE becomes very sluggish both when scrolling the div and when executing any Javascript on the page.
At first I thought IE just couldn't handle that much data in its DOM, but then I did a simple test where I applied the visi...
How to open a Browser popUp window from Actionscript ( Flash )? ( Any Code sample would be wary appreciated )
...
I definitely don't think of myself as a jQuery/javascript expert, but I know enough programming to get by - but on this project I ran into a problem where jQuery UI fails to initialize the 2nd dialog. I have 2 if statements to test before initializing each of them, but only the 1st if statement seems to be kicking in.
$(document).read...
I am using a bit of JavaScript to show/hide sections of a site when a tab is clicked. I'm trying to figure out if there is a way I can link back to the page and have a certain tab open based on that link.
Here is the JS:
var ids=new Array('section1','section2','section3','section4');
function switchid(id, el){
hideallids();
...
I want to be able to write javascript that executes on a page that I visit every day. It is for my employers blog-like "What's New" page where there are announcements such as new hires, terminations, etc. But among these are also article that announcing grants we received and other important things.
I want to filter out those things tha...
I have a directory on my server that I do not want Search Engines to crawl and I already set this rule in robots.txt
I do want people that have logged in to be able to have access to this directory without having to enter a password or anything.
I am thinking that a cookie is the best thing to put on users computers after they login, a...
Has anyone noticed this behavior? I'm trying to write a script that will trigger upon a resize. It works fine on normal browsers, works fine on iPhone, but on iPad, will only trigger going from horizontal to vertical viewport, not vice versa.
Here's the code:
$(window).resize( function() {
var agent=navigator.userAgent.toLowerCase...