Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 2 of 2 < 1 2
Topic Options
#62646 - 29/01/2002 21:17 Re: Another web authoring question... [Re: ninti]
ninti
old hand

Registered: 28/12/2001
Posts: 868
Loc: Los Angeles
I guess I should have looked at your page first, empty table cells are not your problem. It appears Netscape has trouble with the height attribute inside of a nested table. A spacer gif may still solve that problem though.
_________________________
Ninti - MK IIa 60GB Smoke, 30GB, 10GB

Top
#62647 - 29/01/2002 21:54 Re: Another web authoring question... [Re: Dignan]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
If DIVs didn't work right in Netscape 6, you aren't programming to the standard.

If they didn't work in NS 4.x, then you didn't program to the NS standard

Basically no browser complies to the standards completely. NS 6 (Mozilla) is the closest any one has come. IE has had it's own quirks with DHTML code (As seen by my old javascript statements on a few DHTML pages to detect and activate workarounds).

Top
#62648 - 30/01/2002 03:58 Re: Another web authoring question... [Re: ninti]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4181
Loc: Cambridge, England
It appears Netscape has trouble with the height attribute inside of a nested table.

*snort*

Netscape has trouble with nested tables, full stop.

MSIE6 is better than the v4 which was current when I made those pages (jn a previous life as a browser architect) but still overplots images onto text in some of the harder cases.

Peter

Top
#62649 - 03/02/2002 15:12 Re: Another web authoring question... [Re: redbutt2]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31604
Loc: Seattle, WA
Daniel, I am trying to do a very similar thing to what you posted an example of here. I want to click on a link on the left and have a section of the table on the right replaced with a different image for each link

Your examples work fantastic in Internet Explorer, but they do not work in Netscape 4.7 (one of my target browsers).

I know I could do it with frames, but that's not a possibility for my current application. Do you have a way to make your example work on Netscape?
_________________________
Tony Fabris

Top
#62650 - 03/02/2002 23:22 Re: Another web authoring question... [Re: tfabris]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12345
Loc: Sterling, VA
I don't know if it helps or not, but I had problems with Netscape too. Which version are you using? I loaded the newest possible for testing, along with their "Sun Java" whatever, and it didn't work at first. Then I restarted and all of a sudden it started working. Not sure why. Now everything looks almost the same in both browsers.

I don't know why it should be any different for you then, if you're using the same code here.
_________________________
Matt

Top
#62651 - 04/02/2002 00:36 Re: Another web authoring question... [Re: Dignan]
ithoughti
old hand

Registered: 17/07/2001
Posts: 721
Loc: Boston, MA USA
I have some simple examples of what I think you are talking about on my (somewhat amature) site. It's not much, nor is it by any means finished. It's just a few things in my portfolio. The color photography page here is a decent example (i think) of what you are talking about. The pages use a layout with tables inside tables to get everything to stay as close to the way I want it without resorting to using frames, java, flash, etc... I am very big on simple accesible web design, although I did use a few png files just because some of the attributes are a bit better than other types of image files.

//matt
_________________________
---------
//matt

Top
#62652 - 04/02/2002 11:23 Re: Another web authoring question... [Re: ithoughti]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31604
Loc: Seattle, WA
The pages use a layout with tables inside tables to get everything to stay as close to the way I want it without resorting to using frames, java, flash, etc.

If I understand correctly, you actually have a separate HTML page for each photo. Although this is a possibility for me, it makes updating the page a complete pain in the ass. So I would like to avoid doing that if possible.
_________________________
Tony Fabris

Top
#62653 - 04/02/2002 11:25 Re: Another web authoring question... [Re: Dignan]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31604
Loc: Seattle, WA
I don't know if it helps or not, but I had problems with Netscape too. Which version are you using?

As I stated in the message, it was Netscape 4.7.

I loaded the newest possible for testing, along with their "Sun Java" whatever (...) Then I restarted and all of a sudden it started working.

Although this is nice, I cannot ask every other person on the internet to upgrade to those specifications.

Anyone have a better solution?
_________________________
Tony Fabris

Top
#62654 - 04/02/2002 19:24 Re: Another web authoring question... [Re: tfabris]
charcoalgray99
enthusiast

Registered: 14/05/2001
Posts: 279
Anyone have a better solution?

