You need to sign in to do that
Don't have an account?
uHaveOptions
Link to open new tab nor working. reloading inside iframe
I have this script but doesnt seem to work. The purpose is to be able to click on the link and open in a NEW tab or load in the same page but NOT inside the iframe.
I am not looking for an "Outputlink" solution. Can anyone help?
currently, its loading inside the iframe. thanks
I am not looking for an "Outputlink" solution. Can anyone help?
<apex:page standardController="Proposal__c" showHeader="false" sidebar="false" extensions="ProposalExtensionController"> <script> document.getElementById('{!Proposal__c.Broker_Relationship__c}').target = "_blank"; </script> <apex:tabPanel switchType="server" selectedTab="Proposal__c" id="AccountTabPanel" tabClass="activeTab" inactiveTabClass="inactiveTab" styleClass="openInPopup"> <apex:tab label="Proposal Information" name="name1" id="Proposal"> <apex:form> <apex:pageBlock> <apex:pageBlockSection> <apex:inlineEditSupport event="ondblClick"/> <apex:pageBlockSectionItem > <apex:outputLabel value="Broker Relationship" for="Proposal__c.Broker_Relationship__c" style="font-weight:bold" /> <apex:outputField value="{!Proposal__c.Broker_Relationship__c}" id="Broker_Relationship__c"/> </apex:pageBlockSectionItem> </apex:pageBlockSection> </apex:pageBlock> </apex:form> </apex:tab> </apex:tabpanel> </apex:page>
currently, its loading inside the iframe. thanks
Have you tried moving the js script below your tab panel? Check the console in the browser for any errors.
Cheers,
Richard.