I'm having av Wordpress site where I use the plugin "Flexi Pages Widget" to load pages from a dropdown jump menu. I'm not able to modify the javascript to open the URL's in a new tab. I have located the function that open the URL's:
public function get_dropdown() {
$dropdown = "<form action=\"". get_bloginfo('url') ."\" method=\"get\">\n<select name=\"page_id\" id=\"page_id\" onchange=\"top.location.href='".get_bloginfo('url')."?page_id='+this.value\">";
$dropdown .= $this->dropdown_items($this->pages);
$dropdown .= "</select><noscript><input type=\"submit\" name=\"submit\" value=\"".__('Go', 'flexipages')."\" /></noscript></form>";
return $dropdown;
}
How do I modify the function to open the URL's in a new tab?