I am trying to determine whether the status bar is visible or not .. is
there a method to check the state? I did a google search and found
info re: window.status.visible but it returns undefined?! Has it been
deprecated?
The following excerpt is part of a very huge project(in terms of code involved). Pardon me if it lacks a bit of context. But I assume I have posted adequate information for understanding the problem.
But when I alert the status of the checkboxes they show up as "undefined". As you can see, the first piece of code defines a titlebar with a button and a couple of checkboxes and the name of the titlebar. And it is these checkboxes that remain undefined even though I can see them and check and uncheck them. But the name of the titlebar gets passed to the function correctly when the onclick event fires and it gets alerted.
im new to javascript really because im mainly PHP and MySQL, however i need something. At the bottom of a browser, you have a window status right? Well, when i move over links on my website, the status at the bottom changes to the destination of that link. Like
http://www.mydomain.com/somepage.php
How can i do a mouse over event, so when someone moves over the link, the status changes to "The login page" or "Register here", etc, to replace the destination URL.
I really dislike the look of (javascript-)links in the statusbar and I can't integrate "onmouseover="window.status='...'return true;" in all of the links, cause I'm going to use this (http://www.dynamicdrive.com/dynamicindex1/hvmenu/) menu. So, is there any solution for my problem?
I want to get the physical memory status, say, the total amount of physical memory, the free memory, and so on, from the javascript, is it a mission impossible?
There are no problems with the following image loading code fragment and window.status assigments/updates in IE but in Firefox window.status fails to update. Any suggestions?
Is there a way to find out, in the calling javascript code, if the opened window mywin could read server information from "http://localhost:3456/".
I tried mywin.error and mywin.status, but it's not yet clear to me what to do.
In mywin, the (Dutch) InternetExplorer version, it can, sometimes say, could not open this page. (To be exact: In Dutch "De pagina kan niet worden weergegeven".)
My goal is actually to find out, if there is something running on localhost that is listening on port 3456. There might be other ways to do this then checking mywin even?
will both show the javascript link on the browser status bar...of course you can use onmouseover to set the status bar text...but you need to do on all the link....a little over kill.
I've been given the task of mantaining and fixing a website which I didn't design.
I'm using Internet Explorer 5.5 and 6.x. Specifically, the problem is that navigation menues (written in javascript) don't disappear when the mouse moves outside of the area of the menues (some of the menues are nested two and three levels). As long as the mouse cursor remains *within* the options of the menues, the option under the mouse cursor is highlighted and the corresponding sub-menu is displayed. If the mouse pointer then moves over another option of the menu then the former sub-menu hides, the new option is highlighted and its corresponding sub-menu is displayed, or, in case of a nested sub-menu, the corresponding sub-menu is displayed. So far so good.
As I said before, the problem arises when the mouse pointer moves *out* of the menu area. In this case, the last menu + sub-menu (if available) + sub-sub-menu (if available) remain visible treading any underlying content, instead of auto-hiding after half a second, for example, as is the case of all well designed websites.
As far as I could find out, the original programmer used some third-party tool to design the menues, and the javascript code was automatically generated by that tool. By the way, the code ....
I want to open popup on clicking link and onmouseover the link i want to show url in status bar .if i give it in href then onclicking it open the new window and submit the parent window
i use mouseover function to give status bar url it work in IE7 but not in mozilla
We have a bit of a baffler as to why the Close X is not visible when using the Thickbox module.
Here's a live example of what I mean. Go to: [url]
Click on the Size Chart link next to the product's options. The popup comes up fine but unless the visitor is psychic they wouldn't know they have to mouseover the top right corner of the popup window to get the X for closing to display. The obvious problem is that the customers panic and close their entire browser after saying a few curse words.
We can't figure out why the X isn't displaying properly (basically not displaying at all).
I'm trying to do a redirect using the below code: <script type="text/javascript"> window.location.href = "http://google.com" </script> FF and IE work as they should. Chrome doesn't.
[Code]...
Same code pasted within a local html file works fine.
How can I create a popup window in a form without showing the status, menubar, location and with width of 502 and height 550?
I was doing something like this, it will popup a window, but I do not want to show the status, menubar, location, etc. The form is submitted to other site.
I have the following code that don't work like i want it.
Code: function hideDisplaySingleSuite(textstring) { var myclass1 = new RegExp('\b'+textstring+'\b'); //Populate the array with all the page tags[code]....
For example.It show objects if I remove the if statement that checks if the class is visible.for example this shows a class and works.
Code: function hideDisplaySingleSuite(textstring) { var myclass1 = new RegExp('\b'+textstring+'\b'); //Populate the array with all the page tags[code]....
So my question is why don't this work on a class, it works on an "id"?
Code: if (allPageTags[i].style.display ==''){ allPageTags[i].style.display = 'none'; }[code]....
I want to show the class if its not visible or hide it if it is visible.How can this be done?
I don't think this is "do-able" but thought I'd better check. Say I want to replace certain names in some source code as long as they are not properties (dot properties) of objects. I could use a regular expression like:
source = source.replace(rx, function ($0, $1) {return $1? $0:map[$0]});
Dot properties like .name1 are not replaced by anything new and they need to be "skipped" over by this regular expression but other name1 identifiers need replacement with "a".
One problem with this approach is that dot properties like .name1 are replaced by themselves and this is just unnecessary work. Something like a "false" return to skip replacement would be nice but the following doesn't work.
source = source.replace(rx, function ($0, $1) {return $1? false:map[$0]});
There are other ways to get around this by using something else besides replace() but I wanted to see if it could be done with the replace() method.
I am trying to call a java method from within my Javascript, but cannot seem to get it to work. All the examples I have found online and in the forums are using Java applets. I have a method that I want to call that does a search, and produces a message dialog displaying the results. Also, the class file lives next to the html file. How would I invoke this in my code? This is what I have now:
I have a requirement to generate a dynamic HTML which will show popup having certain fields like logged in username and some other values which i can find in the client side. I've written javascripts for all the stuff and methods are working fine. Now, the problem is showing them in a pop-up with a close button. I developed a method constructHTML and return a variable having constructed HTML based on return values of javascript functions.Now, I opened a new window using window.open() and trying to write this html string variable to the new popup.