Location=no But Still I See Addressbar?
Apr 1, 2010
i m working a web app in which i wanna remove the address bar after login. i created a function in which i said location=no but still i see the address bar. is there any other object to disable it? or am i doing it wrong
View 13 Replies
ADVERTISEMENT
Jul 23, 2005
is it possible to read out the Addressbar with javascript or do I have to
use php for it?
View 13 Replies
View Related
Feb 28, 2002
What's the javascript to change the window to hide the location bar, toolbar, etc onLoad?
View 8 Replies
View Related
Jun 24, 2010
I need to create a new browser window when we click on a button, as we do with window.open() in javascript. I was using that initially, but I was unable to set title of the html page and hide the addressbar and statusbar using it, I tried many things. but its not working in mozilla. I know that mozilla forces the default settings. Is their any way in jquery to both this things.
Here is what I am trying to do in javascript
var width = 600;
var height = 500;
var left = parseInt((screen.availWidth/2) - (width/2));
var top = parseInt((screen.availHeight/2) - (height/2));
var winProperty = "width=" + width + ",height=" + height + ",left=" + left + ",top=" + top + "screenX=" + left + ",screenY=" + top+ ",location=no,status=no";
mywindow = window.open('help/help1.html','Window title',winProperty) ;
});
View 6 Replies
View Related
Apr 7, 2010
I know what your first reactiopn is going to be> "You shouldn't be doing that". I know this, but my work wants it done for a locally installed html.
Is there anyway to control this onload? It will be launched from an icon(shortcut) on a desktop.
View 1 Replies
View Related
Feb 14, 2010
Danged if I can find the thread, but I swear I saw a $.url() reference in here a day or two ago. It was beingutilized for parsing out the window.location or window.location.search parameters. I made a mental note because that was something I would be needing to do.
Now I can't find it, either because the search isn't finding it or I was dreaming about this function existing.
I rummaged about the API docs and didn't find it there either. Is it something provided by one of the plugins and not a function native to jQuery?
View 3 Replies
View Related
Jul 23, 2005
I'm creating a pop-up (it's a timer for hotel guest broadband access) with
all attributes turned off. But becasue I have location set to 0 the damn url
keeps appearing in the title bar. This causes a major problem as the pop-up
displays a countdown in the titlebar that the user should be able to see
even when minimised and at present cannot because the url takes up all the
room. Code:
View 1 Replies
View Related
Jul 23, 2005
I've got a simple navigation system set up in a framed site:
navigation/top frame and a main body frame. Whenever you click on a
navigation button it passes the new location to this function:
gotoNewPage = function(loc) {
main.location.replace(loc);
// alert(loc);
}
which changes the page loaded in the main frame. This seems to work well
until I put a link in the page in the main frame, say:
<a href="#" onclick="top.gotoNewPage(Ƈ_7.htm')">Click me</a>
In IE the page changes to Ƈ.7.htm'.
In FF (and MZ) the page "flashes" but doesn't change.
If I uncomment the alert the page changes.
If I put the link in the nav frame the page changes in FF.
How can I get FF to behave in this instance?
View 1 Replies
View Related
Jul 23, 2005
Here is my relevant code for an arbitrary page (let's call it PAGE_B):
<body onload="window.location.hash='anchor'">
With this code, if the user goes from PAGE_A to PAGE_B, he will jump to
PAGE_B#anchor after PAGE_B has fully loaded. BUT... if he clicks the
back button, instead of returning to PAGE_A (which is what I want), he
will return to PAGE_B (without the anchor).
Is there any way to change this behavior... perhaps to replace the
anchor of page without touching the history stack?
View 1 Replies
View Related
Oct 3, 2005
for some reason, when I do this...
var email= prompt("Enter the email address you want to send the test
to:","");
it's opening the prompt window in the top left of the screen. How can I
put it in the center?
View 5 Replies
View Related
Oct 16, 2006
I am creating a "Please wait..." page to show a friendly message to my
site users while the data is being loaded. I am using
location.replace() javascript function to do this.
The problem that I am facing is displaying the records that the
application has already processed on the wait page. Does anybody know
what can I do to pass data field value from the end page where the data
processing is going in background on to the wait page.
View 5 Replies
View Related
Jul 15, 2011
I'm trying to create a "moving" side menu div.
Thus far I have it all setup in terms of the divs:
[url]
The setup is :
..then right_sidebar gets made the same height automatically as main_contents. I've color coded them to hopefully make it easier to see whats going on.
The code I'm using is:
As far as I can see its calling the right codes... yet it never seems to move #side_ads.
I'm aware there are plugins that do the same job - but I wanna try and avoid that if possible, as I'm pretty sure this should be simple to do - I must just be missing something.
View 1 Replies
View Related
Mar 21, 2004
I am using Internet Explorer, and I am creating a navigation bar that will take place for the one in the normal. It is in a frame, whick is my homepage. I have an address bar, and when you click go, or enter, the bottom half goes to that page. If you click a link on that page however, the URL in the address bar does not change. Is there a way that it can update itself with the URL of the other frame?
View 2 Replies
View Related
Aug 30, 2005
how can i change the text into the location bar without reload or go to this new url?
View 2 Replies
View Related
Jan 22, 2006
I have a script that displays the system time as the date but is there one that also displays the system location? For example "Location: Poland , Date: Sunday January 22, 2006" or "Location: Russia, Date: Sunday January 22, 2006"
View 1 Replies
View Related
Feb 17, 2006
I have a couple of links of which I change location.href for tracking purposes.
The problem is that the links now no longer seem to open in a new window (which was accomplished using target="_blank")
Is this an error on my part or is this by design? Is there a workaround? I would prefer not to use window.open as that could get blocked by a popup blocker.
View 3 Replies
View Related
Jun 28, 2002
or is it window.location?
anyway, why doesn't this work?
Any ideas why this doesn't work?
<script language="javascript">
function goclaims()
{
document.location.replace = "../webapplication2/webform1.aspx";
}
</script>
<asp:ImageButton onlick="goclaims();" id="Image5" onmouseover="this.className='applyBorder'" onmouseout="this.className='removeBorder'" runat="server" Width="24px" Height="18px" ImageUrl="file:///C:Documents and SettingsgregbDesktopiconsClaims.ico" CssClass="removeBorder"></asp:ImageButton>
View 3 Replies
View Related
Mar 28, 2011
I try to get a value from anotherweb-page but i always encounter an exception not allowed by Access-Control-Allow-Origin.
This is my code-snip
Code:
if (window.XMLHttpRequest){// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}
[code]....
View 2 Replies
View Related
Jun 16, 2011
I have 21 lines in a textarea visible and there are over a thousand lines in it. If my script finds something for the user in line 520, is there a way to set the scrollbar so only lines 510-530 are initially visible?
View 2 Replies
View Related
Nov 9, 2010
I am working on my website and am having trouble with the navigation bar. I am using Javascript to write innerHTML and if statements for finding what page I am on. Currently I am trying to figure out how to find out the document name so i could do something like:
[Code]...
View 2 Replies
View Related
Jul 23, 2005
I'm passing the asp parameters using the url current page is files.asp and I'm using window.location.href=files.asp?action=deletefile to pass the action to the serverside
My code never got executed (like the page was cached) unless i put document.write("") before the window.location directive.
Here's the code:
function confirmDelete(x){
var potvrda=confirm("Kliknite OK za brisanje. Cancel za povratak.");
if (potvrda==true) {
trans="files.asp?action="+x;
document.write("")
window.location.href=trans;
}
else {}
}
View 9 Replies
View Related
Jul 23, 2005
I have a footer that is appended to all of my web pages as an include. The
pages are different lengths of course so that location of the div in pixels
from the top of the page changes with each page. I need to access the
location of a div within this footer for reasons I won't go into. The footer
may of may not be nested inside other absolute divs, depending on the page.
This:
var obj = document.getElementById('BottomMenuDiv');
var xlocation = parseInt(obj.offsetLeft);
var ylocation = parseInt(obj.offsetTop);
will give me the location of the div inside it's parent div. I would like to
do something like this:
while (obj.parent)
{
obj = obj.parent;
xlocation = xlocation + parseInt(obj.offsetLeft);
ylocation = ylocation + parseInt(obj.offsetTop);
}
to go all the way to the top of the page. (Or is there some way to get the
divs absolute position without going through it's parents?) What would be
the syntax to do this?
View 3 Replies
View Related
Jul 23, 2005
I'm trying to use the onload event to load a series of urls.
What I find is that the onload function is only called one time
no matter how large the array. Here is the onload function.
var next_win = 0;
var win = window.open("", "", "");
function nextWin() {
if (next_win < urls.length) {
win.
win.location.href=urls[next_win++];
}}
Is this correct behavior?
View 10 Replies
View Related
Jul 23, 2005
<script language="javascript">
function ConfirmPage() {
window.location.href="http://ConfirmationPage.htm";
return false;
}
</script>
How can I use this script to display a page in my current directory? It woriks fine when using a domain such as yahoo.com or google.com.
View 3 Replies
View Related
Jul 23, 2005
i have the following script:
function subCat(){
var d = document.all;
var i = d.sid.value;
if(i != "-1"){
window.location = "subcat.php?sid="+i;
}
}
That is called on the following drop down menu:
<select name="sid" class="dropBox" id="sid" onChange="javascript:subCat()">
<option value="-1">Please Select</option>
<option value="1">category 1</option>
<option value="2">category 2</option>
<option value="3">category 3</option>
<option value="4">category 4</option>
</select>
It works fine in IE but not in Mozilla Firefox, what do i need to chnage to
make it work correctly?
View 2 Replies
View Related
Jul 23, 2005
I'm working on a page that uses javascript very much. My problem is now
that i cannot redirect to another page in IE with window.location =<URL>;
This command gets executed (proofed with alert messages) but nothing
happens. FF acts like expected but i cant get it work in IE. What can be
the problem here?
here the code i use:
this.NodeSelected = function( node ) {
if ( node.Value != null && node.Value != "" ) {
window.location = node.Value;
}
}
View 3 Replies
View Related