see onCLick call top.fun_popup and include all the fns in the main page

i mean iam in 1.php and the pop is 2.php then include evry thing in 1.php



Erma Bombeck

On Mon, Sep 29, 2008 at 12:59 PM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

>
> function fun_popClose()
> {
>    createCookie('param',1,60);
>    window.location.href=window.location.href;
>
> }
>
> SO now the parent will refresh in the home page
>
> =====header================
> onLoad check This
>  if(readCookie('param'))
>  GB_showCenter('Create','URL',200,500,'');
> //Modify this acc to ur requirement ....
>
>
> im sending the cookie fns also...
>
>
> function createCookie(name,value,days) {
>    if (days) {
>        var date = new Date();
>        date.setTime(date.getTime()+(days*24*60*60*1000));
>        var expires = "; expires="+date.toGMTString();
>    }
>    else var expires = "";
>    document.cookie = name+"="+value+expires+"; path=/";
>
>
>
> }
>
>
> function readCookie(name) {
>    var nameEQ = name + "=";
>    var ca = document.cookie.split(';');
>    for(var i=0;i < ca.length;i++) {
>        var c = ca[i];
>        while (c.charAt(0)==' ') c = c.substring(1,c.length);
>        if (c.indexOf(nameEQ) == 0) return
> c.substring(nameEQ.length,c.length);
>    }
>    return null;
>
>
> }
>
>
> the above coding u r sent on friday.
>
> the above functions where to call.where we mention this script parent
> or child?
>
> =====header================
> onLoad check This
>  if(readCookie('param'))
>  GB_showCenter('Create','URL',200,500,'');
> //Modify this acc to ur requirement ....
>
>
> the above coding where we put and call?
>
> Pls clarify elaborately.
>
> Kindly help us
>
> Thanks
> Indu
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GreyBox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/greybox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to