Attaching URL to Layout

I have been using the attach URL command
dhxLayout.cells(“a”).attachURL(myurl);

This works well for some URLs but not for others.
For example:
cnn.com >> works!
google.com >> DOES NOT work!

Any help on what the problem might be?

Thanks

Hi

Probably google have check to determine opener and targets.

Looks like the sample code has the same problem as well
http://www.dhtmlx.com/docs/products/dhtmlxLayout/samples/02_conf/11_attach_url.html
How would you solve it?

replace google with other page :slight_smile: