Hi Guys,
I am interesting in producing a "slide up jQuery footer bar" - not unlike this example on
http://www.instantslideup.com/index.php?page=demo - but little unsure whether anything like this is possible in jquery ?
I've tried searching around to no available - so wondering if anyone knows how this is done and/or whether anyone ha...
If you had to do this...
function addRemoveItemNS() {
var $newLi = $('<li class="special">special and new <button class="addone">I am new</button> <button class="removeme">remove me</button></li>');
$('#list9 li.special')
.find('button.addone')
.unbind('click.addit')
.bind('click.addit', function() {
$(this).parent().after($new...
Does anybody know how to read google gears blob objects within the browser? I'm using gwt on top of gears, but I'm looking for any kind of solutions. The application needs to work fully offline so I can't post the files and process them server side. My files are simple text files that I want to upload and parse in offline mode.
...
I am making an EventLog which will log the transaction log in my website. The details of the log will include the Public IP from where the transaction has orginated and also the local IP address (under the public IP).
I have found ways to obtain the Public IP Address, but i am unable to find out the local IP or machine IP from where the...
I am trying to use WebBrowser control to click a button that doesn't have any anchor text or anything
I looked at the source and saw this.
var _tm7 = new TabMenu(
'TempoTabMenuControl',
'TempoTabMenuControlRow', ['Add
Edit'], 0);
_tm7.Add(new TabMenuItem('View Menu', '/Edit/NewUI.html?tstudio=45',
'main'), true);
_tm7.Ad...
I am preparing a web page with more data that can possibly be shown without making the page really cumbersome. I am considering different way to do this. One way would be to have the extra data magically appear on a small window when the user hovers over a particular part of text.Yahoo! Answers does something like that when you hover ove...
Hi,
I want to develop a web application using php and javascript.
There should be functionality of validations, data searching (from tables), sorting and pagination.
But my application should be built upon php, prototype.js and scriptaculos.js . I don't want to use jquery and similar tools due to virus issues.
Is there any tutorial o...
Hi,
I want to apply validations like email,phone no etc on my form fields using only prototye.js and scriptaculous.js. Is there any tutorials available? I don't want to use libraries such as jquery, zapatec etc. I want to use only two files Prototype.js and Scriptaculous.js.
Please help.
...
You have to pass the args variable to the anonymous function, but the anonymous function does not visibly need the args variable, so you have to memorize when Dojo needs the args variable, but the Dojo help page doesn't say! So, when does Dojo need the args variable?
var init = function(){
var contentNode = dojo.byId("content");
dojo.xh...
link REL="SHORTCUT ICON" HREF="/images/greenTheme/favicon.ico" type="image/x-icon"
the above code work in firefox but doesnt work in IE, how to make it work in IE?
...
I have developed a script for checking that user has selected a valid month and year for credit card.
function validatemonth()
{
var dt = new Date();
var mth = dt.getMonth();
var yr = dt.getYear(); //this seems to return different data in different browsers
yr = yr + 1900;
if(eval(document.PurchaseCredit.cc_expire_month.value) < mth &&...
Hello,
I have a html select box. And a search field (input type)
When i Search for something new a javascript function first clears the selectfield
But Javascript gives the following error:
gs.options.remove is not a function
This is the function
function clearScholen()
{
for (var i=gs.options.length;i>=0;i--)
{
gs...
I have the following markup:
<div class="header">Text</div>
<div class="hiddenArea">sdsada</div>
<div class="header">Text2</div>
<div class="hiddenArea">sdsada</div>
and the following jQuery:
$('.header').click(function() {
var t = $(this).next('.hiddenArea').slideToggle();
});
When the hiddenArea is revealed I want to...
I have text stored in a variable which contains several span tags.
I want to get all the contents inside every span at once.
How can I do that with jQuery or javascript?
<htmlText>
Researchthe university has been given a 5 star rating in the current Research Assessment Exercise. It is one of the UK's leading technological universiti...
I have been trying to detect the browser language preference using JavaScript.
If I set the browser language in IE in Tools>Internet Options>General>Languages, how do I read this value using JavaScript?
Same problem for Firefox. I'm not able to detect the setting for tools>options>content>languages using navigator.language.
Using nav...
I am using a javascript var to control the running of an ajax call. The call is triggered from a click event (on "#week_tag" div)and only needs to be run once per page load. The same click event also toggles the display of the sliding pane ("#week_summary") where the data from the ajax call is shown.
In the example below, I'm trying...
I have something like this:
var Something = function(){
this.render = function(){};
$(window).resize(function(){
this.render();
});
}
The trouble is that inside the anonymous function 'this' refers to the window object. I know I could do something like:
var Something = function(){
this.render = function(){};
var tempThi...
Hi,
How can I open a new window through javascript when popup is blocked in IE and Firefox.
Below is the code:
<%@ Page language="c#" AutoEventWireup="false" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>SessionRedirect</title>
<meta name="GENERATOR" Content="Microsoft Visual Studi...
Hi,
this one for the javascript gurus:
I'm experimenting with a new javascript framework. Its structure is inspired by none other than the mighty jQuery.
It has a global variable called $j, and .. oh, just see it in action:
/* file: jfoo.js */
$j = new (function(){
var modules=[];
this.loadModule = function(mod) {
modul...
I have a page that opens a modal dialog. After the operations done on dialog I want to refresh the opener page. But when I open the popup by using "openDialog" I cannot access to the opener by using window.opener on popup page. It appears "undefined" when I wanted to access. (I dont want to use "popup" method in this case. I want it to b...