Results 1 to 6 of 6

Thread: Frames Breakout

  1. #1
    Join Date
    Jul 2003

    Frames Breakout

    I seem to be stuck in a frame -
    I have used


    none will get me out of the frame,is there another one I can use?

    I haven't tried Java yet. I was hoping for a simple html target=""

  2. #2
    Join Date
    Sep 2006
    new york


    I'm surprised _top does not work; that should take you to the beginning (the top frame when <FRAMESET> created, if I remember correctly). To go one up, there is also _parent and, the default, _self. Otherwise, use name of <FRAME> for target="".

    It is always helpful to include your code so people can see what's going on.

    Using <FRAMESET> has a lot of negative aspects and is decremented in HTML5 (WHoopie!).

  3. #3
    Join Date
    Sep 2006
    new york

    search result for <FRANESET> target=""

    <FRAMESET> target="_top" etc. see:


    Calling specific frames
    If you want a link to change the page in another frame (for example in our frame navigation tutorial we had a left hand navigation frame which changes the right hand content frame), you need to give each frame its own name, and then specify that name in the link. Here's how the frameset might appear:

    <HEAD><TITLE>My First Frame Page</TITLE>
    <FRAMESET COLS="25&#37;,75%">
    <FRAME NAME="navigation" SRC="navigation_page.htm">
    <FRAME NAME="content" SRC="content_page.htm">
    Each of our two frame pages has it's own NAME attribute. Now here is the code for a link within the navigation frame which causes a new page to load within the content pain:

    <a href="new_content.htm" target="content">New Content Page Link Text</a>

    The target attribute is what does the trick here. It tells the browser that the frame labelled 'content' should be loaded with the new page "new_content.htm".
    > Using target="_top"
    target="_top" within a link tag causes the new page to load in the full body of the window, which is useful if you ever want to break out of the frameset you have created and have a frameless page.
    Using target="_parent"
    target="_parent" is similar to target="_top" but will refer to the immediate parent of a frame. In more advanced frame usage there may be several nested frames and this allows more control over which frames are specified. (It's actually something developers rarely need to use).
    Using target="_blank"
    target="_blank" causes the link to open in a totally new browser window, leaving the page with the refering link still open behind it. Unlike Javascript pop ups, however, the developer has no control over the size of the resulting window - it just depends what the browser happened to do the last time they shut their browser down!
    Using target="_self"
    target="_self" loads the page within the same frame as the link tag.
    Last edited by auntnini; 01-30-2012 at 05:55 PM. Reason: clean up

  4. #4
    Join Date
    Jul 2003
    Thanx for the response. This is my Frameset as you see it is much like yours,

    <FRAME SRC="buttons.html" NAME=navbar SCROLLING=NO>
    <frame src="mainpage.html" name=main>

    The reason for frames is to keep the same navigation buttons on top of all the webpges as oposed to coding them into every page.

    This works fine usually but this time I needed to breakout and that's where I get stuck.

    This is the href that I can't get out of the frame.

    <a href="http://lewis-james-parker.co.uk" target-"_blank"> lewis-james-parker.co.uk</a> still under construction.

    I have just googled _blank and it is saying that Microsofts IE 8-9 has a bug that stops breakouts from working!!

    http://www.htmlcodetutorial.com/link...y110y107y.html quote - "Some versions of MSIE have a bug which renders anchors using "_blank" inoperative."

    Maybe I should try a script solution. Do you know of one that works?

  5. #5
    Join Date
    Sep 2006
    new york

    typo =

    Need equal sign = target="_top"
    Last edited by auntnini; 02-06-2012 at 08:42 PM.

  6. #6
    Join Date
    Jul 2003
    Yes thanx auntnini I spotted that just after I submitted the thread..

    The solution was just like me "simple"...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.17417 seconds
  • Memory Usage 2,889KB
  • Queries Executed 15 (?)
More Information
Template Usage (33):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (6)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates