You need to sign in to do that
Don't have an account?

how to open page refernce in new window
<apex:page standardController="Account" showHeader="true">
<p>Hello {! $User.FirstName}!</p>
<p>You are viewing the {! account.name} account.</p>
<apex:outputLink value="{! $Page.MyFormContact}">Create New Contact!</apex:outputLink>
<apex:pageBlock >
<apex:pageBlockTable value="{! account.contacts}" var="item">
<apex:column value="{! item.name}"/>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:page>
i have added this accountdisplay in the page layout.
when account details open and when i click create new contact (in accountdiaplay section ), the window for contact opens but its size is small(section specified ) , how to make it open in a new window when i click create new contact
<p>Hello {! $User.FirstName}!</p>
<p>You are viewing the {! account.name} account.</p>
<apex:outputLink value="{! $Page.MyFormContact}">Create New Contact!</apex:outputLink>
<apex:pageBlock >
<apex:pageBlockTable value="{! account.contacts}" var="item">
<apex:column value="{! item.name}"/>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:page>
i have added this accountdisplay in the page layout.
when account details open and when i click create new contact (in accountdiaplay section ), the window for contact opens but its size is small(section specified ) , how to make it open in a new window when i click create new contact
All Answers
@grazitti
i m not familiar to java script .
where do i add this attribute in the code
You could look at w3s for more information about standard HTML attributes and tags.
http://www.w3schools.com/tags/att_a_target.asp
Look at this and let me know if you don't understand something.