473,671 Members | 2,430 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

password simple fix help

I know that this is going to be so simple to fix, but I have been pulling my
hair out trying to see the forest through the trees......

What I want to do is change the onMouseOver so that when you click on
'ENTER', it goes to the gatekeeper, not just by running the mouse over it.

Thanks,
<HEAD>
<!-- Begin
var nifty_little_wi ndow = null;
function gateKeeper() {
nifty_little_wi ndow = window.open('ga tekeep.html', 'theKeeper',
'width=350,heig ht=200,resizabl e=1');
}
// End -->
</SCRIPT>
</HEAD>

<body>
<td width="70">
<p align="center"> <A HREF="" onMouseOver="ga teKeeper()"
class="navgreen ">ENTER</A></td>

</body>

Nov 13 '06 #1
3 1412
prophet said the following on 11/13/2006 5:22 PM:
I know that this is going to be so simple to fix, but I have been pulling my
hair out trying to see the forest through the trees......
Would the forest be starting a new thread to ask the same question
again? I answered your question in the other thread.
What I want to do is change the onMouseOver so that when you click on
'ENTER', it goes to the gatekeeper, not just by running the mouse over it.
Change it from onmouseover to onclick="gateKe eper();return false"

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Nov 13 '06 #2

"Randy Webb" <Hi************ @aol.comwrote in message
news:xP******** ************@te lcove.net...
prophet said the following on 11/13/2006 5:22 PM:
>I know that this is going to be so simple to fix, but I have been pulling
my
hair out trying to see the forest through the trees......

Would the forest be starting a new thread to ask the same question again?
I answered your question in the other thread.
>What I want to do is change the onMouseOver so that when you click on
'ENTER', it goes to the gatekeeper, not just by running the mouse over
it.

Change it from onmouseover to onclick="gateKe eper();return false"

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/
Thank you - yes I did change threads as I thought I would get an answer as I
find sometimes people ignore some of the older threads.

Thanks again as you helped greatly!!!


Nov 14 '06 #3
so hopefully only one more question about this.....

