PDA

View Full Version : I need help!!!



cookielady1000
June 16th, 2006, 11:42 AM
Ok dont laugh im new to java!!!!

I have been able to make graphic or text link open a controled child window but when you mouse over the link the cursor does not change to let people know there is a link there. What am i doing wrong here is my code.

In the head code

<script language="JavaScript" type="text/javascript">
function openWin2(fn,cw,w,h){
// fn = name of html file name to open in new window
// cw = name of new window (child window launched from the parent window)
// w = window width
// h = window height
// Note: If cw is the same each time this function is called, only one new window is opend
// If cw is different each time this function is called, a new window is opened each time
// dum = string of window settings
//
dum = '"' + "toolbar=false,scrollbars=false,menubar=false,statu s=false,width=" ;
dum = dum + w + ",height= " + h + ",left=200,top=100" + '"';
childWin1=open(fn,cw,dum);
}
</script>



on the link code


<a onclick="openWin2(&quot;photos_1.htm&quot;,&quot;childwin1&quot;,695,425)">
<img border="0" src="images/player%20graphic.jpg" width="130" height="81"></a><br>


please help!

Thanks a bunch
cookie

cookielady1000
June 16th, 2006, 06:44 PM
its ok i found the answer thanks anyway those