/    Sign up×
Community /Pin to ProfileBookmark

browser compatibility – frame,form

Hi,

I need the following to work in netscape. Could anyone reply how to work on these ok things in IE to work with Netscape.

  • 1. document.Form1.display.value

  • 2. frame2.style.visibility = “hidden”;

  • 3. parent.framea.handletoolclick();

  • 4. parent.framec.document.location.href = “string”
  • I appreciate your immediate help.

    Regards,
    Jay

    to post a comment
    JavaScript

    6 Comments(s)

    Copy linkTweet thisAlerts:
    @KorSep 06.2006 — 
  • 1. Which version of Netscape?

  • 2. I doubt that one of your code line works, even in IE:

    [COLOR=Green]parent.framec.document.location.href = "string"[/COLOR]

  • - [B]location[/B] is a property of the [B]window[/B] object, not of the [B]document[/B] object

  • - "string"? what is "string"?


  • What in fact does not work?
    Copy linkTweet thisAlerts:
    @jayNambaruauthorSep 07.2006 — Hi,

    Infact all of them work in IE 6. I want them work in Netscape 6.

    string is the document reference for the href.


    Regards,

    Jay
    Copy linkTweet thisAlerts:
    @KravvitzSep 07.2006 — Try using
    parent.frames['framec'].location.href
    [url=http://www.html-faq.com/htmlframes/?framesareevil]Whay are frames so evil?[/url]

    [url=http://karlcore.com/articles/article.php?id=2]Why Frames Are Bad[/url]

    http://apptools.com/rants/framesevil.php

    http://www.456bereastreet.com/archive/200411/who_framed_the_web_frames_and_usability/

    [url=http://www.useit.com/alertbox/9612.html]Why Frames Suck (Most of the Time)(1996)[/url]

    [url=http://www.htmlhelp.com/design/frames/whatswrong.html]What's wrong with frames?[/url]

    http://www.tamingthebeast.net/articles/framesnoframes.htm

    [url=http://www.dorward.me.uk/www/frames/]Frames - The Problems And Solutions: Explanations as to why you probably shouldn't use frames, along with alternatives that you can use instead.[/url]
    Copy linkTweet thisAlerts:
    @jayNambaruauthorSep 07.2006 — Hi,

    How to access parent.frameX.FormY in Netscape?.

    I have the following function working fine in IE 6. I need it in NN6

    function syncToc()

    {

    var tocForm = parent.frameX.TocForm;

    if(tocForm != null)
    {
    parent.frameX.document.location.href = "Toc.aspx";
    }


    }


    Regards,

    Jay
    Copy linkTweet thisAlerts:
    @KravvitzSep 07.2006 — parent.frames['framec'].document.forms['formName']
    Copy linkTweet thisAlerts:
    @KorSep 08.2006 — Hi,

    How to access parent.frameX.FormY in Netscape?.

    I have the following function working fine in IE 6. I need it in NN6

    function syncToc()

    {

    var tocForm = parent.frameX.TocForm;

    if(tocForm != null)
    {
    parent.frameX.document.location.href = "Toc.aspx";
    }


    }


    Regards,

    Jay[/QUOTE]


    Once again: [B]location[/B] is a property of the [B]window[/B] object, not of the [B]document[/B]

    parent.frames['frameX'].window.location.href = "Toc.aspx";
    ×

    Success!

    Help @jayNambaru 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.18,
    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,
    )...