Way To Create A Log In Script
Aug 20, 2001
Just a quick question concerning log in scripts - (This is being used as a demo) What I am attempting to do is to have a log in screen and the user will put in a specific ID (password irrelevant) and when they click on "go" or "continue" the page will direct them to a specific page determined by whatever ID they had used. Searched around for scripts but was unable to find any...
View 8 Replies
ADVERTISEMENT
Dec 16, 2011
I have files on the server: .txt, .xml, .config, and "no extension" - all editable with notepad.
User will write some input, it will be added to file in specific place.
I need an ability to change element value in file (in one of them - depends what user choose) (or it even can be some trigger word it-self like CHANGE_ME for not to use attributes)
Create a temporary copy of edited file and create a unique temporary link to it.
I don't know what to start from.... For now I know how to make XHR, but what to do with other extensions?
Have no idea how to save the NEW file (a copy of original file) on server , and create a UNIQUE link ,and delete the file right after it was downloaded.
I can find a specific word in xml file, but how to change it?[code]...
View 3 Replies
View Related
Oct 21, 2005
I am loading a frame on the right from a simple text menu in a frame on
the left.
What I would like is to be able to show the user which menu item they
selected last for example emboldening the item or showing a marker
against it.
Could anyone post a snippet of code or a link that might just point me
in the right direction.
View 8 Replies
View Related
Feb 27, 2006
I need the create a password script. The password script must have 4 users each with different log in locations.
View 4 Replies
View Related
Dec 14, 2006
I have a problem and I don't understand why this is happening.
Code:
calendar = document.createElement("div");
calendar.setAttribute("id", "calendar");
table = calendar.createElement("table");
After I create table element nothing apears on the screen.
View 4 Replies
View Related
Dec 22, 2006
My problem is to create a <spantag in the div tag with the name
"favoriten".
In the first step I create the span tag in the "hinzufügen" function
in my JS. The function is called when someone clicked a picture on my
site (onclick).
After that the span tag is create, but not exactly in my div
"favoriten"... The span tag is create on the top of my site.. Code:
View 1 Replies
View Related
Apr 17, 2007
I'm trying to create a php form which is auto completed after onchange
action of a drop down.
I've created a js file and linked it to a PHP file, which is linked
with a XML file.
Inside the PHP - after i tried to print the response and got a blank
one:
var response = xmlHttp.responseText;
alert(response);
I've tried to print after creating the DomDocument, but it probably
doesn't work, because it doesn't print anything:
<?
$q=$_GET["q"];
$xmlDoc=new DomDocument();
print $q;
.....
.....
?>
If i put the print $q before the Dom creation: $xmlDoc=new
DomDocument(); it does print.
How can i create the DOM without an error? where is my mistake?
View 1 Replies
View Related
Apr 19, 2009
<img src="img/Timezones_optimized.png" width="956" height="396" usemap="#locationmap" alt="World Map" />
<map id="locationmap" name="locationmap">
<script type="text/javascript">
[Code]....
As you can see I am simply trying to get the javascript to write an area for the image map but I can't get it to display.
I know the code looks pointless but what I want to do eventually is use an array of locations to dynamically create the areas.
View 1 Replies
View Related
Dec 29, 2010
I am working on the html code in which i using the List Control The Requirement that among the List element in which I choose the locationsthere is option in which whenever i select the option None From The List then it should Disply the empty textbox So how the function is declared
View 4 Replies
View Related
May 23, 2011
I need to create an interactive map similar to the one on this site: [url]
It is a map of a fictional area ( a real area but there are fictional buildings and characters on it) so I don't think google maps plugins are suitable.
In other words, I need a map where by clicking the objects on the map, a popup window pops up with additional information about the 'scene' or a 'character'.
In addition, the map will be dark from the beginning and more and more sites and characters will be revealed on it every week.
View 4 Replies
View Related
Oct 27, 2011
I have an assignment to create a program in JS but I have not read JS much more. So, for this assignment, can anyone help me to solve this assignment? Check attachment. [URL]
View 1 Replies
View Related
Jun 2, 2010
I have to create a dynamic HTML page that actually contains two separate HTML forms.Can anyone tell me how can I create two forms in a single HTML page.
View 1 Replies
View Related
Jun 1, 2011
i would like to know that how to create dropdown menu in mysite.
View 1 Replies
View Related
Nov 23, 2011
I have a select with a OnChange Function. I would like to know how to create a different object depending on the selection on the Select.
Example:
MySelect have Option 1 and Option 2, so
If (Myselect.value == Option 1)
{Create Object 1}
If (Myselect.value == Option 2)
{Create Object 2}
I'm using the object under <body> and it's working, but when I'm trying to use it under a <script> does not work.
This is the object I'm trying to create: (It is a map) so what I'm trying is to change the values or map depending on the selection of the Select.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="900" height="600" id="zoom_map" align="top">
<param name="movie" value="us_albers.swf?data_file=senate.xml" />
<param name="quality" value="high" />
[Code]....
View 1 Replies
View Related
Aug 12, 2004
I am trying to create a form (a quiz to be exact) and I know how to create one in php. The only problem with this is that the location that I am planning on installing the quiz does not allow me php access, a cgi-bin or even internet access . Iam able to use html pages from a location stored on the desktop or in a network folder.
My idea is to have the first page be the actual quiz with the users selecting the answers. The following page (whether its a popup, text file, or a new page) would be where the answers are displayed and then ultimately printed to paper. Most of the scripts that I have found that would do something similar are email style scripts (I am unable to use this method)
This is what I have in php and is the type of format I am looking for in javascript. (I'm not very proficient in php as I just started and I have no clue about javascript) Code:
View 1 Replies
View Related
Dec 3, 2007
I'm trying to find out what the best way to create a simple popover is without having to fork out for it.
I want to be able to do pretty much exactly what happens on this site, wait for the popover to come down after the page has loaded, I would like something similar to that.
I don't even know if this can be done without buying the software but I thought I would ask here to see if any of you guys knew how to do it.
View 5 Replies
View Related
Feb 25, 2010
I have asked to create a chatbox, which acts just like a messenger which I type a text in the textbox and press send to show output to the messagebox.However, in my code, I have 2 bugs which is bothering me. whenever I press spacebar, a "+" sign appear. The second is the first text disappeared whenever I type the second text.
Code:
<html>
<head>
<title>Untitled</title>
[code]....
View 1 Replies
View Related
Aug 4, 2010
i need creat some elements for example textfield and a combolist using dom. what i find so far was very complex examples that dont do what i need that is only creat a text field and a combolist with custum values inside.
View 1 Replies
View Related
May 10, 2011
How do I create a menu similar to: Great womens fashion and womens clothing now available | Boohoo
View 3 Replies
View Related
Oct 11, 2010
I want to Create a row as the same as above
<HTML>
<HEAD>
<TITLE> TESTING</TITLE>
</HEAD>
[Code].....
View 1 Replies
View Related
Jul 23, 2005
I must begin to say that I'm rather new in wtiting and using JavaScript. Now
I want to use JavaScript in a HTML-page. On the homepage is a link. Every
time the homepage is displayed the link must point to another target. I want
to realize this by having a lot of differet targetpages. The names of these
pages are p1001.htm until p<nnnn>.htm. At this moment the last is p1153.htm,
but the amount is increasing every day.
I have a file named "counter.txt" which contains one line with the string of
the last targetpage, at his moment "1153".
My idea is to have a JavaScript which:
1. reads the file counter.txt to determine the last available page
2. then takes at random one number between 1001 and 1153,
3. sets the HREF-link to page p<random>.htm.
I know it must be possible in JavaScript, but can anyone help me?
View 1 Replies
View Related
Jul 23, 2005
How can i create an input object (text area,select) at runtime ?
View 3 Replies
View Related
Jun 15, 2006
I know that IE6's support for CSS is well... hmmm... lets just say not very good, however I was wondering if style declarations can be added at run time, via JS?
e.g.
Can I create a new rule?
View 1 Replies
View Related
Nov 4, 2006
I am trying to create a handle to an iframe, but the script only gets
to a certain point and then fails. I am new to JavaScript, and I have
tried everything I can think of, but I just can't seem to figure it
out.
Below is the script with some comments so you can see what's happening.
var tmp_id = document.getElementById("BROWSER");
// tmp_id = [object HTMLIFrameElement]
var f_browser = tmp_id.contentDocument;
// f_browser = [object HTMLDocument]
f_browser = f_browser.contentWindow.document;
// f_browser = undefined
Could anyone explain what I am doing wrong. I have used this method
after seeing several examples online, although to be honest, I don't
understand what it's doing (or not doing) 100%.
View 4 Replies
View Related
Jan 16, 2007
I've got a few lines of javascript which works fine with IE, but I
don't know how to adapt the code so it also works on FF:
************************************
// create the table
var ItemTable = document.createElement("TABLE");
// insert a row for the topic
var myTHeadCell = ItemTable.createTHead().insertRow(0).insertCell(0) ;
myTHeadCell.width="100%";
myTHeadCell.innerText="Title";
// insert a row for the instruction
ItemTable.tBodies[0].insertRow(0);
ItemTable.tBodies[0].rows[0].insertCell(0);
ItemTable.tBodies[0].rows[0].cells[0].className="instruction";
ItemTable.tBodies[0].rows[0].cells[0].innerText="instruction/question";
************************************
The code fails when I try to insert the "Instruction"-Row: In FF no
tBodies-Collection exists.
And when I write ItemTable.insertRow(0) instead, the row is added to
the THead. How do I create a table body?
View 1 Replies
View Related
Mar 29, 2007
how to i create a button which open a file window from where i select any file and then it pass the file data into the list box. Basically in this file i have only 6 digit
numbers which i need to process into the listbox.
View 1 Replies
View Related