How about the javascript I always see used on ebay to view multiple pictures?

Tom

Top
#62655 - 05/02/2002 02:06 Re: Another web authoring question... [Re: charcoalgray99]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31604
Loc: Seattle, WA
How about the javascript I always see used on ebay to view multiple pictures?

can you link me to a specific example of this?

You know, I might also be able to use OverLib for this one, I think it's got this ability. I'll have to check it.
_________________________
Tony Fabris

Top
#62656 - 05/02/2002 08:51 Re: Another web authoring question... [Re: tfabris]
redbutt2
member

Registered: 12/01/2002
Posts: 141
Loc: San Diego, CA
Tony,

Are you just replacing images in the same location? If so this is super easy.

it is possible to get the code I wrote for this DIV application to work in Netscape 4.7. I'll see if I can post an example. The problem is that Netscape 4.7 doesn't support the Document Object Model in the same way (w3c) that the newer browsers do, so you have to add special code just for Netscape 4.7
_________________________
We need a bigger boat.

Top
#62657 - 05/02/2002 09:24 Re: Another web authoring question... [Re: redbutt2]
redbutt2
member

Registered: 12/01/2002
Posts: 141
Loc: San Diego, CA
O.K. Here is the example. This should work in any browser, even AOL. I put the instructions in the HTML as comments.

[edit] Let me know if you have problems using this.


Attachments
65364-rollover.html (116 downloads)



Edited by redbutt2 (05/02/2002 09:28)
_________________________
We need a bigger boat.

Top
#62658 - 05/02/2002 11:01 Re: Another web authoring question... [Re: tfabris]
charcoalgray99
enthusiast

Registered: 14/05/2001
Posts: 279
can you link me to a specific example of this?

Sure.

Top
#62659 - 05/02/2002 11:11 Re: Another web authoring question... [Re: redbutt2]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31604
Loc: Seattle, WA
Suh-wheet. Thanks!
_________________________
Tony Fabris

Top
#62660 - 05/02/2002 14:49 Re: Another web authoring question... [Re: redbutt2]
redbutt2
member

Registered: 12/01/2002
Posts: 141
Loc: San Diego, CA
O.K. So, here is the best that you can really hope for that will work in Netscape 4.7x and up. I really wouldn't call this working, but it will at least function the same. The problem is that until Netscape 6, the positioning commands in Netscape were horrible. Notice how the divs still look like they are lined up one on top of the other? This is because interpretation Netscape 4.7x of "hide" this is simply don't display it...but still act like it is there...way lame. The W3C interpretation of "hide" is hide it...make it gone, bye bye, no more...etc. So, use this if you want, but you are better off just telling people to upgrade to a usable browser...that is really becoming an accepted thing to do..unless you are in a specific situation and that just isn't an option in which case...just make multiple pages or switch to a CGI templating method.


Attachments
65539-divfun.html (114 downloads)

_________________________
We need a bigger boat.

Top
#62661 - 13/02/2002 18:36 Re: Another web authoring question... [Re: redbutt2]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12345
Loc: Sterling, VA
Sorry to bring this thread back, but I thought I'd raise an issue with the code. The code won't work if the page is loaded into a frame. There are frame-breakout codes, aren't there? Do you have one that you'd reccomend?

So yeah, you can use that, but I thought I'd make you guys aware of it if you're using redbutt's fantastic code. (I really like it, thanks a million!)
_________________________
Matt

Top
#62662 - 10/03/2002 18:06 Re: Another web authoring question... [Re: Dignan]
redbutt2
member

Registered: 12/01/2002
Posts: 141
Loc: San Diego, CA
It should work in a frame with no issues. What is the problem that you are having? AS far as frame breakout scripts...one line will do ya...

if (window != top) top.location.href = location.href;
_________________________
We need a bigger boat.

Top
#62663 - 10/03/2002 20:29 Re: Another web authoring question... [Re: redbutt2]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12345
Loc: Sterling, VA
It's just that every time I open the page in a frame it displays all the DIVs at once. It's not too much of a concern to me, but if someone links in in a frame of their own, I don't want it to screw up.

At first I thought it was just my computer, but it happened in other places I've tried it.

Also, how do I use that code you wrote there? Sorry, I don't know too much about scripts.
_________________________
Matt

Top
Page 2 of 2 < 1 2