PDA

View Full Version : Netscape 4.79 css/javascript questions


HF_JBB
09-08-2002, 02:06 PM
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.

Zvona
09-08-2002, 03:53 PM
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>

HF_JBB
09-08-2002, 06:20 PM
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.

brothercake
09-09-2002, 02:48 AM
You may find the js links work if you use absolute instead of relative paths

HF_JBB
09-10-2002, 03:03 AM
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