Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Sep 2002
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Netscape 4.79 css/javascript questions

    hello everybody, i had to make a website with some javascript and css, the site works great in IE5,6 and netscape 6

    but i opened it with netscape 4.79, it was a nightmare, i was able to fix all the problems except for these 2:

    1- can we apply a background color to a Text Input Field (with or without css) in netscape 4? I haven't found any confirmation that it doesn't work, but all the examples i find on the net, don't work with NN 4.79

    2- I had to do my links with javascripts, my site has frames, and i used the following javascript function

    function navigation(pageName){
    window.parent.content.location.href = pageName + ".html";
    }

    the links works of course in IE5,6 and N6, but with NN 4.79




    any help is appreciated, thanks.

  • #2
    Regular Coder
    Join Date
    May 2002
    Location
    Helsinki, Finland
    Posts
    231
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Netscape 4.79 css/javascript questions

    Originally posted by HF_JBB
    1- can we apply a background color to a Text Input Field (with or without css) in netscape 4? I haven't found any confirmation that it doesn't work, but all the examples i find on the net, don't work with NN 4.79

    2- I had to do my links with javascripts, my site has frames, and i used the following javascript function

    function navigation(pageName){
    window.parent.content.location.href = pageName + ".html";
    }

    the links works of course in IE5,6 and N6, but with NN 4.79
    any help is appreciated, thanks.
    1) No

    2) Use target attribute instead of JS navigation. If your site's navigation is dependable of scripting, this means nothing but problems.
    An example :
    <a href="newPage.html" target="frameName" title="Open a new page into frame">Open newPage.html</a>
    Zvona
    First Aid for
    Web Design

  • #3
    New Coder
    Join Date
    Sep 2002
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks for the reply.

    if i can't find any solutions about the js links, ill have no choice but to do it with targets.

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You may find the js links work if you use absolute instead of relative paths

  • #5
    New Coder
    Join Date
    Sep 2002
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i found my problem.

    The problem was i had my onClick event in the <img> tag.

    i tried to put it in the <a> just before it and it worked!

    gah


    thanks for all the help
    Last edited by HF_JBB; 09-10-2002 at 04:07 AM.


  •  

    Posting Permissions

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