code to open in new window - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

code to open in new window

anoedanoed Posts: 1Member
Hi everyone

I am a newbie with respect to programming and this is my first post

I have a small problem, probably very basic to everyone except me, and would appreciate and value your advice

I have entered below a javascript I am using on my website. This script is designed to automatically insert videos based on keywords and works perfectly except that my visitors are taken away from my website when they use it.

Can someone please tell me what code to insert, and where, in order get the script to open in a new page.

I am aware how to do this in html using target ="blank" but do not know how to do it in javascript.

Thankyou in anticipation, the code I am using is below:

/* Do not change the values given below. */
var HostDomain_Organization_Name = "MySite";
var HostDomain_Organization_ID = "xxxxxxxx";
var HostDomain_Feed_ID = "xxxxxxx";
var HostDomain_DivId = "HostDomain_DivId";
var HostDomain_AppServerPath = "";

Sign In or Register to comment.