Questions tagged [new-window]

224 questions
-1
votes
1 answer

Name "window" is not defined error is coming while executing the mentioned code

Name "window" is not defined error is coming while executing the mentioned code def create_window(): window = ctk.CTk() window.title("CREATE") window.geometry("1789x760") create_frame = ctk.CTkFrame(window, width=600,…
-1
votes
6 answers

Ways to detect CTRL-N or when a user opens a new window

How can we detect when a user opens a new window. The user is already authenticated and we make heavy use of sessions. We were trying to avoid Ctrl+N javascript hooks but maybe that is an option. I am assuming the request is the exact same…
Berlin Brown
  • 11,504
  • 37
  • 135
  • 203
-1
votes
1 answer

Trying to create a user name and password to log onto next tkinter window. If user and pass correct login button goes to next screen

Here are the labels and buttons I am using, I want the login button to check for passwords in code, then if correct go to the next screen. from tkinter import * root = Tk() # Main window of Application root.title("Please…
-1
votes
1 answer

Duplicate Google Maps DIV to new window for printing

Here is my situation. I have a map created using google maps API, with styling and a FusionTable overlay. The user can zoom into any location, and when he/she clicks on any polygon, an infoWindow pops-up with contact information. The user then would…
-1
votes
2 answers

Can't get form button link to open in new window

I've build a small form button but somehow I can't get the link to open in a new tab. I've tried the target blank attribute but no results. I've also tried changing onclick="window.location.href to onclick="window.open.href but nothing seems to…
Jeroen
  • 11
  • 6
-1
votes
2 answers

Form submit doesn't happen while opening the link in a new tab

I have a form with a javascript submit function. I have 3 links (anchor tags) in the form & would like to set different values to the hidden parameter on submit based on the link clicked Form submit works fine generally, but if I try to open the…
Imran AK
  • 103
  • 10
-1
votes
2 answers

$_SESSION variable getting lost somewhere........or PHP ignoring "IF...ELSEIF"

I am having a problem with getting my PHP script to correctly read and execute my "IF.....ELSEIF" conditions. In my first file, I have the following code : if(isset($_POST['submit']) { $selected_radio =…
phpnewbie2015
  • 366
  • 2
  • 4
  • 17
-1
votes
2 answers

How would the action url of an html form appended to a new window in javascript change?

I want to send a popup to a user if the user is not logged into my forum. So far it works as far as appending the HTMl form to the new window created in Javascript; however, when I press the actual submit forms via the new window I get the basic…
-1
votes
2 answers

Open in new windows with PHP

I search about open in new windows with PHP code , but I don't know how to adapt the code: 1)
-1
votes
1 answer

Titanium iPhone Application

I need a quick response please help me out, I just need to know a very basic thing in iPhone Titanium that how to call new window on button click. My application is running on android and I used these lines of code to call another window but it is…
-1
votes
2 answers

ASP.Net WebForms LinkButton click, open new tab, passing id through hidden html input variable

I have an aspx webforms page with a repeater built through a user control. Each repeater item has a link button. What I want to happen is that when the LinkButton (in the repeater on page A's user control) is clicked, the url is opened in a new tab,…
Bryan
  • 3,629
  • 2
  • 28
  • 27
-2
votes
2 answers

How to open a new tab with PHP

I'm trying to open a new tab with Php, then display an image. I found openWindow() function but it applies to Javascript. I'm trying to use only Php. My Php code:
Time
  • 23
  • 2
  • 9
-3
votes
2 answers

Open new window through Javascript

I have some simple code to open reddit, but i need it to open in a new window. tried some different approaches but can't get any to work. Any idea what to add to below code?
lowercase
  • 1,198
  • 9
  • 34
  • 56
-5
votes
1 answer

Adding an int per click (java)

I am making a "fake virus" in java. when you run it a window called "Your computer has a virus" pops up and the window has a button that says "Your computer has (1) viruses. Click here to uninstall them" but when you click it one more window pops…
1 2 3
14
15