It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

links should Open in New window at the first time, after....

links should Open in New window at the first time, after....

Postby jayaramgussy on Tue Jun 19, 2007 9:25 am

I have created one asp page. In that page i have used three frames left, center and right.
In the left and right frames, i have imported another asp pages for left and right side. that pages (left and rightside asp pages)contains links.

My problems are:

If the user need to click on the link it opens the link in a new window. Again, on selecting any other link on the right side frame (another aps page) link the new page should open in the previously opened window instead of opening in a new window. - I believe this needs to be achieved by Javascript.

i tried target this is working fine. but it perform on single page. I need for common script for all.

Could anyone help me to solve this problem.
Please send the script to my mail.
my mail id is jayram.mca@gmail.com

<HTML>


<TABLE>
<TR>
<TD><font face="Arial, Helvetica, Sans-Serif" size="2"><strong>Sample </strong></font></TD>

</TR>
<TR>

<TD ><a href="http://www.google.co.in#one" target="newindow();">Google</a></TD>

</TR>
<TR>

<TD><a href="https://mail.google.com/mail/#two" target="newindow();">Gmail</a>&nbsp;&nbsp; </TD>

</TR>
<TR>

<TD ><a href="http://mail.yahoo.com#three" target="newindow();">Yahoo</a>&nbsp;</TD>

</TR>
</TABLE>
</body>
</HTML>
jayaramgussy
 
Posts: 5
Joined: Tue Jun 19, 2007 9:08 am

Who is online

Users browsing this forum: No registered users and 6 guests