473,770 Members | 5,842 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

....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?

Jul 23 '05 #1
4 2066


Matt MC wrote:
...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?

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #2
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.getEle mentById("switc h").innerHTM L = "<img
src=./someimage1.gif border=0>"
}

function image2() {
document.getEle mentById("switc h").innerHTM L = "<img
src=./someimage2.gif border=0>"
}

</script>

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

<a href="javascrip t:image(1);">Im age 1</a>
<a href="javascrip t:image(2);">Im age 1</a>

Jul 23 '05 #3
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.getEle mentById("switc h").innerHTM L = "<img
src=./someimage1.gif border=0>"
}

function image2() {
document.getEle mentById("switc h").innerHTM L = "<img
src=./someimage2.gif border=0>"
}

</script>

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

<a href="javascrip t:image(1);">Im age 1</a>
<a href="javascrip t:image(2);">Im age 2</a>

Jul 23 '05 #4
(oops, in the last example, obviously it should be image1(), image2()
not image(1), etc. for the javascript call functions...... ....)

Jul 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1412
by: Better but still clumpsy | last post by:
This function works as intended with Netscape/Modzilla. But, it doesn't work with IE version 6.0.2900.2180.xpsp_sp2_rtm040803-2158. Can someone tell me how to fix it? Thanks. function change_cell(y,x,my_piece) { var xx=0; xx=x+1;
2
5366
by: AndrewW | last post by:
Hi I have an application that draws a selection rectangle over a map image. I can get it to work fine in IE and Opera, but not Firefox/Netscape. I've thrown the following small example together to illustrate the problem - the problem being that FF/NE initially draw my rectangle before the icon changes immediately to the black no-entry icon. Then, when I let go of the mouse, the rectangle continues drawing, but it
1
2151
by: RC | last post by:
I know DTD (Document Type Definition) is supported by Netscape/Firefox and IE. But I typed some examples from http://www.w3schools.com/schema/default.asp Seems no effect on those browsers.
3
1227
by: Arne | last post by:
I have a dropdownlist/select box with an autopostback to code behind. It works great in Internet Explorer, but doesn't work in Netscape and Firefox. What kind of support does ASP.net promise for Netscape and Firefox?
10
2376
by: News | last post by:
I have a page up trying to learn how to ID a browser and other info. http://wyght.com/warren/testPos.html here is the code <script type = "text/javascript"> var space = ", "; var name = navigator.appName;
3
4386
by: Simon Verona | last post by:
I have a parent form which contains a toolbar. The toolbar controls the loading and switching to of MDI child forms. The code for the toolbar click event and one of the subroutines that loads and shows a child form is: Private Sub tbMenu_ButtonClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ToolBarButtonClickEventArgs) Handles tbMenu.ButtonClick Dim btn As System.Windows.Forms.ToolBarButton For Each btn In...
1
2243
by: dscriv | last post by:
Hello, I have Netscape 8.0.4 (in Firefox mode) and Flash 8.0.24.0. I also have IE and Firefox installed. If I go to this page, which contains a Flash detection movie: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15507 all three browers successfully run the Flash movie and show the same version of Flash to be installed. However, if I try to use a javascript Flash detection solution, it does
1
1664
by: Yobbo | last post by:
Hi All I use the following script to stop users typing in anything but standard chars (eg letters, numbers, etc) into a input textbox: <!-- // 8 = backspace // 9 = tab // 46 = del // 190 = period (full stop)
3
2302
by: cjparis | last post by:
Hello All I built a simple script to move a div tag with a MouseOver event handler. This worked fine in Safari but would not work in Netscape and Firefox Can anyone help? You can see it working in Safari on http://observationist.co.uk So far this is what I have
0
9591
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10053
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9867
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8880
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7415
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5312
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3969
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.