Netscape/Firefox DIV switching -- how do you stop the flickering?

M

Matt MC

....apparently when switching div tags elements, such as a fixed image,
in Netscape flavor browsers there is a brief flicker. I've read about
this issue, it seems there could be hack approaches to remedy this, but
can't find anything concrete. Has anyone found an approach to fix this?
 
M

Martin Honnen

Matt said:
...apparently when switching div tags elements, such as a fixed image,
in Netscape flavor browsers there is a brief flicker.

I think you need to show us a concrete example, what/how do you switch
(visibility or display or the nodes), you mention div tags, then a fixed
image, that is not clear at all.
And what are the Netscape versions you observe the flickering with?
 
M

Matt MC

Something like this is what I am talking about. This is happeneing in
the latest version of Firefox and NS 7x

<script>

function image1() {
document.getElementById("switch").innerHTML = "<img
src=./someimage1.gif border=0>"
}

function image2() {
document.getElementById("switch").innerHTML = "<img
src=./someimage2.gif border=0>"
}

</script>

<div id="switch"></div>

<a href="javascript:image(1);">Image 1</a>
<a href="javascript:image(2);">Image 1</a>
 
M

Matt MC

Something like this is what I am talking about. This is happeneing in
the latest version of Firefox and NS 7x

<script>

function image1() {
document.getElementById("switch").innerHTML = "<img
src=./someimage1.gif border=0>"
}

function image2() {
document.getElementById("switch").innerHTML = "<img
src=./someimage2.gif border=0>"
}

</script>

<div id="switch"></div>

<a href="javascript:image(1);">Image 1</a>
<a href="javascript:image(2);">Image 2</a>
 
M

Matt MC

(oops, in the last example, obviously it should be image1(), image2()
not image(1), etc. for the javascript call functions..........)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top