iEntry 10th Anniversary Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > JavaScript

Reply
 
LinkBack Thread Tools
Old June 19th, 2007, 06:00 AM   #1
New Member
 

Join Date: Jun 2007
Location: India
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 jayaramgussy is on a distinguished road
Need JavaScript for html links should open in a new window in the first time, after..

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 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
javascript for links


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
how can have iframe links to open in a new window? onSPOT HTML, XHTML and CSS 1 March 10th, 2008 05:43 AM
Open another new window from javascript window thehermitage JavaScript 10 January 27th, 2008 04:42 PM
Why do links in a frame open a new window? SpecialBrew HTML, XHTML and CSS 8 January 25th, 2008 05:50 AM
javascript to open new window snappy JavaScript 4 November 9th, 2006 10:02 AM
Need to open ALL links in new window javascript JavaScript 4 August 4th, 2006 03:46 PM


Search Engine Optimization by vBSEO 3.2.0 RC8