This is a java script code that will make it snow on your page. My problem is that it works just fine in IE and Opera, but doesn't work in Fire Fox or Safari. Here is the code. If you have any idea why i can't get it to work that would be great! - <font face="Tahoma"><a target="_blank" href="http://www.javascriptfreecode.com/"><span style="font-size: 8pt; text-decoration: none">JavaScript Free Code</span></a></font>
5 2289 JosAH 11,448
Recognized Expert MVP
You do realize that this is a Java forum and Java and Javascript are two entirely
different things? I'll move your question over to the Javascript forum.
kind regards,
Jos
There are no properties called posx or posy in firefox or safari- and they haven't been used much in IE since IE4.
You do realize that this is a Java forum and Java and Javascript are two entirely
different things? I'll move your question over to the Javascript forum.
kind regards,
Jos
LoL. Sorry, I knew that but just didn't catch that. Thanks
I have fixed this up a lot but still have not got it to work on Firefox or Safari. It will work on IE and Opera. If you have advice on what else do do or what i might have missed that would be great! acoder 16,027
Recognized Expert Moderator MVP
I've merged the threads and changed the thread title. Makes everything a lot cleaner and easier.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Sander Tekelenburg |
last post by:
While working on <http://www.lotzofmusic.com/> I ran into some issues
with overflow (the decorative fishes). It seems to me the construction
is sound, yet Safari ignores the overflow:hidden.
At first glance it appeared that this is related to the fact that the
SPANs contain only a background image and have a defined width & height,
but no:
I put up a simplified test-case at
<http://santek.no-ip.org/~st/tests/CSS/overflow_hidden.php>,...
|
by: mr_burns |
last post by:
hi,
i am using the following code which works well in internet explorer
but not in firefox (and perhaps others too):
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async="false";
xmlDoc.load("xml/names.xml");
nodes = xmlDoc.documentElement.childNodes
span_html = '<p>'
|
by: Lachlan Hunt |
last post by:
Hi,
I've been looking up lots of documentation and trying to work out a
cross-platform method of capturing a keyboard event and working out
which key was pressed. From what I can find, there doesn't appear to be
any standardised keyboard event interface other than this DOM 3 Events
W3C Working Group Note . However, it is only a note and doesn't
appear to be implemented in any browser. Is there another standard that
I've missed?
The...
|
by: warteschlange |
last post by:
i want to postload javscript from another javascript.
This works fine in
firefox and IE6
for macIE i can use an Iframe to load the code and inject it with
insertAdjacentHTML
The problems arise with safari and opera.
both load the new code with XMLHttpRequest, but the code is no
'executable'
To make this possible on IE i had to use the magic 'DEFER' attribute.
|
by: Mark Rae |
last post by:
Hi,
I've just finished upgrading a site for a client to XHTML-compliance. It's
been tested on the latest versions of the following OS / browser
combinations:
WinXP - IE
WinXP - Netscape
WinXP - FireFox
WinXP -Opera
| |
by: Steve Chapel |
last post by:
When I load the page
<https://bugzilla.mozilla.org/attachment.cgi?id=237739with Internet
Explorer 7 RC 1, I get the error "Object Expected" at line 174. When I
click on the button, I also get the same error on line 186. This same
HTML and JavaScript works perfectly in Firefox and Opera. How can I make
the code work in IE?
|
by: Candoer |
last post by:
I am new to both HTML and CSS. Several months ago my High School Alumni association web master died and they asked me to take over the web site. I had never worked with CSS but had some experience with HTML. The site was written strictly using HTML and had no CSS. So I decided to take on the task to convert it using CSS. For the past three months I have been lurking on this group and trying my best to absorb your suggestions to others and...
|
by: AG |
last post by:
Using ASP.NET 3.5
I have been using a standard menu control bound to a sitemapdatasource using
a web.sitemap file.
The menus work fine in IE and Firefox, but in Safari, they render horribly
and dynamic menus don't work at all.
I found a post indicating that rendering can be improved by modifying
browserCaps, but not the dynamic functionality.
A search finds many third party menu controls. Most of which utilize their
own xml file source.
|
by: maureen1708 |
last post by:
Hi,
A noob here so please be gentle :)
I am revamping my dog's website (don't laugh, he's what got me off the couch to learn a little html/css in the first place). Everything seems to work fine in IE7, Opera, and Safari, but in Firefox, the second page is wonky until I hit refresh (I've only got the two pages so far).
Here's the site: http://brt.50webs.org/index.html
On the second page, the image and text in colOne that should be...
|
by: rudiedirkx |
last post by:
Gents,
I have a problem (only in Safari) with the onsubmit in webforms. This topic covers the same subject: http://bytes.com/topic/javascript/answers/166542-onsubmit-safari but not as detailed as I will.
Let me illustrate the problem with examples.
The HTML:
<html>
<head>
<script type="text/javascript" src="/js/mootools_1_11.js"></script>
|
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...
| |
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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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...
|
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...
|
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...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |