PDA

View Full Version : DHTML (I think) Need assistance


Del
03-28-1999, 03:29 AM
Okay all, I have an attempt at some dhtml at www.downinit.com/index.shtml (http://www.downinit.com/index.shtml) If anyone could please go visit that page (the main page only) and mouseover on the Search and Contact links and report any errors or success you may have, I'd greatly appreciate it.

So far it's been tested to work on Netscape 4.06, Netscape 4.5 and MSIE 4.0 (all on windows).

Netscape 3.01 does not work, but it's not supposed to. It does not report any errors either.

One person has told me that Netscape 4.08 won't even load the page, let alone try any JavaScript on it... Weird...

Anywho, all I need to know is a rough idea of how bad it fails in assorted browsers. If too many break, guess I'll toss that idea http://www.aota.net/ubb/smile.gif

Del

Deb
03-28-1999, 03:53 AM
It works fine in IE5 http://www.aota.net/ubb/wink.gif

Deb

Justin
03-28-1999, 03:56 AM
I'm impressed! Works here in IE 4.0 and NS 4.08 - actually Netscape does it better than IE here - IE doesn't like to make the box disappear without clicking Close - Netscape gets rid of it as soon as you hover over another link.

All in all, I'm very impressed http://www.aota.net/ubb/smile.gif


------------------
Justin Nelson
FutureQuest Support

Terra
03-28-1999, 05:00 AM
Pretty **** skippy if ya ask me... http://www.aota.net/ubb/wink.gif

--Terra

WayneK
03-28-1999, 09:45 AM
Looks good. http://www.aota.net/ubb/smile.gif

The only (minor) prob is when in a small window the layers appear under the cursor.

hearts
03-28-1999, 10:20 AM
well, after three failed attempts, i can tell ya.. that i illegally functioned. http://www.aota.net/ubb/frown.gif

i am using Netscape 4.05

Armand
03-28-1999, 10:51 AM
Del works fine on Netscape 4.07! Cool work!

Del
03-29-1999, 03:39 AM
Thanks all for the info, I really appreciate it. Not sure if I'm going to keep it or not, as I've had a few people now tell me they get illegal op's when trying to view the page...

Justin, I noticed that too about M$IE. Dunno why it's doing it, seems that exploder just wants to ignore the fact that I've put the onMouseOver on all the links (in order to hide the most recently opened layer/div/thingus when a different link is hovered over). It works on a couple of the links, but not all... Highly annoying *grumble*

WayneK, thanks for the tip. Seems as if I'll have to alter the pixel spacing from the left side in order to accomadate (sp?), or make an attempt to shrink the width of the layers or something.

Del

Justin
03-29-1999, 04:48 AM
I tinkered a little with it - the problem with IE is that if the layer thing pops up at the same height or higher than the links, those links that are lower than the top of the popup thing are dead... any links higher than the top of the thing are fine and do as expected.

By making the top 200px instead of 100, it cured it for IE. What I would do is put the links at the top of the page http://www.aota.net/ubb/smile.gif Then the popup will always be lower than the links.

This is the first time I've seen IE not work where Netscape did - IE tolerates very poor HTML / CSS and Netscape is picky - maybe it's the opposite with JavaScript (no, I'm not calling your JavaScipt poor by any means http://www.aota.net/ubb/smile.gif)

About the illegal ops, that's a Netscape thing. They apparently don't have very much error trapping going on internally - Shockwave does that to 4.08 all the time, but your page looks fine in it http://www.aota.net/ubb/biggrin.gif

All in all, I wouldn't give up on it completely, but you could find out what versions of NS have a problem and make the JavaScript conditional http://www.aota.net/ubb/smile.gif I really do like the idea. I've never messed with layers (and I don't plan on starting yet either http://www.aota.net/ubb/smile.gif)


------------------
Justin Nelson
FutureQuest Support

Del
03-29-1999, 05:25 AM
Justin,

Thanks for the info, I'll play with it soon (maybe hehe). This just re-enforces my dislike of exploder http://www.aota.net/ubb/smile.gif This is the first time I've seen IE work worse on this stuff than nutscape too. Leave it to me to break the reliable one.

The problem with making the top margin 200px is that it shoves the bottom of the 'contact' form below the bottom of the browser, so people have to scroll. Of course maybe that would mean less email? *eg* This fixes the problem of having the layer appear on top of the links in smaller windows though, so it still is worth it even if I do lose some email hehehe

It seems that nutscape 4.04 and 4.05 don't like it, so I'll think about the easiest way to exclude them (later, way too much PHP and Perl stuff running through the old noggin to think about JavaScript now...)

And as for this;

no, I'm not calling your JavaScipt poor

Might as well! JavaScript is almost my worst subject, only slightly higher than math :-)

Del

hearts
03-29-1999, 09:51 AM
Hey Del, I personally stayed away from learning too much in the way of DHTML cuz it seems to either be for MSIE or Netscap, and if it is a personal site, then I would say keep experimenting.. if this is a business site, I would experiment still, I just wouldn't use it til the bugs were worked out to your satisfaction. What would be the sense in putting in all that hard work and using it for you site, if many were unable to view it how you intended.

also, there is a forum that that could be of great help to ya. http://www.wsabstract.com/cgi-bin/Ultimate.cgi

Good luck, and don't give up on this, just ask 'em for some help. That is what they are there for. http://www.aota.net/ubb/smile.gif

WayneK
03-29-1999, 01:57 PM
Del,

Justin's suggestions were right on. You could also (with the aide of some scripting) make the layers relative to the right margin. DHTML can be such a pain when you have to accommidate different browers, different versions of the same browsers and different screen resolutions.

You are doing fine http://www.aota.net/ubb/smile.gif