Hi,
I don't know if this is the right place but if I have a script like:
<script src="http://www.samplesite.com/PODBB/podbb.js" hight="250" width="500"></script> how can I put a link on it?
Hi,
I don't know if this is the right place but if I have a script like:
<script src="http://www.samplesite.com/PODBB/podbb.js" hight="250" width="500"></script> how can I put a link on it?
it isn't like that. in the link you, for example, have
<a href="http://blablabla.com/">BlaBlaBla</a>
but you now put
<a onclick="window.location='http://blablabla.com'">BlaBlaBla</a>
or did I miss understood?
Last edited by nunoabc; 04-18-2008 at 06:37 PM.
or you can use javascript.
It should be formated as shown below:
<html>
<head>
<script type="text/javascript">
function gotopage ()
{
document.location.href="the url";
}
</script>
</head>
<body>
<img src="a image" onclick="gotopage()" />
</body>
</html>
Hm, there is no img tag its like script src="blblabla" and this is displaying a picture from an external server. how can i link this
You'd have to modify the external Javascript...
<script language="javascript">
function gotourl(){
window.location="http://www.redtubevideo.info";
}
</script>
<a onclick="script:gotourl()">redtube video</a>
try this bro