To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 2653
2652  |  2654
Subject: 
Re: Newer version of "lego geek code"
Newsgroups: 
lugnet.off-topic.geek
Date: 
Tue, 9 Jan 2001 20:16:20 GMT
Viewed: 
688 times
  
In lugnet.faq, David Eaton writes:
Actually, javascript compatibility nightmares scared me off for the moment
(modifying SELECT lists on the fly in javascript didn't appear to be
compatible in Netscape 4.05 [or maybe not? FUT .geek if you know better or
can inform me how]). As soon as I either figure out how to do it right or
come up with a nice, clean method (rating all those subthemes, etc. in a
straight form would be way too long), I'll finish it up.

Woohoo! I figured it out... Of course it requires me to dynamically
re-format the javascript code depending on what browser you're using (and
it'll ONLY work for MSIE and NN). But, it works. I think. I've tested it on
Netscape 4.05, and MSIE 5.0... I assume it'll work with higher versions of
Netscape, shame on me, but I don't really know for certain where it will and
won't work. According to the Dynamic HTML book (O'Reilly of course), it'll
work for MSIE 4 and Netscape 4 (their respective form versions)... I don't
know about lower... If you wanna test out the test forms:

For MSIE:
http://www.suave.net/~dave/test_dynamic_lists_msie.html
For Netscape:
http://www.suave.net/~dave/test_dynamic_lists_ns.html

Basically all they do is modify the option list for the subtheme select list
based on whatever is selected in the theme select list, and triggered by
onchange.

Anyway, maybe sometime this week I'll put this into the lego geek code
generator (well... that is, I'll WRITE it) and it'll actually be somewhat
useful... maybe... we'll see :)

currently:
Overview of Lego geek code: http://www.suave.net/~dave/lgc.cgi
Lego geek code interpreter: http://www.suave.net/~dave/lgc.cgi?func=translate

DaveE



Message has 1 Reply:
  Re: Newer version of "lego geek code"
 
(...) had never bothered to test MSIE with Netscapes's version-- it works. So never mind. I'll just use the Netscape version since it works in both. Unless, that is, someone informs me that the Netscape version doesn't work with earlier versions of (...) (24 years ago, 9-Jan-01, to lugnet.off-topic.geek)

Message is in Reply To:
  Newer version of "lego geek code"
 
(...) Ok, now I've got two strikes against me. I went ahead and made my own new-ish version of the LGC WITHOUT talking to Derek (et all?) first. Strike one. Strike two is that I made an INTERPRETER and a DESCRIPTION of my new version of the LGC, but (...) (24 years ago, 13-Dec-00, to lugnet.faq, lugnet.general)

10 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR