/    Sign up×
Community /Pin to ProfileBookmark

How can I close the one frame from within a window?

Hi, ?

I suffering, the problem is I have 2 frame in one window, I used javascript for that, ok. I used 2 button in frame for split_row & split_col, which are working fine, My frnd, query is i need to add one button for close one frame ( i have used window.close() but whole window close, so no use self.close() & window,close()) ?
So pls help me how can i close one frame from window using Link(Image) button
Need help, pls ………………;confused:

Ram ?:

to post a comment
HTML

10 Comments(s)

Copy linkTweet thisAlerts:
@PeOfEoMay 08.2004 — I have a good question: why are you using frames? You probably do not need them for what you are doing.
Copy linkTweet thisAlerts:
@sayram13authorMay 10.2004 — [i]Originally posted by PeOfEo [/i]

[B]I have a good question: why are you using frames? You probably do not need them for what you are doing. [/B][/QUOTE]


Hey Peo,

U have good questions, but I need frames, pls if u have solutions pls tell me, thanks for answered me.?
Copy linkTweet thisAlerts:
@The_CheatMay 10.2004 — why do you need frames?
Copy linkTweet thisAlerts:
@PhillMcMay 10.2004 — Thing is, you cannot close a frame. Since it is embedded in the source and in not a dynamic object (like a window) it is not possible.

What are you using frames for? Is it for navigation? We all know of better ways. ? Let us know what the frames are for and we can probably suggest something that will work better ?
Copy linkTweet thisAlerts:
@sayram13authorMay 15.2004 — Hi PhillMc,

Thanks for ur suggession, in my page there are two frames one is top & other is bottom. Top frame freez for all pages, in bottom frame there are 10 Tab Links(src) & two buttons split row & cols. When user navigate on tab each page contains these tow buttons (split row & cols). when user click on that button, the frame splite in cols & frames. I need two more buttons on each page for undoc & close itself

frame.

Following HTML Use for split-

<HTML>

<HEAD>

<TITLE>Customer</TITLE>

<LINK rel="STYLESHEET" type="text/css" href="style/style.css">

</HEAD>

<FRAMESET rows="88,100%" frameborder="YES" border="8" framespacing="2">

<FRAME src="db_main.html" name="nav_head" scrolling="no" noresize>

<FRAME src="Spo.html" name="bottom_frame" scrolling="auto" noresize>

<noframes>

<BODY>

</BODY>

</noframes>

</FRAMESET>

<frameset>

</frameset>

</HTML>

These HTML use for cols -

<HTML>

<HEAD>

<TITLE>Customer</TITLE>

<LINK rel="STYLESHEET" type="text/css" href="style/style.css">

</HEAD>

<FRAMESET cols="*,*" frameborder="yes" border="8" framespacing="3">

<FRAME src="Spo.html" name="left_frame" scrolling="auto">

<FRAME src="Bro.html" name="right_frame" scrolling="auto">

</FRAMESET>

<NOFRAMES>

<BODY>

</BODY>

</NOFRAMES>

</HTML>

& same code use for the row. :eek:

I need each window have undoc button itself as well close (with functionality)

U have any idea, pls........waiting....Urgent

Thanks

RAM? ?
Copy linkTweet thisAlerts:
@PeOfEoMay 15.2004 — Don't use frames for navigation. What server side scripting options do you have? If you have the ability to use ssi, asp, asp.net, php, jsp, cf, so on and so fourth, just do a server side include and quit playing with frames. Frames are not going to be accessible, especially when you are playing with java script with them. Also, sites that use frames often look crappy.
Copy linkTweet thisAlerts:
@PhillMcMay 16.2004 — [i]Originally posted by PeOfEo [/i]

[B]Don't use frames for navigation. What server side scripting options do you have? If you have the ability to use ssi, asp, asp.net, php, jsp, cf, so on and so fourth, just do a server side include and quit playing with frames. Frames are not going to be accessible, especially when you are playing with java script with them. Also, sites that use frames often look crappy. [/B][/QUOTE]


Agreed ?

Also, and this can hurt your hits; big time, most search engines will not index framesets or simply will not do it correctly. I recommend that you do some reading on CSS, & also some Server Side Languages. I am willing to bet, like Peo, that you have some type of SS Scripting support. ?
Copy linkTweet thisAlerts:
@PeOfEoMay 16.2004 — unless you use angelfire tripod or geocities :p The terrible three. I should make a list of 12 bad hosts, and call it the dirty dozen. That will be my next little project lol. I can submit it to all kinds of web dev sites see if a little article on crappy hosts gets published. I can't do all free hosts, Ill put in a few crappy for pay ones too.
Copy linkTweet thisAlerts:
@PhillMcMay 17.2004 — LOL! I would like to see this 'dirty dozen'.?
Copy linkTweet thisAlerts:
@sayram13authorMay 19.2004 — [i]Originally posted by PhillMc [/i]

[B]LOL! I would like to see this 'dirty dozen'.? [/B][/QUOTE]




Hey Phill & Peo,

Thanks for help, Now my problem solved, i used javascript for that. It working very :o fine.

Thanks again for help.:p

i would like to see dirtyzone


Ram
×

Success!

Help @sayram13 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...