0
4

2 に答える 2

2

parent.location references the same window. And I don't know where you got the ideas for the other things you tried, but window.open seems to be what you're looking for:

<div onclick="window.open('http://google.com')" data-mce-onclick="">
  <button class="button"><font size=”6”&gt;Visit Google</font></button>
</div>

It's worth noting also that you're using very old and deprecated tags. center and font should be replaced with CSS styling.

于 2013-11-13T15:01:53.633 に答える
0

You can use window.open documented here http://www.w3schools.com/jsref/met_win_open.asp

于 2013-11-13T15:02:11.170 に答える