Click here to Skip to main content
16,015,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to make the browsers url inactive on the click of the button how can i do it, seems difficult, any solution?????????????
Posted
Comments
ZurdoDev 28-Feb-12 8:15am    
What does it mean to make the url inactive? Are you trying to remove the address bar from the browser?

1 solution

You cannot change it in the existing browser window you are currently running in. You would need to popup a new window, setting the configuration accordingly. Something like this:
window.open ("http://www.codeproject.com", "codeproject","location=0,status=1,scrollbars=1, width=600,height=400");


Good luck!
 
Share this answer
 
Comments
bbirajdar 28-Feb-12 10:01am    
Exactly.. Its the only solution AFAIK.. +5
thatraja 28-Feb-12 13:39pm    
This answer makes sense, 5!
Hey Nij!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900