Still no joy, postyr.
I have this now:
var myId_1 = getElementById('Graphic_Div');
var myId_2 = getElementById('Help_Pages_Div');
function toggle () {
if (myId_1.style.display == "none") {
myId_1.style.display = '';
myId_2.style.display = 'none';
}
else {
myId_1.style.display = 'none'...
Hi postyr,
No luck I'm afraid. Tried your suggestion, I think I have it right:
function toggle () {
if ((getElementById('Graphic_Div')).style.display == "none") {
(getElementById('Graphic_Div')).style.display = '';
(getElementById('Help_Pages_Div')).style.display = 'none';
}
else {...
Hi,
I am a designer with a little programming experience and I have cobbled together some javascript that toggles the alternating visibility of two divs.
It works fine in all browsers I've tested except firefox.
What am I doing wrong for firefox?
Here's the code :-
<script...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.