Ah. Don't use rel and onclick together in the same link. Delete the
rel, and put the window size arguments into the onclick call:
"return GB_showCenter(' ', this.href,750,500)"
--
Tyler Style
http://malthusian-solutions.com
http://nirdvana.com
Anjum wrote:
> - Opening First Window
> <a href="Print.aspx?DocId=1" rel="gb_page_center[750, 500]"
> onclick="return GB_showCenter(' ', this.href)">Print Document</a>
>
> - Closing First Window (on Anthem Ajax button click which is placed on
> Print.aspx)
> Anthem.Manager.AddScriptForClientSideEval("parent.parent.GB_hide();");
>
>
> - Opening Second Window
> <a href="Contact.aspx" rel="gb_page_center[570, 805]" onclick="return
> GB_showCenter(' ', this.href)">Contact Us</a>
> - Closing Second Window
> <a id="lnkClose" onclick="parent.parent.GB_hide()">Close Form</a>
>
>
> Now for both graybox windows it shows of the dimensions of First
> Window.
>
> Please let me correct if i'm making some mistake.
>
> Regards
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---