![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| JavaScript JavaScript are you needing help with functions in your script, free help is offered here for all JavaScript problems so if you have an JavaScript error in your code just ask. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| In IE, from the child window of a frameset i use the function top.window.close() And this works in IE, but not in nn4! How can i make this same effect in nn4? please help | |||
|
| Advertisements |
| | #2 | ||
| "Lee" <REM0VElbspamtrap@cox.net> wrote in message news:cbmrdc0sec@drn.newsguy.com... > <ThetaSun@lvcm.com> said: > > > >In IE, from the child window of a frameset i use the function > > > >top.window.close() > > > >And this works in IE, but not in nn4! > > > >How can i make this same effect in nn4? > > The "top" attribute of the current window is the window at the top. > Windows don't have an attribute named "window". > > top.close() > top.close() did not work do you have any other ideas? I called top.close() from a page within a framset in NN4 and it did Not close the frameset. I'm despereate for an answer. Any help is appreciated | |||
|
| | #3 | ||
| > > In IE, from the child window > > child window or child/inner frame? This is important to first untangle. I mean a page that was loaded into a Frameset. I don't know if that would be a child or inner frame. > of a frameset i use the function > > > > top.window.close() > > > > parent.close() > if you meant the child/inner frame. > This also depends on the frameset containment hierarchy. Here, we don't > see what is your webpage, what is its frameset containment hierarchy (or > if you're actually referring to a real secondary window). In some cases, > parent.close() would be correct while in other cases, top.close() would > be the only correct solution. > Note that some browsers will neutralize recourse to close() if user-pref > setting disallow recourse to such method, even if the window was created > by javascript. > A general rule is that you can never close a window which was not opened > by javascript. Thanks for the info. > > And this works in IE, but not in nn4! > > > > Do you really want to support a browser which was designed more than 7 > year ago? You should worry much more about supporting NS 7.1 and you > should consider dropping webpage based on frame design: it's widely > known that frames bring many usability and accessibility burdens to users. Yes i know. I have a really picky client who saw that one of our local Kinkos had NN4 on nearly every computer and after that. I was requested to make the webpages NN4 compatible. > > How can i make this same effect in nn4? > > > > please help > > > > > > What had this post to do with java? It didn't, the forum comp.lang.java.javascript seemed confusing, but i figured the discussion in that room was javascript and not java > DU Thanks bud. Alex | |||
|
| Featured Websites | ||||
|
![]() |
| Tags: child, close, driving, frameset, nn4, nuts, window |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help try and stolp child porn | MadKad | Community Chat | 8 | 10-25-2007 8:45 AM |
| i'm going nuts | The Lone Wolf | PHP | 1 | 07-01-2007 4:03 PM |
| How to include multiple frames in frameset without predefined dimensions/vertical scrollbar | Don Schneider | HTML | 0 | 07-01-2007 12:45 PM |
| Good games for child | Steve Rainbird | Computer Consoles | 10 | 05-30-2007 10:12 PM |
| DRAW 9.0 trying to get text-to-graphic, driving me NUTS!! | jrzyguy | Graphics in general | 0 | 05-28-2007 6:48 PM |
| Featured Websites | ||||
|