so i have a webpage using frames. I have a header and a colum down the
left, and the main body (all of which have different htmls but are brought
together under index.html.
From the header frame i have a list of different options which when clicked
change the the body of the page, leaving the header page the same. I have
added a page which uses a 'gatekeeper' to loosly password protect one of the
pages to be displayed in the main body. The only problem is that with the
current code it is not the body that changes, but rather the header.

How can i adjust this???

Attatched 1st is what sends it to the gatekeeper, second is the 'gatekeeper'
code

Any advice?

1.

<HEAD>
<!-- Begin
var nifty_little_wi ndow = null;
function gateKeeper() {
nifty_little_wi ndow = window.open('ga tekeep.html', 'theKeeper',
'width=350,heig ht=200,resizabl e=1');
}
// End -->
</SCRIPT>
</HEAD>

<body>
<td width="70">
<p align="center"> <A HREF="" onMouseOver="ga teKeeper()"
class="navgreen ">ENTER</A></td>

</body>

2.

<HEAD>

<base target="index">

<SCRIPT LANGUAGE="JavaS cript">
<!-- Begin

function goForit() {
var location;
var password;
password=this.d ocument.testfor m.inputbox.valu e
location=passwo rd + ".html"
fetch(location)
theKeeper=windo w.close()
}
function fetch(location) {
var root;
if (opener.closed) {
root=window.ope n('','theKeeper sGopher','toolb ar=yes,location =yes,status=yes ,menubar=yes,sc rollbars=yes,re sizable=yes,cop yhistory=no');
root.location.h ref = location;
} else {
opener.location .href = location;
}
}
// End -->
</SCRIPT>

<BODY onLoad="top.win dow.focus()" BACKGROUND="ima ges/background.jpg" >
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR>
<TD ROWSPAN=2 WIDTH=50%>
<TD WIDTH=50% ALIGN=CENTER VALIGN=MIDDLE>
<FONT FACE="ARIAL" SIZE=2><B>For Members only.<br>
Please enter the password.<br>
</B></FONT><BR>
<TR>
<TD WIDTH=50% ALIGN=CENTER VALIGN=BOTTOM>
<CENTER>
<FORM NAME="testform" >
<INPUT TYPE="text" NAME="inputbox" VALUE="" size=20>
<INPUT TYPE="button" NAME="button" Value="Submit Password"
onClick="goFori t(this.form)">
<P></FONT>
</FORM>
</CENTER>
</TABLE>
Nov 14 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
14511
by: arktikturtle | last post by:
Hi! I'm looking for a way to validate a password within PL/SQL. I want to write CREATE PROCEDURE change_password(old_password IN VARCHAR2) IS BEGIN -- check if old_password is correct... but how? I can get the hashed value of the password from DBA_USERS, of course, but is there a way to hash old_password to see if it matches? (I wouldn't be
7
8691
by: Mike | last post by:
I've been trying for the past week to put a simple code together. I have done a LOT of searching, found scripts showing the functions I would like to use, however when I mix them it all goes wrong, somehow I always end up with error messages and functions not working right. Can someone please help me? I have a form, inside is 1 Text Field and 2 Password Fields. What I'm looking to do is: - Make sure password fields are equal - Set...
2
2120
by: Marek Szarafiñski junior | last post by:
Please help... My problem is I need to write simple function which checks if user (system user - Windows 2000 Professional), and password matches. Someone told me I should use function LogonUser. So I wrote quite a simple program which looks like below: <code> void main() {
10
4218
by: Fred | last post by:
Hi all ! Newbie in C programming needs help please ... I have a Windows console application written in C who ask a password on the command line . I want to change the original code to ask the password with a password dialog box . ----------------------- |
3
1612
by: TylerB | last post by:
Below is the code I have a question about. It is a simple setting of tables with login information for my Web Form and response.writing out the information: crConnectionInfo = new ConnectionInfo(); crConnectionInfo.ServerName = "SSSQL\\STAGE"; crConnectionInfo.DatabaseName = "<DB>"; crConnectionInfo.UserID = "<USERNAME>"; crConnectionInfo.Password = "<PASSWORD>";
0
1217
by: Adam Carpenter | last post by:
Hello, I am having some problems with these functions which are to be part of the forgotten password system for a website. I am sure it is something simple but I can't see it. I would be grateful for any help anyone could offer. The plan is: The users forgets their password so they enter their email address together with responses to some security questions (currently just zip/postcode). A random password is generated and, providing...
1
1079
by: Newbie! | last post by:
Hi Group, I have VB.NET and wanted to build a simple User/Password Login for My App. I have a Database with 3 Field, PrimaryID, UserName & Password. I want to be able to have a ComboBox look at the UserField and then the User type in the Password, how would I do something like this? Does anybody know of any Example anywhere?
7
161303
by: rajbala.3399 | last post by:
Hi , I want to download sql in my linux system........... # rpm -ivh MySQL-server-5.0.24a-0.glibc23.i386.rpm MySQL-cl ient-5.0.24a-0.glibc23.i386.rpm Preparing... ########################################### package MySQL-client-5.0.24a-0.glibc23 is already installed package MySQL-server-5.0.24a-0.glibc23 is already installed
1
2625
by: dan.cawthorne | last post by:
Hi all, Need Some Help With A Simple Password Form What a I Have Is Single Field Table, With One Record In It The Field is Called table is also called "Password" which ive created a form that represents this table, so the admin can change the password if needed at ease.
2
1707
by: Darvon | last post by:
Hello everyone. I have this website I would like to add some simple password protection to.. Nothing too fancy, so I decided to pull out an old javascript I came across sometime in the past that would work just fine. Only problem was, my main website works on a php webpage that refreshes as you go through folders and files. So everytime I clicked a folder to go in and view its contents, the password script would reapper again, asking me to...
0
8481
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8400
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8823
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8602
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8672
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2817
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1814
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.