IFrame Hyperlink not working in chrome or firefox

Options
veera_venkatesh178
edited February 11, 2022 in Analytics #1

I am creating Multiple HTML Pages using BIRT int that i have Main Page and Sub_Pages (IFrame) .I have buttons in main pages which will open Sub_Page(IFrame). Sub_Pages will have Tables in it and Some tables contains Hyperlinks in it which will navigate to another table.Whole thing is working in Microsoft edge and IE But not in Chrome or Firefox . while searching in the Internet i found out that the Main page and Sub_Page(Iframe) are not in same Domain for some Browser like chrome.
I used the below code for Hyperlink

Action ac = StructureFactory.createAction();
ActionHandle actionHandle = labelname.setAction(ac);
actionHandle.setLinkType(DesignChoiceConstants.ACTION_LINK_TYPE_BOOKMARK_LINK);//setting HyperLink as BookMarkLink                
actionHandle.setTargetFileType("report-document"); 
/**
 * setting target book mark link
 */
 actionHandle.setTargetBookmark( "\"" + targetBookmark + "\"" );

Now, I want the hyperlink work in Chrome and firefox

Can anyone please help me out in this .