Solved

restrict address bar(url) user can not change it once write it

Posted on 2010-09-14
8
435 Views
Last Modified: 2013-11-07
I will open a web page as popup window in which I will take feedback form tha only username (Textbox) and comments((TextBox) but it will just come when user write on addressbar(by URL) and we restrict them(user) dont change the address of that page until fill the form or close it.
0
Comment
Question by:jyotiraman
  • 6
  • 2
8 Comments
 
LVL 29

Accepted Solution

by:
Gautham Janardhan earned 500 total points
ID: 33679657
you can hide the address bar instead of restricting entry (don't know whether we can do that)
var window_dimensions = "toolbars=no,menubar=no,location=no,scrollbars=yes,resizable=yes,status=yes"  
window.opener=self  
window.close()  
window.open("[url]","_blank",  window_dimensions);  
window.moveTo(0,0);  
window.resizeTo(screen.width,screen.height-100);

Open in new window

0
 

Author Comment

by:jyotiraman
ID: 33679753
How I will use on the page(a.aspx) and will call another(b.aspx) page and url will hide.
0
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 33679776
yep from a.aspx page you can invoke this script by passing the url of the second page(b.aspx).
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:jyotiraman
ID: 33679799
It is working
0
 

Author Comment

by:jyotiraman
ID: 33978090
it good
0
 

Author Comment

by:jyotiraman
ID: 33978756
its good
0
 

Author Comment

by:jyotiraman
ID: 33978872
it shoul slose now
0
 

Author Closing Comment

by:jyotiraman
ID: 33978929
I want to close this question now
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question