Javascript

S

sonicj

Can anyone figure out why in this script only the colon links to the new
window, though Color is underlined?
<p style="margin-top: 0; margin-bottom: 0">
<b><font face="Bell MT" size="3">
<a
href="javascript:eek:penpopup('http://www.bestdiamondprice.com/color.htm')">Color:</a>
</font></b>
This script works elsewhere on words and phrases, just not on this one. Any
help would be appreciated. Thank you.
-Jay
P.S. If you're interested here's the rest of the script.

<script type="text/javascript">

//JK Popup Window Script (version 3.0)- By JavaScript Kit
(http://www.javascriptkit.com)
//Visit JavaScriptKit.com for free JavaScripts
//This notice must stay intact for legal use

function openpopup(popurl){
var winpops=window.open(popurl,"","width=300,height=300,resizable")
}
</script>
 
M

Murray

Make sure that the <a and the href are both on the same line.

Can you show me the page? The link should be functional unless there is
something partially masking that first part of it (like a positioned thing).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top