You need to sign in to do that
Don't have an account?
guest1231231
iframe Page Opening Up Into Larger Window
I have this visualforce tab which is suppose to display an external website within a tabpanel. However when the user clicks on the website in the iframe it opens up into a new window within the existing page, thus existing Salesforce. Why is it doing this and how can this be resolved with visualforce code?
-Thanks
Here is my current VF code
<apex:tab label="BDC" name="BDC" id="bdc" rendered="{!NOT(ISBLANK(Account.Top_Category_1__c))}"> <iframe width="100%" height="500" scrolling="true" marginheight="100%" marginwidth="100%" src="http://www.externalwebsite.com/search/rslt_default.asp? query={!Account.Custom_Account_Field__c}"> </iframe> </apex:tab>
Website in the iframe’s link target is not set to '_blank' therefore it is always open same window.
-Suresh