SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: blank statusbar

  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2004
    Location
    san jsoe
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    blank statusbar

    Hi,

    I have a frame_structure.html divided into column-frames(frame_menu.html and frame_content.html). When user click on menu links, I want the statusbar not to display the link.

    I know how to do inline onMouseOver (...onMouseOver="window.status='';return true;"...); with each href in frame_menu.html. But I want to write just one time using <script>. I've tried in frame_menu.html

    <header><title></title>
    <script language="JavaScript">
    window.statusbar.visible = "false";
    </script>
    </header>
    <body>
    <a href="1.html" target="content">1.html</a>

    </body></html>

    ======
    1.html still shows at my status bar....Can someone help me on this? Thanks

  2. #2
    SitePoint Evangelist Mr. Brownstone's Avatar
    Join Date
    May 2002
    Location
    Relative
    Posts
    452
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try replacing this:
    Code:
    window.statusbar.visible = "false";
    With this:
    Code:
    top.window.statusbar.visible = false;
    Changes are emboldened.
    Of course, that's just my opinion. I could be wrong.

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2004
    Location
    san jsoe
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you mean parent. ? 'cause top dont work and browser reports script error.

    I want to overwrite statusbar on alll frames with blank, one time by using <script> in the frame structure file.

    I still dont know the way to do on the frame_structure.html. I know how to do by writing a function for each frame.html, or using onMouseOver on each href.

  4. #4
    SitePoint Wizard Dean C's Avatar
    Join Date
    Mar 2003
    Location
    England, UK
    Posts
    2,906
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm really new to JS but try:

    Code:
    window.document.statusbar.visible = false;


Bookmarks

Posting Permissions

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