Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > Putting it Together > Forums, Blogging and Content Management

Reply
 
LinkBack Thread Tools
Old February 10th, 2009, 12:32 AM   #1
New Member
 

Join Date: Feb 2009
Location: USA
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 tryinghard is on a distinguished road
Open Link in frame; like About.com

I am developing a website and need to open pages in frames exactly how About.com does it. (For example go here and click on an external link like Cexx.org)

It looks like there is some kind of script running that makes any external link open in that way.

How can I implement the same?

Thank you!
tryinghard 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
Old March 4th, 2009, 05:06 PM   #2
New Member
 

Join Date: Mar 2009
Location: New York, NY
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 colin104 is on a distinguished road
Re: Open Link in frame; like About.com

Step 1. You need to create a frameset, i.e. the page that contains all frames. Usually it is a html page named "index.html" and its code is something like this:

<html>
<head>
<title>Page Title</title>
</head>
<frameset rows="15%,*">
<frame name="top" src="index1.html">
<frame name="bottom" src="index2.html">
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>

Step 2. You need to set the initial pages for the two frames. In the above example they are "index1.html" and "index2.html"

Step 3. When you make links in the code of index2.html (the lower frame) use this format:
<a target="_self" href="http://...................................">link text</a>
Links will open in the same frame, while the upper frame will remain unchanged.

Hope this helps...
colin104 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


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
Link from HTML page to a specefic frame in a flash movie joforestqueen Flash and ActionScript 2 August 15th, 2008 07:55 AM
Why do links in a frame open a new window? SpecialBrew HTML, XHTML and CSS 8 January 25th, 2008 04:50 AM
EASY PEASY Displaying frame address in another frame question molotov JavaScript 3 November 20th, 2007 01:29 PM
Link should open in a daughter window jayaramgussy JavaScript 0 June 25th, 2007 06:52 AM
Question: How can I create a link to open a pdf file? nutbolt Flash and ActionScript 4 March 7th, 2007 05:06 PM


Search Engine Optimization by vBSEO 3.2.0 RC8