Is it possible to make my application always open in a new window even if IE 7 tabbed setting is set to Open links in a new tab in the current window.Always open pop-ups in a new tab.I am using the following command to open my application in new window
I'm trying to make a Javascript application that animates a ball bouncing up and down. I have five image files (ball1.jpg, ball2.jpg, etc located in the same folder as my html file. Here is my code:
[Code]...
My code also has all of the text which makes it xhtml in the beginning which I didn't type out. When I open the html file in Chrome, I see the first picture and the Start Animation button but when I click the button nothing happens.
I want to use some javascript to launch a windows application (this used on intranet) but don't know how. It'd be neat if I could not only launch the application but minimize the webpage's browser at the same time, but this is just icing on the cake.
I am trying to make a pop up box that does not have the toolbar, status line, and does not say Java application at top of Pop up box. Here is how I wrote the code. It did not work.
I have a javascript, calendar.js which i use to enable my client to select the date. This calendar pops up on the click of a gif image. But the problem is that this poped up window is not modal in nature(i do not want the user to go the parent page unless he selects some date in the calendar popup).
In the javascript calendar.js he has used window.open() function to pop up the window. i just want to know whether we have any attribute which when set to yes will make the window behave modal in nature.(just like resizable="yes",toolbar="yes", do we have modal="yes" ?)
i checked modal="yes" and it does not make the window behave modal in nature. Am i using the wrong attribute name?(modal="yes").
Do we have such attribute. If not what are my other options.
I know that we can use window.showModalDialog(), but i need to modify the window.open() function to make the window behave modally. Is it possible to do so?
I have a large image which contains different sections. I can scroll this up and down a certain amount. however, I want to cut the display to only a small square of the large image, and hide the rest. Think of a slot machine, the wheel is spinning but you only see a small area in front of you. How do I achieve this in jquery?
I need this bookmarklet (below) to open in a new window and display the info there. It needs to work in both FF and IE. It would be in one line in the bookmarklet but I expanded it for readability. It should work against our site: [URL]
I am trying to do is adjust my ad code from adbrite to make the ads (when clicked) open up in a new window rather than the current one, as this disrupts gameplay on my site. (I have a game site). This is my ad code:
<!-- Begin: AdBrite, Generated: 2009-10-04 22:48:52 --> <script type="text/javascript"> var AdBrite_Title_Color = '6728B2'; var AdBrite_Text_Color = 'E1771E'; var AdBrite_Background_Color = '000000'; [Code]...
i am opening child window using window.open();. i want make parent window inactive while child window is open,without using jquery.If child window is open and i click on parent window only cjild window must be focused no activity should take place on parent window.
I am using Code: window.open('../move_delete_contact.php?ID=[ID]&action=edit') to open up a window but this opens a new window is there something to make it so that it opens in the same window instead of a new window?
I have a page that opens a child window using window.open(...). How do I make so that when that child window opens you cannot get the focus back on the parent window unless you close the child window?
When you active real-time updates, new entries dynamically adding a div. At this stage scroll is automatically moving. This action provides the content you do not miss on visible area.If you want to see this action, you can also watch this screencast; http:[url]....My method;
// Firstly, i am storing the first entry's(in view) positions in window object; jQuery(window).scroll(function() { var q = 0;[code]....
But this is due to flashing. I guess this method is not fast enough
I kinda stuck at this point on my php script, it has this javascript code and I stuck there:
Line 16: echo("<script language="JavaScript"> function openptc(tpge,pnme,w,h){ settings="width=" + w + ",height=" + h + ",scrollbars=yes,location=no,directories=no,status=1,menubar=no,toolbar=no,resizable=no"; window.open(tpge,pnme,settings); } //--> </script>");
Line 72: print "<td><a href="#" onClick="openptc('./paidtoclick.php?adid=$row[linkid]&action=start&".session_name()."=".session_id()."','PaidtoClickPage','640','480');"><b>Click Here To View</b></a><tr>";
I think those 2 lines actually are my problem. This code makes the site open in a new pop up window. how to make it open in a new tab.
i know how to do the link thing that if u click it it closes the window. but im wondering if theres a way to automatically close a window after the php code is done running. cause i have an inbox and theres a link to delete the message if you click on it it will open up a new windows and run the php script to delete the message then it will say message deleted. im wondering how instead if just saying msg deleted it can close itself(the window) as well? does anyone know how? can i do it with pure php or do i need javascript too? i figured javascript.
I have the following issue - if a user select 'select box' as a value in a drop-down list, a new window is opened where they can enter values then they should click on a button and a text thay have typed should pass to a hidden field in the parent window.
How do I do this? I tried this (child window)
<html> <head> <title>Values</title> </head> <body BgColor = "#FFFFFF"> <form name = "f1"> <textarea name = "ta"></textarea><br /> <input type = "button" value = "Ok" onClick = "getValues ();" /> </form> <script language = "JavaScript"> function getValues () { window.alert ( document.f1.ta.value ); parent.aff.vals.value = document.f1.ta.value; } </script> </body> </html>
Can somebody tell me how I can make a popup window appear behind the main browser window by modifying the script below to do this? I would like it so the popup will load but they won't see it until they close the main window.
Code:
<script language="JavaScript" type="text/javascript"> <!-- Begin var popupWin function openWindow() { popupWin = window.open("http://www.domain.com", 'win', 'menubar=yes,status=no,toolbars=no,resizable=yes,scrollbars=yes,width=800,height=600') } // End --> </script>