473,800 Members | 2,586 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to show in popup?

http://littleworldofours.com/1960/table1.html

I want to take the calendar table and hide it from the page until a user
clicks on a link. Then show only that calendar in a popup window. What's my
best approach on this?
Nov 12 '07 #1
6 2936
richard wrote:
http://littleworldofours.com/1960/table1.html

I want to take the calendar table and hide it from the page until a user
clicks on a link. Then show only that calendar in a popup window. What's my
best approach on this?
JavaScript?
PHP cannot produce a popup. At most it can send HTML to a browser that
contains JavaScript that creates a new window.

Basically you bind an event (onClick for example) to a
button/hyperlink/whatever, then call a routine that creates the new
window using window.open(... .).

Consult comp.lang.javas cript for more help.
(But most regulars in there prefer you post your failing code instead of
asking them to write it for you.)
Regards,
Erwin Moller
Nov 12 '07 #2
On Mon, 12 Nov 2007 15:11:10 +0100, Erwin Moller wrote:
richard wrote:
> http://littleworldofours.com/1960/table1.html

I want to take the calendar table and hide it from the page until a user
clicks on a link. Then show only that calendar in a popup window. What's my
best approach on this?

JavaScript?
PHP cannot produce a popup. At most it can send HTML to a browser that
contains JavaScript that creates a new window.

Basically you bind an event (onClick for example) to a
button/hyperlink/whatever, then call a routine that creates the new
window using window.open(... .).

Consult comp.lang.javas cript for more help.
(But most regulars in there prefer you post your failing code instead of
asking them to write it for you.)
Regards,
Erwin Moller
thanks. I've also been reading up on this and it appears that doing so in
pure php just isn't possible as you say. As it is now, it is only a sample,
not the finished output.
Nov 12 '07 #3
On Mon, 12 Nov 2007 15:11:10 +0100, Erwin Moller wrote:
richard wrote:
> http://littleworldofours.com/1960/table1.html

I want to take the calendar table and hide it from the page until a user
clicks on a link. Then show only that calendar in a popup window. What's my
best approach on this?

JavaScript?
PHP cannot produce a popup. At most it can send HTML to a browser that
contains JavaScript that creates a new window.

Basically you bind an event (onClick for example) to a
button/hyperlink/whatever, then call a routine that creates the new
window using window.open(... .).

Consult comp.lang.javas cript for more help.
(But most regulars in there prefer you post your failing code instead of
asking them to write it for you.)
Regards,
Erwin Moller
failing code? Not according to the validator. How can you screw up a simple
table?
Nov 12 '07 #4
On Nov 12, 3:01 pm, richard <s...@google.do mwrote:
http://littleworldofours.com/1960/table1.html

I want to take the calendar table and hide it from the page until a user
clicks on a link. Then show only that calendar in a popup window. What's my
best approach on this?

Hi!

2 ways really and both related to JS.

1st way
Open new window:
http://www.w3schools.com/htmldom/met_win_open.asp

2nd way
Divs. Here is 3 good examples with description of use:
http://www.dynamicdrive.com/dynamici...lapcontent.htm
http://www.dynamicdrive.com/dynamicindex11/abox2.htm
http://www.dynamicdrive.com/dynamicindex11/abox2.htm

Hope my information will help you.

Regards, Michael

Nov 12 '07 #5
richard wrote:
On Mon, 12 Nov 2007 15:11:10 +0100, Erwin Moller wrote:
>richard wrote:
>> http://littleworldofours.com/1960/table1.html

I want to take the calendar table and hide it from the page until a user
clicks on a link. Then show only that calendar in a popup window. What's my
best approach on this?
JavaScript?
PHP cannot produce a popup. At most it can send HTML to a browser that
contains JavaScript that creates a new window.

Basically you bind an event (onClick for example) to a
button/hyperlink/whatever, then call a routine that creates the new
window using window.open(... .).

Consult comp.lang.javas cript for more help.
(But most regulars in there prefer you post your failing code instead of
asking them to write it for you.)
Regards,
Erwin Moller

