Re: control browser with <a href> tag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



""Warren Vail"" <warren@xxxxxxxxxxxx> wrote in message 
news:024801c841a9$a82366f0$1573480a@xxxxxxxxxxxxxxxxxxxx
>> i have two pages: list.php and update.php
>>
>> list.php will have a hyper link that when click on, it will open a new
>> window for user to update info.  once user clicks update button on
>> update.php page, i want to close update.php and return to list.php.
>> however if user doesn't click update button, i don't want user to go back
>> to list.php.  in other word, freeze up list.php until user closes or
>> clicks update button on update.php.
>>
>> is this possible to do with php?
>
> Yes and no, don't think you intend to, but you may be mixing technologies.
> You refer to hyperlinks, etc, which is web technologies and windows, which
> is not unless you use javascript or ajax.  With PHP you can cause your
> browser to open a new browser by adding target="_blank" to the hyperlink,
> but you cannot easily disable functionality of the old browser (It's still
> open, just usually covered up by the new browser), and if the user clicks
> your hyperlink again a 3rd browser will be opened.  You could name your
> target (target=mypage) which means if the user clicks it a new browser 
> will
> be opened, and if the user clicks the same link again, a 3rd window will 
> not
> be opened, but the page in the "mypage" target will be refreshed.
>
> HTH,
>
> Warren Vail

after read all your replies, i understand and want to redefine the problem.

if user clicks on the hyperlink on list.php page, i want to open a new 
windows for user to update info.  once user clicks update on update.php 
page, i want to close the update.php page automatically and refresh list.php 
page.  i think this is possible.  can someone give me suggestions how to do 
this?

thanks 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux