Results 1 to 5 of 5
Nov 28, 2007, 17:47 #1
- Join Date
- Apr 2006
- 0 Post(s)
- 0 Thread(s)
Possible to place a target=_parent inside an onclick event
I have an onclick event which triggers an iframe to load within the targets page problem is i have a link which does this within a nested iframe, so when clicked it opens that iframe inside that iframe, is it possible to place with in an onclick event a code fragment that tells the link to open the page in the parent document?
href="/?p=research&pid=<?=$player->getId()?>" onclick="tb_show('', '/?p=researchmini&pid=<?=$player->getId()?>&KeepThis=true&TB_iframe=true&height=<?=$GLOBALS[popupheight]?>&width=<?=$GLOBALS[popupwidth]?>', true); return false;"