javascript - Hyperlink target in Google Spreadsheets -
i'm embedding google spreadsheet contains links (=hyperlink(url, [link_label])) in iframe. want set link target current tab, it's set _blank default.
is there solution this?
use .setlinktarget(linktarget)
set link target links embedded in search result. linktarget
supplies target iframe in open links.
here's sample linktarget:
link_target_blank
opens links in new window (for example, href=... target=_blank ...>). default.link_target_self
opens links in same window , frame (for example, href=... target=_self ...>).link_target_top
opens links in topmost frame (for example, ).link_target_parent
either opens links in topmost frame, or replaces current frame (for example, href=... target=_parent ...>).anything-else
specifies links open in specified frame or window (for example, href=... target=anything-else ...>).