qbalance
09-14-2003, 05:15 PM
I'm new at this.
The only javascript I would like to include is
to have specific links on my website
point to other pages in my website or to other websites
When the link is to a different website, I would like a new page to open.
So far I have been told
a. target="new", and target="_blank"
but these give errors
b. I have been told to use certain javascript in my header.
please see
http://www.qbalance.com/QuickBooks_Payroll.htm
While the header may be ontrack, I have not idea what to
include in the following Intuit link to make a new page happen.
<a href="javascript:go('quickbooks.intuit.com/commerce/catalog/product.jhtml?priorityCode=0273400000&prodId=prod5935906')">
c. this code looks like it might be the closest. but when i use it, an error occurs
in the line(s)
self.location="http://www."+dom+loc
else
<script language="javascript"><!--
function go(aID, dom, page){
if(dom=="qbalance.com/")
{
document.getElementById(aID).target="_top";
self.location="http://www."+dom+loc
else
{
document.getElementById(aID).target="_blank";
self.location="http://www."+dom+loc
}
//-->
</script>
and this is the link
<a id="link1" href="java script:go('link1','qbalance.com/','CPA_tips_contact_numbers_and_sites.htm')">
Thank you so much for any assistance you can give.
And if you think its not being a pig to ask one more question
how do I do a javalink to a website that starts with QBA not WWW
There may be 8 links on this page that are www and only a few with qba
Linda Saltz
The only javascript I would like to include is
to have specific links on my website
point to other pages in my website or to other websites
When the link is to a different website, I would like a new page to open.
So far I have been told
a. target="new", and target="_blank"
but these give errors
b. I have been told to use certain javascript in my header.
please see
http://www.qbalance.com/QuickBooks_Payroll.htm
While the header may be ontrack, I have not idea what to
include in the following Intuit link to make a new page happen.
<a href="javascript:go('quickbooks.intuit.com/commerce/catalog/product.jhtml?priorityCode=0273400000&prodId=prod5935906')">
c. this code looks like it might be the closest. but when i use it, an error occurs
in the line(s)
self.location="http://www."+dom+loc
else
<script language="javascript"><!--
function go(aID, dom, page){
if(dom=="qbalance.com/")
{
document.getElementById(aID).target="_top";
self.location="http://www."+dom+loc
else
{
document.getElementById(aID).target="_blank";
self.location="http://www."+dom+loc
}
//-->
</script>
and this is the link
<a id="link1" href="java script:go('link1','qbalance.com/','CPA_tips_contact_numbers_and_sites.htm')">
Thank you so much for any assistance you can give.
And if you think its not being a pig to ask one more question
how do I do a javalink to a website that starts with QBA not WWW
There may be 8 links on this page that are www and only a few with qba
Linda Saltz