Anchor Problem - Plz Help - ThnX !

liunx

Guest
Hi webdevelopers !<br />
<br />
Thanks for reading this post.<br />
<br />
I've an anchor tag like this:<br />
<br />
><A HREF=http://www.webdeveloper.com/forum/archive/index.php/"https://digitalid.verisign.com/as2/xxxx" TARGET="new"><IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"images/image01.gif" ></A><br />
<br />
Now, I need to change the link, but I've to somehow incorporate this script:<br />
<br />
<script src=http://www.webdeveloper.com/forum/archive/index.php/www.mycompanyname.com&" target="_blank">https://seal.verisign.com/getseal?host_name=www.mycompanyname.com&<br />
size=S&use_flash=NO&use_transparent=YES></script><br />
<br />
<br />
Basically, ppl should be able to click on the image and go to the new url.<br />
<br />
I've tried taking the new hyperlink and replacing the current one, but that<br />
doesn't work.<br />
<br />
Here's what I've tried:<br />
<br />
<A HREF=http://www.webdeveloper.com/forum/archive/index.php/"https://seal.verisign.com/getseal?host_name=www.mycompanyname.com&<br />
size=S&use_flash=NO&use_transparent=YES" TARGET="_blank"><IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"images/image01.gif" ></A><br />
<br />
or<br />
<br />
<A HREF=http://www.webdeveloper.com/forum/archive/index.php/"https://seal.verisign.com/getseal?host_name=www.mycompanyname.com&size=S&use_flash=NO<br />
&use_transparent=YES" onclick="window.open(this.href,'myWin');return false;"><IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"images/image01.gif" ></A><br />
<br />
But I'm getting the 'File Download <!--more-->' option opening up as soon as the <br />
link is clicked. The 2 options are to open or save. I saved it, <br />
but it's just 'getseal'. When I tried to open, Windows doesn't know how to open it.<br />
<br />
Someone has suggested that "the best place to put a script tag<br />
is in the header of the html... after you have done that, <br />
the script will be executed when the page is loaded"; but I'm clueless at this point.<br />
<br />
I don't really care how I get this to work.<br />
<br />
Can someone please show how I would incorporate the script onto the image?<br />
<br />
Thanks in advance for your replies ! <br />
:)<!--content-->First off, what is the URL you need the image to link to?<br />
<br />
Second, what is the URL location of the image?<br />
<br />
Your code is a bit jumbled.<!--content-->Hi crh3675.<br />
<br />
I think this forum adds stuff to the link I post. I'll try to make it 'visible' to you.<br />
<br />
I got this:<br />
<br />
-- ' "<br />
< s c r i p t s r c = https: //seal.verisign.com/getseal?host_name=www.mycompanyname.com&size=S<br />
&use_flash=NO&use_transparent=YES> < / s c r i p t ><br />
<br />
' -- "<br />
<br />
as my 'URL'. I suspect it's javascript, and since I don't have the content that would explain it's not working. I maybe wrong.<br />
<br />
The image is local to the web server.<br />
<br />
<br />
I would like to know if I can get an image to link to the url in the script. Or do I some kind of script content?<br />
<br />
Thanks for your reply.<!--content-->Hi crh3675,<br />
<br />
Please disregard. I got it to work.<br />
<br />
The script will only run on the prod server.<br />
<br />
THanks.<!--content-->
 
Back
Top