Edit DateTimePicker.js for birthdates?

Hi! I'd like to edit the popular DateTimePicker.js file in order to use it for choosing birth dates. Is there a way to limit the years to a range of 1989 back to 1957?//Javascript name: My Date Time Picker//Date created: 16-Nov-2003 23:19//Scripter: TengYong Ng//Website: http://www.rainforestnet.com ...

Ubuntu Shell don't start - JS ERROR

Today, afer a partial upgrade i had a problem: Gnome shell desen't start and gnome classic start. I had a Clutter error i already had once so i re-install my nvidia drivers like i did the first time. But now i have a better one: Gnome shell still doesen't start (and Classic neither if i don't select ...

help with a small javascript

Can anyone tell me what is wrong with this code that I wrote to manage the concentration game?<html><head><!-- Filename: tiles.htmSupporting files: ldown.gif, lup.gif, pback.jpg, pr.gif, premier.css, rdown.gif, rup.gif, slide00.jpg - slide11.jpg--><title>The Concentration Gam ...

jQuery validation plugin - Italian Translation

filename: messages_it.js/** Traduzione dei messaggi di default per il pugin jQuery validation.* Language: IT* Traduzione a cura di Davide Falchetto* E-mail: d.falchetto@d4solutions.it* Web: www.d4solutions.it*/jQuery.extend(jQuery.validator.messages, {required: "Campo obbligatorio.",remote ...

Jquery anonymous function calls

Im seeing a lot of jquery codes wrapped in an anonymous function call like this : filename : sample.js(function($) {  /*more code here*/  })(jQuery);And then this file (sample.js) get included in the page via the src attribute of the script tag. My questions are :1.  When is this anon ...

Need Help Pull Down Menus

After some help and revisions, my page is getting along. I would like to add some pull down menus but need some help.The pull down menus in the HTM file are listed as "menu1", "menu2", "menu3", etc to menu5. HTML:<?xml version="1.0" encoding="utf-8 ...

Slide Menus Not Working?

The menus are supposed to come out from the side, as an animation. I thought I had the correct code but for some reason it isn't working.Could anyone take a look at my Javascript at let me know what I'm doing wrong?Thanks...Here are my files:HTML: <?xml version="1.0" encoding="UTF- ...

I Need HELP!!

Hello, I need some help with an assignment for school. The assignment is due on March 15, 2011. I hope you can help. I am going to attach a zip file with assignment files and scans of pages in the book So here is the asignment direction and code that I have come up with:Assignment: To create this ap ...

Javascript/Ajax 2nd Edition - T4Tutorial (Pull-Down Menu's)

Hi, I'm new to these forums so if anything is out of the ordinary let me know for next time or so I can correct it - please.I am also not very good with javascript but I am trying to learn the whole concept. Anyways, I am supposed to create pull down menus when I open this page:<?xml version= ...

Adding javascript to a webpage inside a iframe?

Alright so I've been teaching myself php/javascript/html/joomla for the past couple weeks, learning as i go along. So bear with me if i seem like a total moron =p.I'm trying to run a script from a js file to add javascript to the website inside the iframe. I also would like the script to only be act ...

Newbie needs javascript help

Hello, everyone i have a mini problem on my hands. I wrote a javascript file, which was linked to a html file. The issue here is that i cannot seem to load my table of contents. i have checked my syntax countless times and my compiler shows no error message. i hope anyone of you out there could help ...

Help with JavaScript Case Problem

Greetings,I am new to these forums, and am wrapping up a JavaScript class for the year.I am in desperate need of help (which I usually obtain from my Instructor, but she is away from the office today) with my Tutorial 12, Case Problem 1 : New Perspectives JavaScript and AJAX 2nd Edition( by Patrick ...

Expandable Table Of Contents... School Final Project

thanks in advance to anyone who can take a peak at my code and hopefully point me in the correct direction.I have been working on my final project in my javascript class for a bit, and there are a few erros I cant seem to find through firebug or error console.It is due this evening at midnight, so a ...

Javascript help! Please

Hi. I need some help here please. I have these codes html, and js files(external files) and I have 10 french phrases to be translated to english everytime the mouse is over each phrase. can you please help? here are the files:Here is the main html file:<title>French Phrases Week 5</title ...

Running javascript on a page inside a iframe

Alright so I've been teaching myself php/javascript/html/joomla for the past couple weeks, learning as i go along. So bear with me if i seem like a total moron =p. I'm trying to run a script from a js file to add javascript to the website inside the iframe. I also would like the script to only be ac ...

changing a form & displaying a thumbnail depending upon interaction

with my being a novice at js still - I am wondering if I want to do can be done.I have a form which the user will fill in.Instead of the form uploading an image, that is done by a completely seperate process, but the user then associates the contents of the form with the image. When the user clicks ...

AJAX works in Mozilla, not IE6

First attempt at using AJAX. I have the following code which works fine in Mozilla Firefox but doesn't working in I.E. 6 - I get unknown runtime error. on the line copying responseText to innerHTML.The two alerts before show what I expect, i.e. the returned HTML in responseText and empty in innerHTM ...

Javascript how to jump to anchor tag created in webcontent

I am a Ajax newbie. Can you guys help me. I have 3 files:1. A html file (index.html) that contains the DIV element to display web content using innerHTML via AJAX2. A javascript file (myscript2.js) that handles the AJAX and update the DIV.innerhtml and also 'jumps' to an anchor tag created by the 3r ...

Ubuntu Gnome3 problems

I'm using gnome3 from the ppa (gnome3-team) and recently it hasn't been starting--I get the sad computer icon with "something is wrong and you have to log out"--so specific, I know. Anyway I tried running gnome-shell from a terminal and this is what I get. Any ideas? jon@jon-laptop:~$ gnom ...

str_replace using an associative array

I have this javascript template file filled with some macros like %macro_name% that I want to replace with some pre-defined values and I want to do this using str_replace function.I'm using this code:$options = array ("%frequencia%"=>"1","%idcliente%"=>"100 ...

Ubuntu Gnome-Shell Issue

Trying to install/run Gnome-Shell in Karmic, I get the following error:joe@joe-desktop:~$ gnome-shell --replaceJS ERROR: !!! Exception was: Error: Requiring Shell, version none: Requiring namespace 'Meta' version '2.28', but '2.29' is already loadedJS ERROR: !!! lineNumber = '0'JS ERROR: !!! fileNam ...

Animating a path - help finding my errors

I am working on an optional exercise for a course, being optional no one has posted any helpful feedback on the course forum. I have finished the code as instructed, to the best of my ability and cannot located the problem.The script is supposed to activate a red ball when clicked to travel around a ...

date time script - return date differently

I'm using the datetime script below.How can I change it that is should it should format the dates as 03/09/2006and not 3/9/2006//Javascript name: My Date Time Picker//Date created: 16-Nov-2003 23:19//Scripter: TengYong Ng//Website: http://www.rainforestnet.com//Copyright (c) 2003 TengYong Ng//FileNa ...

Date time picker: How do I make the today's date "clickable"?

people, I have a problem with Date time picker javascript. This is my test page http://devrimci.blogspot.com. If you have visited the test page and click the calendar by the side of the text-box, it will pop up a small window indicating today's date, year and etc. It looked like this:-http://i21.pho ...

Date time picker: How do I make the today's date "clickable"?

people, I have a problem with Date time picker javascript. This is my test page http://devrimci.blogspot.com. If you have visited the test page and click the calendar by the side of the text-box, it will pop up a small window indicating today's date, year and etc. It looked like this:-http://i21.pho ...

Ubuntu the board

i am a big fan of the board project and i really love this app and want it running,so...i installed it from the ppa https://launchpad.net/~the-board-team/+archive/dev-snapshotsfirst time i ran it,it run nice and smooth,when i closed it and tried to re-run it,it didn't run,when i rebooted i get this ...

Ubuntu Gnome-shell on Natty Narwhal

I just switched myself to Natty.I have used Gnome-shell in Maverick, installed from official repos.It works fine, though the source might be a bit outdated.Now with the toolchain updated from Natty repos, Gnome-shell works no more.This is what I get in terminal:JS ERROR: !!! Exception was: Error: Re ...

Ubuntu How do I run Gnome Shell? (Karmic repos)

This thread is about getting the karmic packaged (now up to 2.27.2) gnome-shell to work, not compiling. (I tried searching the other threads and also looked at the Gnome wiki page).Just thought I'd try and ask for some help. I've been trying to run gnome-shell on my Karmic test VM (virtualbox).I hav ...

Ubuntu Can't launch succesfully compiled Gnome Shell

After many failures, I succesfully compiled Gnome Shell from GIT. I already did about two months ago on the same machine and everything went ace. This time, when trying to finally launch it with ./gnome-shell --replace, the windows briefly disappear, the screen flashes for a few seconds but the Unit ...

PHP: How to modify a downloaded JavaScript code and partly change the code within it?

I would like to download a JS file which could run from my (local) server. With the following code I can download and run the "filmtotaal javascript code". However there is a link in the JavaScript code: "http://www.filmtotaal.nl/images/fotvDetails/covers/25954.jpg" which I would ...

Handling POST HttpListener c#

I have a web server that I wrote in C#, and it serves HTML documents pretty fine. The code is a bit messy, and I'm going to clean it up, but my main question is how to handle POST when submit buttons are used in HTML?Thanks!This is my code so far:using System;using System.Collections.Generic;using S ...

Ubuntu I see only an menu bar when start Gnome-shell session

I want use Gnome-shell session, when I start it only appears a menu bar on top.I run "gnome-shell --replace" in a terminal and it says...(gnome-shell:2537): Clutter-WARNING **: Whoever translated default:LTR did so wrongly.(gnome-shell:2537): Clutter-CRITICAL **: clutter_actor_set_text_dir ...

DOM slideshow

I am having a problem with my homework assignment and can not figure out the problem. Debug comes back clean and I am stumped on this project for several hours. I hate asking for help and like to figure it out on my own, but I can not seem to know what the problem is. I have done alerts in my blocks ...

jQuery How to get the filename of the inline js file ?

I don't find something about this, but perhaps someone have a solution. Below is my problem : I overload standard document.write in order to defer some js calls ( like ads ) with a lazyload feature. The JS file is loaded as this :  var script = document.createElement("script"); script.src = url ...

Jquery doesn't like script filename..

jquery people, I was recently playing around with jquery for my own independent project outside of work, and i found something interesting that was driving me crazy for a bit.    I dont know if its the IDE iam using or maybe jquery itself, but i had a script file called include/lookup.js a ...

jQuery Put scripts in js file and append to div tag with click function

I have php page pulling data from a mysql db and looping output until a condition isn't met.  What I would like to do is append html to a single div instead of 3 div's.  I was wondering if I can put the script stuff into a separate js file as well.  Below is a link and the code, I'm g ...

Is there a JS 'abort' or 'die' function?

In PERL there is a 'die' function that stops execution of a program if certain conditions are not met.For example, a needed file is not found because it is miss typed.Is there a similar function for javascript?The code I would think would follow something like this:var FileName = ''; // might have e ...

get filename and populate a text box

I have a form and I wish to populate the contents of a text box by clicking on a picture from a pop up window.i.e. the form will ask the user which photograph they wish to associate with the contents of the form they are filling in. Ideally I'd return the filename or something.I have the form, and I ...

Including external JS files in JS files

I need to include mootools JS framework in .js file. I currently do it with this function:function loadjscssfile(filename, filetype){if (filetype=="js"){var fileref=document.createElement('script')fileref.setAttribute("type","text/javascript")fileref.setAttribute(" ...

innerHTML css/js/ie6? issue

Doing ajax calls for tabbed content - I'd post code, but I've literally tried everything from stock JS to all the different jQuery ajax calls, along with setting the content using innerHTML, outerHTML, and createElement/appendChild. Everything works great in FF, but the pages formatting gets bungled ...

install.js is not working for netscape navigator 9

i have problem in installing the dll file in netscape navigator 9. i have a .xpi packege which is a zip file of install.js and npcol305.dllnp.dll is a plug-in to install the install activator. my install.js is working fine with the netscape 8.1.3 ( that is it is able to download the requirred npcol3 ...

JS FLV Video Player works fine in FF but error in IE

So I tried to do my father a favor and convert his advertisements to .flv and place them on his website. With Flash being $600, I found an open-source .flv player and configured it. So today he called and stated it isn't working. www.fivestarsuzuki.com is the URL, I may take the code down soonThe sc ...

when use ".js" files

Instead of writing javascript functions on the html page it self, we could write those in separate “.js” file and import it as follow.<script src="fileName.js" ></script>But when we do this and check the web page source on the browser, there is no any JavaScript function th ...

Prototype.js help

I want that table be refresh after deleting datai have tried it but it’s not working. Can you pls help me how can I do it using protype.js?this is my code<?php require_once("common.php");$row=getDetails();//print_r($row);function getDetails () {$objLogs = new Logs();$fields = 'id,link ...

Removing Filename Extension

I have a file download counter on my website, here, that I am playing around with.The files are stored in a folder on my server and their filenames are used to populate a mysql database.What I would dearly like is for the filename without it's extension to be displayed in the table on my webpage but ...

problem with glossy.js

I use glossy.js and I am trying to apply it in an image with the path like<img src="../Users/admin/header1.gif" class="glossy"/> the effect is ok.But when I am trying this in a php code likeecho '<img src="../Users/$user[username]/$photo[filename]" class=" ...

Writing Server-side JavaScript with node.js

Manufacturer: node.js Pros: You get to use the JavaScript in both the client side and server side. Cons: By itself, you have to write an entire web server (but there are additional libraries that handle that) Summary: node.js may well be the next big thing in web application development, as it allow ...

Oracle Maps - tiles are always PNG

I'm trying to test different file formats for my map tiles (trying to shrink tile sizes). When I look in the server's cache directory, they are the correct format. When I look in my browser's cache, they're always PNG.Looking at loadscript.js, line 2733 I found this:return String(this._f174+"?reques ...

Oracle JS Jump to Next Text Field

I am going to have four seperate IP boxes to seperate an IP address so I can validate it and reformat it. I would like to have it so that when a user enters in the first 3 digits it jumps to the next text box.I found an HTML/JS example but I am having trouble implementing it.Here is the URL of the e ...

Edit JS to work as onload event

Can someone kindly help me - I'm not so savvy with js. I want to size a webpage to 520 x 720 and center it.. thing is it has to happen on body onload. Not as a popup using param set in the link...So that said, how do I edit this to run in a page that is going to be resized and centred onload?<SCR ...