Click to See Complete Forum and Search --> : Can't link out of "motioncontainer"


Merlin2B
02-10-2008, 07:47 PM
Hi all! (2 weeks experience - but learning:))

I am trying to understand a bit about javascript, and have been headbanging for a few days now, I just can't seem to link to a web site outside of my site? - I wonder if having frames causes this problem?

I have this, and it does not work, not does anything else I try..

<td><div id="motioncontainer" style="position:relative;overflow:hidden;">
<div id="motiongallery" style="position:absolute; left:1px; top:1px; white-space: nowrap;">

<nobr id="trueContainer">
<a href="steel.html"><img src="img/steel-s.jpg" border=1></a>
<a href= new Array "http://www.riverlandsteel.com.au/"><img src="img/tools-s.jpg" border=1></a>
<a href="img/carport.jpg"><img src="img/carport-s.jpg" border=1></a>
<a href="pergola.html"><img src="img/pergola-s.jpg" border=1></a>

All I want to do is click the tools-s.jpg, and open up the link in a new window.

cgishack
02-10-2008, 10:04 PM
Well you could use do something as simple as...


<a href="http://www.riverlandsteel.com.au/" target="_blank"><img src="img/tools-s.jpg" border="1"></a>


Does that do the trick?

Merlin2B
02-10-2008, 10:33 PM
Hapy, Hapy chappy - Thanks - The dumb thing is, I has tried that, but I had the " target="_blank"> before the url. - :) :)