I have a piece of code something like the following:
START OF CODE
<html><head><ti tle>The Wizard</title></head>
<body> <h1>Welcome to Joe's Vet Clinic</h1>
<div id="part1" style="position :absolute;top:1 50px;left:50px; visibility:visi ble;">
<form name="visitor_i nfo">
<table><tr><td> Your name:</td><td><input name="visname"
type="text"></td></tr>
<tr><td>Your phone number:</td>
<td><input name="phone" type="text"></td></tr>
<tr><td>YourZ ip Code:</td><td><input name="zip" type="text"></td></tr>
</table>
<input type="button" value="next"
onClick="switch IfDone(this.for m, 'part1', 'part2');">
</form></div>
<div id="part2" style="position :absolute;top:1 50px;left:50px; visibility:hidd en;">
<form name="pet_info" >
<table><tr><td> Your pet's name:</td>
<td><input name="petname" type="text"></td></tr>
<tr><td>Dog, cat, fish, bird, lizard or other:</td>
<td><input type="text" name="species"> </td></tr>
<tr><td>Breed :</td>
<td><input name="breed" type="text"></td></tr>
</table>
<input type="button" value="prev"
onClick="switch Div('part2', 'part1');">
<input type="button" value="next"
onClick="switch IfDone(this.for m, 'part2', 'part3');">
</form>
</div>
blah blah blah
</html>
END OF CODE
This code needs spport, and can't work as is. It is code taken from
the Apple Developer's Site.
The code works perfectly in NN 7.0. It appears when the page is
served, and the function switchIfDone changes the visibility.
In IE6, it doesn't work at all.
Is there some reason why IE does not support DHTML? 2 3132 pa**@wubios.wus tl.edu (Paul THompson) writes: I have a piece of code something like the following:
START OF CODE
....HTML code... END OF CODE
Does it validate? If not, make it.
The code works perfectly in NN 7.0. It appears when the page is served,
What appears?
and the function switchIfDone changes the visibility.
How is that function loaded? What is the code?
In IE6, it doesn't work at all.
What doesn't work?
You have forgotten to tell us
1) what you have done (the Javascript code is missing, and it is the
most likely location of the problem),
2) what the page is supposed to do, and
3) what happens when you run it in IE ("not work at all" is not
precise enough).
That's three out of three of the questions we need answered before we
can help you. We need to be able to *reproduce* and *recognize* the
problem.
Is there some reason why IE does not support DHTML?
IE supports DHTML. It's just your code that apparently doesn't work.
Does it give any error messages? Do you have error messages turned on at
all?
Can we see the page? Either a link to the page, or a cut down version
of the code that is sufficient to reproduce the problem (with lines
no longer than 72 characters if posted here).
/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
> This code needs spport, and can't work as is. It is code taken from the Apple Developer's Site.
Something like http://developer.apple.com/internet/...pt/wizard.html ?
I haven't compared that with your markup and you don't show your script but
it looks related.
The code works perfectly in NN 7.0. It appears when the page is served, and the function switchIfDone changes the visibility.
In IE6, it doesn't work at all.
Well the URL above works perfectly in IE6 for me. How does your page
differ? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: viator |
last post by:
Hello everybody. I am a student doing my masters in Comp. Sci. Will
some explain to me why it seems completely two worlds when taking
about DHTML in NN and IE. Is there any way to write truly portable
webpages using DHTML ofcourse.
|
by: Frances Del Rio |
last post by:
please, can you go to
http://www.francesdelrio.com/dhtml/
when you click the name of the character the font color for all the
lines of that character should change.. this is a simple DHTML
memo... but I find that none of the JS or DHTML code is working at
all on page... if I download page and view it locally the JS & DHTML
code work fine, I don't understand this.. I'm very anxious b/c I just
submitted this page as a demo for a...
|
by: parksch2 |
last post by:
Hi all,
I'm having a hard time with the use of my DHTML menu and video on my
site. The video is served using Windows Media Player. Short of hiding
it, I can't seem to get my DHTML menu to appear above the video.
Unfortunately, I have noticed that hiding the video caused the browser
to flash several times. Does anyone know of anything I can implement
that would minimize the client side impact and also allow my menu to
appear on top of...
|
by: bbass |
last post by:
thanks to all that replyied to my previous post with the following code
in question:
<a href="merc.htm" target="_new_merc" onfocusout=window.close
class="left_link">
i understand that the people don't like the idea of closing the browser
window because it's annoyance to the user
|
by: Jacques Jamain |
last post by:
hello,
in a dhtml page generated from php I want to include a file which is
in fact the body of the dhtml page. My hosting ISP does not allow SSI
but supports php includes. In the dhtml page, the generated statment
<?php include('fspecs') ?>
is ignored. I've the feeling that I'm overlooking something in the
way php is parsing dhtml (if it does). The dhtml code saved in a file
execute correctly after that...
Any hints about this?
Thanks...
| |
by: sdonohue |
last post by:
I am not very good at DHTML, but I have a set of links that use DHTML and they work :)
But now the customer wants to have one of my DHTML links call a javascript function when it is clicked on. When I put it into DHTML, it treats everything between the " " like a constant. When I remove the quotes, it gives me an error.
One of the versions I have tried is:
DQM_rollover_image12 = "/images/nav_hospital.gif"
DQM_rollover_wh12 =...
|
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: 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: 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: 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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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...
| |