I have two windows, one, the 'main' window which contains a blog entry, and a 'child' window that contains item in an ordered list. Each item A-Z has a corresponding word a-z in the main window. Whever the user puts his mouse over, or clicks on a-z in the main window, I'd like the corresponding item in the child window to be brought to the top and highlighted.
I haven't had much luck looking around for answer because I'm not sure what I should be looking for. Even just some search terms would be helpful (though I prefer a nice solution!).
I'm trying to write a small little bookmarklet to insert some text into a textarea on a website I frequent. The first problem I ran into was that while the textarea I wanted to mess with was named, the form wasn't. To get around this I tried:
window.document.forms[0].comment_body.value which, for some reason, sometimes worked. But not every time. Then I found getElementsByName but I can't seem to get that working either. Here's my latest attempt:
javascript:function wlcauto() {elements = document.getElementsByName(comment_body);V = 'bla bla bla bla bla'elements.value = V;}wlcauto();void(null)
I'm using IFRAME to connect back to my ASP.NET page in order to fetch the FreeBox HTML Editor html contents and scripts (i do this apprach because the html editor is fairly heafty to send to the user when most dont use it on our site instead deferring to a user request before actually sending down the code via AJAX or in this case an IFRAME). Code:
A "dough-nut" type wheel will be located in the bottom center of the web page. The wheel will be divided into 3 tiles. One will be able to click this and drag to turn the wheel. An arrow will be centered directly above it in order to show which tile on the wheel is selected. Above the arrow will be a go button, once the go button is pressed, a user will be directed to the page that the tile leads to. The go button will inherit the image on the selected tile.
So first off, is this possible? Next, what code type (I think javascript but I am not sure) or software will I have to use to do this? Finally, I need a general idea of what the code would look like.
By default when my site loads the flash file gets the value of currentItem from Flashvars and does what it needs to do with this value. The flash file in question is just a basic video player and the id of the video to be played is retrieved from flashvars.
However I want users to now be able to click the button in my form and then the value of flashvars in my videoPlayer object will change to the value passed in the changeVideo() function i.e. in the above example value="currentVideo=1" will become value="currentVideo=2".
That's the easy part I think but what I then need to do is get the flash file itself to load this video without a page refresh but I have no idea how to get the flash file to recognise this value once it has already loaded. What exactly are my best options here?:-
1. Reload the flash component via ajax every time a user selects a new video i.e. every time changeVideo() is fired?
below is clickunder code , but it open under windows when visitor click everywhere on the pagei need it be speacial for links , whenever visitor click on speacial link , it opens windows
<SCRIPT LANGUAGE="Javascript"> function PopShow3() { CookieTest=navigator.cookieEnabled; if(CookieTest)
This pops up a new window with every call. In the child window I call a parent function onbeforeunload, appClose() :
function appClose(){
if (window.opener && !window.opener.closed){ window.opener.CloseChild(getQueryString("application")); }}
This is in my frameset tag of the child code :
<frameset ... onbeforeUnload='appClose()'>
The window.opener.CloseChild() function is called perfectly when I have one child window open, but as soon as I create another child window both of the open child windows don't ever call it. They do both go into the onbeforeunload appClose() function, but do not call the window.opener.CloseChild() function inside of this routine.
Anyone have any ideas why when I have two child windows open I can't access the window.opener functions?
I have tried taking each new window out of the array and used the following code in CloseChild() :
I would like to pop up a new window when the mouse over an icon, but I don't like to link to another new page, as I will get the details in the database and then I will add those details as the text in the pop up window.
Does anyone know how to do this in svg? is it use the javascript?
The following code is used by myself to create a new window what i would like to do is to on the submission of the form to close this newly created window and to submit the form back to the parent window.... Is this correct? Code:
I have an HTML toolbar that I made using VBScript thar launches mstsc to remote servers and a few "\" shared folders. I know that i can do the same thing in js, but not entirely shure about the sintaxis.
This is an example of what i got in my original toolbar:
Neglecting the annoyance factor for a moment, is it possible to keep one browser window at the screen forefront (in front of all other browser windows) but still be able to interact with a window directly beneath it? How would this be pulled off in JS?
is there a possibility to get the number or the names of open Browser windows ? I want to try to avoid double-opening of a page. My idea was to give the page a name and to check whether this name exists.
I have a web application where we pop up a little calendar control in a new window to allow users to choose dates. For cross-browser purposes, this is done via window.open (with some code to make it behave like a modal dialog) and I set the width and height of the window such that the controls fit nicely and it all looks good.
I have some users who are unable to see the OK and Cancel buttons at the bottom of the window due to some display settings on their machines. OK, I though, I'll just make the window resizable and they can then take control. How naive of me! Why on earth does IE decide that the minute I put 'resizable=yes' into my attributes for the new window that it should ignore the size?
I know I can do window.resizeTo in the onload of the calendar window, but I'm not keen on the resizing of the window.
I don't suppose anyone knows of a way to have IE open a resizable window of a given size without the resizeTo?
Certain links (using IE) that are meant to open a javascript window don't seem to work on my system. That is, the window appears and disappears in a flash. Of course I have disabled my pop-up stopper. Any suggestions?
I have a webpage that works on IE-9, IE-8 /Windows XP, firefox, safari, chrome.But the one place it does not work is on IE-8 / Windows 7. Now I did put in code to redirect people who have this combination to a page that says "download IE-9". But then my clients said that this was not acceptable - they want to fix the problem.[URL]...
I have recently installed Firebug, hoping to use it as an IDE for Javascript in Windows.
But I'm obviously missing something very basic since, although I can display HTML files containing Javascript scripts, can set breakpoints and can step through the coding a line at a time, I find I cannot edit any of my Javascript code within Firebug.
So (a) how is this done, precisely, if it is possible, or (b) can you recommend an alternative FreeWare IDE for Javascript in Windows?
I have a page displayuser.php. This page is actually displaying a list of users and at each displyed user there is a drop down list is displayed. The drop down list displays chat animators. When i choose a animators from the drop downlist, it displays a pop up window called ( chat.php ) with the chosen chat animator and the selected user to chat. When i choose another user to chat, the new pop up window override/reopen on the first pop up window. (that is the new pop up window closed the first pop up window to be able to open).
Me i want it to display several pop up windows(several chat.php windows) when different users are selected. The pop up windows should have the same name.
I'm trying to use window.open in some buttons on a website I'm building. The windows open in all browsers that I've tested except IE (PC and Mac). I'm assuming this is a pop-up blocker issue even though what I've read says that if the user initiates the pop-up, then it will work even with the blockers enabled.
Does anyone know how to fix this without using target=_blank?
The site is www.cascadequilting.com. The code for the pop-up windows is below:
<a href="#" window','height=600,width=800,status,scrollbars,resizable')">Click here for a quilt size chart.</a>
I've been working on a small e-commerce site with the Access DB and ASP. I have one variable to get from a form that I open in a separate window and bring back to the current form in the current window. I would like to keep the sections all in this current form and not break it into separate forms. Can anybody tell me how to bring data back to the open form?
I have a company web site where I wish to open a search window with javascript. I do know and have used the window.open( for this.
The window that is opened provides a search function an returns a list of results as hyperlinks. I then want the user to be able to select the link from the list and when the link is clicked the 'poped' search window closes and the hyperlink reference be displayed in the window which referenced it in th efirst place.