Hi
How should I make this window small just to show only that text like in the box pop up? It just want to show deleted info and ok button only. But currently the window is too big.
[HTML]
<?php
session_start();
if(!isset($_SESSION['user'])) {
header('Location: /MB2Login.html');
die();
}
?>
<?php
include_once('../ez_sql.php');
$noteID = (int) $_GET['noteID'];
$db->query("DELETE FROM MovieNotes where userID = " . $_SESSION['user']->userID ." and noteID = $noteID ");
echo ("Movie Notes Deleted..");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Confirm Delete Movie Notes</title>
<link rel="stylesheet" href="moviebrowser2.css" type="text/css" title="Default" media="screen"/>
<style type="text/css">
.style2 {color: #FFFFCC}
</style>
</head>
<body>
<table>
<tr>
<td><input type=button value="OK" onClick="history.go(-2)"></td>
</tr>
</table>
</body>
</html>
[/HTML]
9 3183
What do you mean by "the window"?
What do you mean by "the window"?
currently it display the window but the size too big just to show the word and the ok button only. can I fix the display window size when this file is being call?
At the moment it display a window with a resizable one.
What i mean is this file when it is called by the previous file show a window.
Is there any codes that i need to put here in this file somewhere so that it display according to the size we fix it.
The display is only like this
"Movie Notes Deleted..
ok(button)"
Thank you
nma
I don't have the code handy off hand, but you may check in the Javascript section of the forum to see if it's there. Regardless you should be able to utilize javascripts to determine screen size then adjust the window size accordingly. Be warned though this will require several work arounds for different platforms and browsers and may be blocked by some ant-spam software.
Hope this helps and gets you pointed in the right direction.
- Minion -
I still don't know what you mean by 'window'. Are you talking of the <td> containing the buttons, some other element such as a <div> containing the buttons, the browser canvas, a popup window, the window on your screen that contains the browser?
If this pertains to javascript then you have the wrong forum.
I still don't know what you mean by 'window'. Are you talking of the <td> containing the buttons, some other element such as a <div> containing the buttons, the browser canvas, a popup window, the window on your screen that contains the browser?
If this pertains to javascript then you have the wrong forum.
He's talking about the browser window. I believe he wants it to show up in a/or something like a pop up window, because all he wants displayed is the text and the button.
^_^ Thanks, Death
Hi nma, as drhowarddrfine and Minion pointed out, your question isn't HTML or CSS related, so please ask it in our JavaScript forum. Also you could put it in a frame if you want it on the same page.
^_^ Thank you, Death
Sorry, accidently double posted. Please delete.
^_^ Thanks, Death
Hi All
Thanks..
I'll send to the Javascripts forum.
nma
Are you using window.open() to open the new window? You can specify the width and height in the third parameter. See link.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Peter Diedrich |
last post by:
The site design is pretty simple:
============================================
| Head |
============================================
| | ...
|
by: Shiperton Henethe |
last post by:
Hi
Can anyone tell me how to open up a new normal, full-sized
browser window from a small popup window?
I'm using something like this.
<script language="javascript">
<!--
|
by: Pat |
last post by:
I want to submit an HTML form and have the reply appear in a small
window that overlays the form window. After the reply is read, the
user should be able to delete the small window, and then...
|
by: M Shafaat |
last post by:
Hi!
How can I make label, linklabel . controls to accept multilined text at
design time and in the properties window of Visual Studio?
Regards
M Shafaat
|
by: Frnak McKenney |
last post by:
Environment:
OS Name Microsoft Windows 2000 Professional
Version 5.0.2195 Service Pack 4 Build 2195
Microsoft Visual C# .NET 2003
Microsoft Development Environment 2003 Version 7.1.3088...
|
by: Tim Rogers |
last post by:
Hi folks,
this is a resolution-detect script that I used on a site. As you can see it
is designed to detect when the screen resolution falls below a certain level
then load an alternative style...
|
by: zdp |
last post by:
Dear all:
I made a window program by wxPython. Split windows, treectrl, listctrl
and textctrl are used. When I program in python, the look & feel of the
window controls are like the windos XP...
|
by: debadrita |
last post by:
How to make a window page 100% using javascript or ajax , I want to make all pages height 100% in all resolution. I have small contents, so as I view this page in other resolutio I find this page...
|
by: Prisoner at War |
last post by:
Hi, People,
Is it possible to have an "empty" or "dummy" <a href***without***
the browser jumping back up the page??
I have a hyperlink that doesn't point to another document, but is used
to...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |