address-bar

Open new popup window without address bars in firefox & IE

我与影子孤独终老i 提交于 2019-11-26 03:22:29
问题 hope someone can help. just cannot get a new window to open in Firefox without address bars. IE works fine with below code window.open(\'/pageaddress.html\', \'winname\', directories=0,titlebar=0,toolbar=0,location=0,status=0, menubar=0,scrollbars=no,resizable=no, width=400,height=350); I need to make for all browser 回答1: Firefox 3.0 and higher have disabled setting location by default. resizable and status are also disabled by default. You can verify this by typing `about:config' in your

Modify Address Bar URL in AJAX App to Match Current State

為{幸葍}努か 提交于 2019-11-26 02:39:42
问题 I\'m writing an AJAX app, but as the user moves through the app, I\'d like the URL in the address bar to update despite the lack of page reloads. Basically, I\'d like for them to be able to bookmark at any point and thereby return to the current state. How are people handling maintaining RESTfulness in AJAX apps? 回答1: The way to do this is to manipulate location.hash when AJAX updates result in a state change that you'd like to have a discreet URL. For example, if your page's url is: http:/

Is there a way to change the browser's address bar without refreshing the page?

99封情书 提交于 2019-11-26 01:48:45
问题 I\'m developing a web app. In it I have a section called categories that every time a user clicks one of the categories an update panel loads the appropriate content. After the user clicked the category I want to change the browser\'s address bar url from www.mysite.com/products to something like www.mysite.com/products/{selectedCat} without refreshing the page. Is there some kind of JavaScript API I can use to achieve this? 回答1: With HTML5 you can modify the url without reloading: If you

Hiding the address bar of a browser (popup)

别等时光非礼了梦想. 提交于 2019-11-26 01:47:39
问题 I have to hide the address bar of a browser. I am using this code: var winFeature = \'location=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes\'; window.open(\'Result.html\',\'null\',winFeature); In many solutions, just the location=no attribute can hide the address bar (in both IE & Chrome). However, this didn\'t work for me (even in IE & Chrome). Finally, I found a MSDN article that describes how location=no simply hides the back/forward/stop navigation buttons, and makes the address

Is there a way to change the browser's address bar without refreshing the page?

我的未来我决定 提交于 2019-11-25 23:55:50
I'm developing a web app. In it I have a section called categories that every time a user clicks one of the categories an update panel loads the appropriate content. After the user clicked the category I want to change the browser's address bar url from www.mysite.com/products to something like www.mysite.com/products/{selectedCat} without refreshing the page. Is there some kind of JavaScript API I can use to achieve this? With HTML5 you can modify the url without reloading: If you want to make a new post in the browser's history (i.e. back button will work) window.history.pushState('Object',