Is This Possible, New Window

Joined: 11/28/2008

Is it possible to add code, where the news ticker opens in a new window. Seen here = http://northjacksonfd.com/home.html
If you click on the Firehouse image a new window opens. If you click on the news link, it opens in the current window.

CODE
<a href="http://www.Firehouse.Com?s=ticker" rel="external">
<img src="http://links.firehouse.Com/news.gif"  id="table11" alt="firehouse"></img></a>
<!--[if !IE]> Firefox and others will use outer object -->
<object classid="java:HeadLine.class" type="application/x-java-applet"  height="15" codebase="http://links.firehouse.com/" width="300" archive="HeadLine.jar">
<param name="code" value="HeadLine.class" />
<param name="cabbase" value="HeadLine.cab"/>
<param name="DataFile" value="HeadLine1.tlt"/>
<param name="MouseOverLink" value="Click Here"/>
<param name="ReloadDelay" value="0"/>
<param name="DataAccess" value="0"/>
<param name="FontSize" value="12"/>
<param name="FontType" value="Helvetica"/>
<param name="FontStyle" value="Bold"/>
<param name="FGScrollTabs" value="255,255,255"/>
<param name="BGScrollTabs" value="204,0,0"/>
<param name="FGSection" value="204,0,0"/>
<param name="BGSection" value="255,255,255"/>
<param name="FGText" value="0,0,0"/>
<param name="BGText" value="255,255,255"/>
<param name="LinkColor" value="204,0,0"/>
<param name="MoveDelay" value="35"/>
<param name="MoveStep" value="2"/>
<param name="SectionMargin" value="3"/>
<param name="MessageMargin" value="3"/>
<param name="TextDelay" value="20"/>
<param name="TopMargin" value="0"/>
<param name="ShowArrows" value="yes"/>
<param name="CodeString" value="FEFJFQOIGOD@DCDLDQFJR@KAJIQRUASI"/>
<!--<![endif]-->
        <!-- MSIE (Microsoft Internet Explorer) will use inner object -->
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
        width="300" height="15">
  <param name="code" value="HeadLine.class" />
<param name="archive" value="HeadLine.jar" />
<param name="codebase" value="http://links.firehouse.com/" />
<param name="cabbase" value="HeadLine.cab"/>
<param name="DataFile" value="HeadLine1.tlt"/>
<param name="MouseOverLink" value="Click Here"/>
<param name="ReloadDelay" value="0"/>
<param name="DataAccess" value="0"/>
<param name="FontSize" value="12"/>
<param name="FontType" value="Helvetica"/>
<param name="FontStyle" value="Bold"/>
<param name="FGScrollTabs" value="255,255,255"/>
<param name="BGScrollTabs" value="204,0,0"/>
<param name="FGSection" value="204,0,0"/>
<param name="BGSection" value="255,255,255"/>
<param name="FGText" value="0,0,0"/>
<param name="BGText" value="255,255,255"/>
<param name="LinkColor" value="204,0,0"/>
<param name="MoveDelay" value="35"/>
<param name="MoveStep" value="2"/>
<param name="SectionMargin" value="3"/>
<param name="MessageMargin" value="3"/>
<param name="TextDelay" value="20"/>
<param name="TopMargin" value="0"/>
<param name="ShowArrows" value="yes"/>
<param name="CodeString" value="FEFJFQOIGOD@DCDLDQFJR@KAJIQRUASI"/>
    </object>
      <!--[if !IE]> close outer object -->
      </object>
      <!--<![endif]-->

http://christiangamers.net
One Love, One God, One Way
"Allow me to live today, To give you the praise"

Joined: 11/28/2008
In short, no, but if you can

In short, no, but if you can use PHP, you could possibly fetch the file yourself, if you changed the DataFile parameter appropriately. I downloaded a version of the java applet here:
http://javaboutique.internet.com/HeadLine/

and read the RTF file which is the documentation. There is information near the top about the format of the DataFile. specifically, to have it open in a particular "frame" (in your case a new window), you need to have the address followed by a comma and the frame name, eg
http://cms.firehouse.com/content/article/a...Id=46,newwindow

which would open the link in a new window named "newwindow" since there is no frame called "newwindow".
You can see the firehouse DataFile here:
http://links.firehouse.com/HeadLine1.tlt
(note that firehouse.com did not develop the java plugin).

Paul Davey
Whitford Church
"Everyone who calls on the name of the Lord will be saved." Romans 10:13
"For all have sinned and fall short of the glory of God, and are justified

Joined: 11/28/2008
Thanks for the info.

Thanks for the info.

http://christiangamers.net
One Love, One God, One Way
"Allow me to live today, To give you the praise"

Joined: 11/28/2008
There is a javascript which

There is a javascript which will open any link not on your site, in a new window.

Would this achieve what you want?

Blessings

Tony

Online outreach:
Internet Evangelism Day
Helping church websites:
Church Websites

Joined: 11/28/2008
soon @ Jun 22 2008,
QUOTE(soon @ Jun 22 2008, 04:30 PM)
There is a javascript which will open any link not on your site, in a new window.

Would this achieve what you want?

Blessings

Tony

Do have a link to it?

http://christiangamers.net
One Love, One God, One Way
"Allow me to live today, To give you the praise"

Joined: 11/28/2008
This is the one. Just put it

This is the one. Just put it in the head of your page, or call it up, and every outside link will open in a new window - put your own actual domain in the first line

CODE
var myDomain = "mydomain.com";
function ExteriorLinkTargetMod() {
for(var i = 0; i < document.links.length; i++) {
var string = document.links[i].href;
if ( string.indexOf(myDomain) < 0 & string.indexOf("http://") >= 0 ) {
document.links[i].target = '_blank';
}
}
}

Blessings

Tony

Online outreach:
Internet Evangelism Day
Helping church websites:
Church Websites

Joined: 11/28/2008
soon @ Jun 22 2008,
QUOTE(soon @ Jun 22 2008, 10:09 PM)
This is the one. Just put it in the head of your page, or call it up, and every outside link will open in a new window - put your own actual domain in the first line
CODE
var myDomain = "mydomain.com";
function ExteriorLinkTargetMod() {
for(var i = 0; i < document.links.length; i++) {
var string = document.links[i].href;
if ( string.indexOf(myDomain) < 0 & string.indexOf("http://") >= 0 ) {
document.links[i].target = '_blank';
}
}
}

Blessings

Tony

Works for all external links, accept the news ticker.

Thanks for trying.

http://christiangamers.net
One Love, One God, One Way
"Allow me to live today, To give you the praise"

Joined: 11/28/2008
OK, why not put your news

OK, why not put your news ticker into an iframe, of precisely the dimensions of the ticker graphic.

Call it up from another page of yours, where you have positioned the graphic right up to the top left corner of a that page (CSS padding 0 margin 0)

In the header of that new page, put

<base target="_blank">

However, first test whether the base target thing will force the ticker to do this by temporarily and briefly (ie just for a minute or two) adding that code to your page head, and seeing if it works (of course it will also work for all your own links too).

Blessings

Tony

Online outreach:
Internet Evangelism Day
Helping church websites:
Church Websites