failing code? Not according to the validator. How can you screw up a simple
table?
Hi,

I mean something else: A lot of people show up in comp.lang.javas cript
that ask for a solution without posting the code. (Here too for that matter)
If they post the code others can see what they tried so far, and spot
the errors in that code or approach (if any).

So with failing code I mean: 'the relevant parts of the php and
JavaScript that doesn't seem to work for you.'.

Regards,
Erwin Moller
Nov 12 '07 #6
On Mon, 12 Nov 2007 06:41:21 -0800, Michael S Bykov wrote:
On Nov 12, 3:01 pm, richard <s...@google.do mwrote:
> http://littleworldofours.com/1960/table1.html

I want to take the calendar table and hide it from the page until a user
clicks on a link. Then show only that calendar in a popup window. What's my
best approach on this?


Hi!

2 ways really and both related to JS.

1st way
Open new window:
http://www.w3schools.com/htmldom/met_win_open.asp

2nd way
Divs. Here is 3 good examples with description of use:
http://www.dynamicdrive.com/dynamici...lapcontent.htm
http://www.dynamicdrive.com/dynamicindex11/abox2.htm
http://www.dynamicdrive.com/dynamicindex11/abox2.htm

Hope my information will help you.

Regards, Michael
Thanks. That may work.
Nov 12 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
5792
by: gallery | last post by:
My client is asking that once a viewer visits his website, the onLoad popup window not show up again. What's the best way to do this? Thanks, Marje
0
1544
by: Peter Wone | last post by:
I create and position a form containing a popup list à la combobox list. When I either Show() it or set popup.Visible = true it steals the focus. I can put the focus right back where it was but the titlebar of the main form flickers. If I use a flag suppressPopupFlicker and override WndProc to ignore WM_NCACTIVATE just while the popup is being shown then visually I get what I want but the host form then doesn't know it's lost the focus...
1
3791
by: mikee | last post by:
I am developing a program using VB.net. It's a web based program that use web controls. When the system display a checkboxlist, I immedately try to put up a popup screen. The problem is before the popup is complete the user can or may try to select more that a single selection. Is there a way to hide and then show the cursor. I tried disabling the list, still too slow. Tried wait nothing happened after the wait.
3
3990
by: Ipsita | last post by:
Hi, I am explaining the scenario of what I am trying to do: - I have a webform with some controls, from which I am taking the data. eg say Username, password - I am passing these data as parameters to the web service method result = serviceproxy.VerifyUser(username, password) on the event of the "Submit" button_click. - The webservice webmethod uses the username, password to verify if the user is valid user. If no, it sends an error...
5
1316
by: Kyote | last post by:
Sorry, but I have no idea how to phrase the subject better than that. I've come across this a few different times and decided to ask in case there's a way to do it. It would simplify things a bit and I figured if anyone knows, more than likely that someone is here. I have a class for storing filenames and it's path along with a little more info. Here it is Public Class myFiles Public oldFileName As String
4
2247
by: Jonathan Wood | last post by:
Greetings, I'm new to ASP.NET and am trying to figure out how to popup a help window. I was able to get the following code to work: helpButton1.Attributes.Add("onclick", "window.open('http://www.softcircuits.com', null, 'height=250, width=250, status= no, resizable= no, scrollbars=no, toolbar=no, location=no, menubar=no');");
1
3424
by: aotash | last post by:
This javascript shows and hides description (like alt in image tag). It works in IE but not in Mozilla, what is wrong please help: <SCRIPT LANGUAGE="JavaScript"> // ############## SIMPLE BROWSER SNIFFER if (document.layers) {navigator.family = "nn4"} if (document.all) {navigator.family = "ie4"} if (window.navigator.userAgent.toLowerCase().match("gecko")) {navigator.family = "gecko"} // ######### popup text
0
9691
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10507
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10279
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10255
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7582
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6815
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5473
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4150
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2948
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.