|
Posted by Erwin Moller on 11/12/07 15:35
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.javascript 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.javascript
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
Navigation:
[Reply to this message]
|