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

Forum

Log In Sponsors
Partner Sites
Board index Programming HTML Forum Script-archive

Frame change < html >

Share your completed scripts.

Frame change < html >

Postby danyshine on Tue Dec 09, 2008 1:01 am

I need to open in new rt frame when selecting from menu in left frame.
Is there someone who can help me?

angels-online.com
danyshine
 
Posts: 3
Joined: Tue Dec 09, 2008 12:46 am

Re: Frame change < html >

Postby rangana on Wed Dec 10, 2008 6:28 am

What's "rt frame" ?

You can achieve your desire by a combination of target attribute from the <a> tag, to that of your frame's name.

For further reading:
http://www.ironspider.ca/frames/frameslinks.htm
http://www.pixelmill.com/support/suppor ... d=kb101386

Hope that helps.
~ Get me some work, I do freelancing ~
User avatar
rangana
500+ Club
 
Posts: 929
Joined: Wed Feb 27, 2008 6:14 am
Location: Cebu City Philippines

Re: Frame change < html >

Postby danyshine on Thu Dec 11, 2008 6:31 pm

Thank you..I will go to your suggested links. "rt" was the name for "right frame" on the angels-online web site.
Sorry, thought maybe someone might look at the actual url to help, and didn't want to change the frame names...


Dany
danyshine
 
Posts: 3
Joined: Tue Dec 09, 2008 12:46 am

Re: Frame change < html >

Postby rangana on Fri Dec 12, 2008 2:58 am

Okay. Didn't thought it was the page as to where the problem occurred. I thought it was your sig.

Anyway, as what my suggestion on post#2 says. A combination of target attribute to that of your frame's name will help.

For example, on menu.html. If you want that the page be viewed on the right frame, then you can add a target attribute on those links.

Let me take for example the first link:
Code: Select all
<a href="indexvisit.html">Guardian Visitation</a>


The result should load the page on the right frame when you click a link on menu.html (of course with the target attribute having a value to that of the frame's name).

Add target attribute with a value to the of the right frame's name:
Code: Select all
<a href="indexvisit.html" target="main">Guardian Visitation</a>


Hope that makes sense.
~ Get me some work, I do freelancing ~
User avatar
rangana
500+ Club
 
Posts: 929
Joined: Wed Feb 27, 2008 6:14 am
Location: Cebu City Philippines

Re: Frame change < html >

Postby danyshine on Sat Dec 20, 2008 2:24 pm

Thank you so much rangana!..one thing that I need to complete your help; I need the first menu with it's links to open up within the same frame; ie..Occassion Visitation opens a new index with all the stories..when Occassion Visitation is selected that when the right frame needs a new page to load as well. This is where I am so perplexed to make this happen. It's not really a 2 frame change because I need the menu to open within the menu side AND a new page on the far right side....oh, is this making sense? Sorry I know there's correct language for this issue, I just don't know it.

Dany
danyshine
 
Posts: 3
Joined: Tue Dec 09, 2008 12:46 am

Re: Frame change < html >

Postby rangana on Sat Dec 20, 2008 2:52 pm

If you don't want the links to open on a new page, then you need not to specify the target attribute.

Important thing is the "target" value should be equal to that of the "frame's name".

Hope that makes sense.
~ Get me some work, I do freelancing ~
User avatar
rangana
500+ Club
 
Posts: 929
Joined: Wed Feb 27, 2008 6:14 am
Location: Cebu City Philippines


Return to Script-archive

Who is online

Users browsing this forum: No registered users and 0 guests