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 HTML Forum

how to clear the formatting

how to clear the formatting

Postby aconite on Sun Feb 25, 2007 4:35 pm

i have created a page having 3 iframes.
top: displays some scrolling text
left: buttons
rights: plain text area.

when i click on one of the buttons i want the left and top display to remain intact only right pane is to be changed.
the problem is that when the button is clicked the new page opens in the left frame. :(

any way it would open in the right pane or if i could remove all the formatting and recreate using the new page at the right???
aconite
 
Posts: 2
Joined: Sun Feb 25, 2007 4:25 pm

Postby newbie on Sun Feb 25, 2007 5:59 pm

First off you will want to go to your frameset code. In it, put the "name=" attribute in all of them <frameset> tags. So for example-
-------------------------------------------------------------------------
your right pane's code:
<frameset src="yourpagehere.htm" name=center>
-----------------------------------------------------------------
You just named the right pane "center" NOW on the links-

<a href="page.htm" target="center">yourlinktext</a>

------------------------------------------------------------------
You just directed the link to open in the frame named "center". In this case, it was the right pane, and the desired results are acheived. Cheers :)
newbie
 
Posts: 9
Joined: Fri Feb 23, 2007 7:21 pm

Postby aconite on Sun Feb 25, 2007 8:52 pm

problem solved:D thanks a lot!!!
aconite
 
Posts: 2
Joined: Sun Feb 25, 2007 4:25 pm

Postby newbie on Mon Feb 26, 2007 3:11 am

No problem. Keep in mind that you can name any and all of your frames. ALSO if you don't want the user to be able to resize the frame, add the "noresize" attribute. Example:

<frame src="page.htm" name="name" noresize>

This makes that frame unresizeable. I personally do this with all my frames, because it makes the site have a more professional feel.
newbie
 
Posts: 9
Joined: Fri Feb 23, 2007 7:21 pm


Who is online

Users browsing this forum: No registered users and 6 guests