Do 1 thing it will work
Change this function
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;
}
Bill Cosby - "Always end the name of your child with a vowel, so that when
you yell the name will carry."
On Thu, Sep 25, 2008 at 5:09 PM, indu <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> Pop is closing new pop up also opens.but page is not loading and close
> button also not working.
>
> Thanks
> Indu
>
>
> On Sep 25, 4:00 pm, "Lakshmiprasad Manchala" <[EMAIL PROTECTED]>
> wrote:
> > is the popup closing
> >
> > i have given the ex to you see param-1 is the url where ur popup
> navigates
> > param-2 is for if condition to set the width and height for popups..
> > and use ur own function to open the poppup here i have specified it as
> '
> > GB_show ' it can be GB_ShowCenter or any thing u mentioned .....
> >
> > if u have any dbt reply me
> >
> > Rodney Dangerfield - "I went to a fight the other night, and a hockey
> game
> > broke out."
> >
> >
> >
> > On Thu, Sep 25, 2008 at 4:13 PM, indu <[EMAIL PROTECTED]> wrote:
> >
> > > hi,
> > > thnks for the reply.
> > > we used the following script:
> > > <a onclick="top.fun_popClose('/productsnew/booklet/
> > > 100lbgloss.htm','Login')" class="popupblue" style="text-
> > > decoration:none">100 lb. Gloss Text</a>
> >
> > > it didnt work. no popupsshowed up.
> > > what is "Login" used here?
> >
> > > On Sep 25, 3:13 pm, "Lakshmiprasad Manchala" <[EMAIL PROTECTED]>
> > > wrote:
> > > > Hi indu,
> > > > If u are not using https
> >
> > > > Check this
> > > > onClick='top.fun_popClose('http:////",'Login");"
> >
> > > > function fun_popClose(param,path)
> > > > {
> > > > if(GB_CURRENT)
> > > > GB_CURRENT.hide();
> > > > if(param=='create')
> > > > {
> > > > w_height=440;
> > > > w_width=535;
> > > > }
> > > > else if(param=='pass')
> > > > {
> > > > w_height=310;
> > > > w_width=470;
> > > > }
> > > > if(path)
> > > > GB_show(' ',path,w_height,w_width,'no');
> >
> > > > }
> >
> > > > Thanks & reagrds
> > > > Prasad
> >
> > > > Fred Allen - "What's on your mind, if you will allow the
> overstatement?"
> >
> > > > On Thu, Sep 25, 2008 at 3:06 PM, indu <[EMAIL PROTECTED]> wrote:
> >
> > > > > hi,
> >
> > > > > when i click an image in the popup, i want another popup to open.
> > > > > it works for me but it takes the size and title of previous popup.
> >
> > > > > im badly in help.
> >
> > > > > plz help!- Hide quoted text -
> >
> > > > - Show quoted text -- Hide quoted text -
> >
> > - Show quoted text -
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---