Code help

Messages
363
Name
John Maxwell
Edit My Images
No
Hi guys im not sure where i should be posting this.

I was wondering if anyone can help me with a coding problem.

If you look at my FLASH website - www.jmaxphotography.com and then go into the links section ive tried to link the picture there to an external website but if you left click on the image it wont open in a new window, but if you right click on it, it will give you the option to open or open in a new window.

Does anyone know how i can make this that it opens with a simple left click?

oh and the code for the page is as follows :S

<xml>
<content>
<description><![CDATA[<font color="#999999" size="100"></font><br><br>
<a href="http://www.photographyireland.net/" target="new"><img src="gallery/links/photographyireland.jpg" alt="" border="0"></a><br> ]]></description>

</content>
</xml>
 
Try this, when clicked on it should open up in a new window.

Code:
<xml>
<content>
<description><![CDATA[<font color="#999999" size="100"></font><br><br>
<a [COLOR="Red"]target="_blank" href="http://www.photographyireland.net"[/COLOR]><img src="gallery/links/photographyireland.jpg" alt="" border="0"></a><br> ]]></description>

</content>
</xml>
 
Strange that, when I tested it in my browser it worked fine

If you want something to open in a new window the code to use is
Code:
target="_blank"

You don't have a pop up blocker do you? I ask because this could stop it from working
 
Back
Top