I really need to get together some way of running IE so I can test for that sort of silliness. I think I'll buy a cheap copy of XP through my school and run it in Virtual PC (we get that free at IU).
Glad I was able to help .
Posts: 15770 | Registered: Dec 2001
| IP: Logged |
posted
Yeah... I've been cross browser coding for nearly 8 years and you never know when an oddity will pop up with CSS or Javascript. IE holds a special place for me. Everytime they release a new version I spend a week trying to figure out the least amount of javascript I need to write to cause it to crash. In IE 5 you could do it with one line of code dealing with the options of a select tag.
whoops.. notice a few of you just got the "Deer in the headlights look"...
Posts: 80 | Registered: Nov 2005
| IP: Logged |
One of the hardest things in this project has been making the website work for both IE and Mozilla. I'm a Mozilla/Firefox devotee, and only use IE when I have a microsoft app to use (OWA, for example). I forget that people still use IE. So I built the website using Firefox at my browser and didn't think twice about IE.
Imagine my chagrin when I saw it for the first time in IE, and everything was bigger than it was supposed to be, mashed together, and generally very, very ugly.
Posts: 14554 | Registered: Dec 1999
| IP: Logged |
quote: whoops.. notice a few of you just got the "Deer in the headlights look"...
Or not. You'd be surprised by how many people here are coders. *grin*
Scott: that's why I, as a web designer, force myself to use IE as my primary browser. Because I have to design things for IE, simply as a consequence of its user base, and can't afford to forget. I'd actually prefer to use Firefox most of the time, but can't allow myself the luxury.
That said, I've got the IE7 beta on my desktop right now and am really, really hopeful about it.
Posts: 37449 | Registered: May 1999
| IP: Logged |
quote:Originally posted by TomDavidson: [QUOTE] that's why I, as a web designer, force myself to use IE as my primary browser. Because I have to design things for IE, simply as a consequence of its user base, and can't afford to forget.
Well I sold my soul to MS long ago... I'm WISE(Windows, IIS, SQL, Explorer) coder, mostly converting custom applications to web-based applications. I've done a little LAMP(Linux, Apache, MySQL, PHP), but not recently.
In 1998 Microsoft rolled out IE4 which was the first IE to have a robust javascript engine. MS teamed up with Windows Magazine and Wrox publishing to have a DHTML contest. I placed 3rd.
I do have a personal website that is completely a CSS based and ASP/Access driven blog.
Posts: 80 | Registered: Nov 2005
| IP: Logged |
posted
Funny. I sold my soul to Apple. I haven't used IE in.... has it been a year yet? I think I only have to launch Word once a month, maybe twice. I can count the number of hours I've used Windows over the past 5 years on one hand. I am not kidding. I have no idea how to use the OS. I would do better off with Linux.
We should get together and have tea.
Oh, Scott, your webpage looks fine in Safari as well.
Posts: 1209 | Registered: Dec 2003
| IP: Logged |
posted
Hahaha! I first started on an Atari 400, then 800, then Apple ][ at school, then Commodore 64! I actually wrote a game where 2 arrow things (spaceships) flew towards each other. One was trying to crash into the other, which was trying not to be crashed into. My little brother lasted about 10 seconds before he told me it was stupid and wouldn't play it.
I remember my oldest brother talking about this thing called C and how it was so much better than BASIC but it required semi colons at the end of every line and made no sense to me...
Then this thing called IBM compatibles started coming out and nobody could figure out why anyone bought them because it didn't come with joystick ports! Oh the bickering was bad.
Then I quit using computers for about a decade too!
How things changed... Ironically, I started using Windows more than Mac as it was what everyone used. But I majored in music and all they had were Macs, so that is what I spent my time on. And then I got a student job handing out CD's to music students and used a Mac for the CD catalog (FileMaker), and it wasn't managed very strictly, so naturally I had to figure out how to change all the system graphics (for example I put a worm in the apple in the AppleMenu and changed the About this Computer graphic to say "Moc OS" (as in mockery... hehehe)). And I started fixing their CD catalog which was a mess, and then I got hired to do more FileMaker database stuff... It has been nothing but downhill from there... what happened to my music degree? Posts: 1209 | Registered: Dec 2003
| IP: Logged |
posted
Updated the website a little bit-- removed the poem on the first page, so it goes right to the vital information; also changed the Blog page menu to (sort of) match the rest of the site.
And I even updated my blog with a rant on Ikea and the place of cheap furniture in marriage.
posted
I like the blog on Ikea, and I agree. I always end up reinforcing my cheap-mass-produced furniture with L brackets aplenty.
I should also mention that I got a lot of helpful hints for my website from this thread, although I ended up scrapping my homemade index page and creating my own wordpress template. So now I can use wordpress for my CM.
posted
Hah. I love that Ikea story, Scott. My girlfriend is in love with Ikea, and doesn't understand why I groan when she says we need to go there for the 4th time in two weeks.
posted
Could be, although it could also be that having two columns in the bottom part of the box with the welcome message means the text won't wrap(is that the right word -- I mean automatically line break to fit the screen) into short enough lines.
Posts: 9866 | Registered: Apr 2002
| IP: Logged |
posted
The only furniture kits I will buy these days (and let's be honest, Ikea doesn't sell furniture, they sell furniture kits) is from Sauder or O'Sullivan. Their wood is strong, their hardware is excellent, and their instructions and wonderful. And the finished product is both nice-looking and sturdy.
Posts: 32919 | Registered: Mar 2003
| IP: Logged |
posted
We do like Ikea-- as I explain in the blog, through the magical use of hyperbole, I don't like it as much as my wife does.
We do like being able to feed 3/4s of the children a good meal for < $8 total, which is possible at our Ikea, with its nifty cafeteria.
And I like a lot of the demo set ups. We like to browse for ideas, and pick up some space saving stuff for closets and kitchen cabinets, and sometimes M. will look for fabric to make slip covers or curtains for the kids' rooms from. We've purchased some shelving from Ikea for use in the toy room, and it's worked out okay.
Posts: 14554 | Registered: Dec 1999
| IP: Logged |
posted
The last furniture we bought was a small filing cabinet from O'Sullivan. We got a great price on it at BigLots. I'm very impressed with how sturdy it is, as opposed to all the junky assemble-it-yourself stuff that we have.
Posts: 9945 | Registered: Sep 2002
| IP: Logged |
posted
I'm redesigning the website-- Tom's comment that it was too dark or something back on page 1 of this thread has been working its way through my subconscious.
I've hit on a theme of sorts... but I'm having some problems with embedding links inside images.
Of course, this only happens with IE. With Firefox, it looks fine. The following lines are supposed to make the default blue square around links inside images match the color of the surrounding area:
Like I said, with Firefox I get nice, clean results-- the link buttons blend in nicely with the rest of the menu's color. With IE, I get ugly bright blue squares around the links.
I'm glad you like it. Obviously, it's unfinished, but I hope to put a little more polish on this version than the last one.
Posts: 14554 | Registered: Dec 1999
| IP: Logged |
posted
I guess I should have said, "I like the way you're going with it."
Even though it's obviously not done, I think using more colors and more than line-graphics will ultimately make it richer. ("Richer" in the more visually interesting sense. Whether it will be more effective in the "rich and famous author" sense, I have no idea.)
Posts: 9866 | Registered: Apr 2002
| IP: Logged |
I tried using the border-style: none, but it didn't work...
Not sure what's going on there, but for now I'll use the border=0 solution...
(BTW, these changes aren't being put into effect on the page linked above; I'll update that page when I'm finished composing the whole dealy-o.)
Posts: 14554 | Registered: Dec 1999
| IP: Logged |
posted
I like the direction you're heading in much more than your current page. Which I also like, btw.
Posts: 5462 | Registered: Apr 2005
| IP: Logged |
The one place I haven't imported the new look to is my Blog. I'm having trouble figuring out the php...
Posts: 14554 | Registered: Dec 1999
| IP: Logged |
posted
You shouldn't need to touch the php; aren't you using a stylesheet for your blog?
edit: I see you're using wordpress; you can go into the style sheet in the wp dashboard and rearrange stuff until it matches the rest of the site, or at least looks close.
There's a good walkthru that I used for building your own theme -- let me see if I can find it. You might find it useful.
Posts: 5462 | Registered: Apr 2005
| IP: Logged |
posted
JT: Yeah, that's what I'm having problems with... building my own theme so the blog mostly matches with the rest of the site...
Posts: 14554 | Registered: Dec 1999
| IP: Logged |
It did a great job of walking me through the process. The guy basically deconstructs the Kubrick theme and rebuilds it. All I did was change fonts, backgrounds, and lineweights to get my theme, basically.
If you have any questions, I actually had to do it more than once because I broke my code, so I can probably help.
Posts: 5462 | Registered: Apr 2005
| IP: Logged |
posted
JT-- that looks really helpful. I'm a bit sick at the moment, so I can't go through all of it, but I'll definitely be going through this...
Posts: 14554 | Registered: Dec 1999
| IP: Logged |
posted
I am working with fugu/historian's Poem code on a project-- the basic idea is to ask a question, provide a set of answers, and a response to indicate whether the answer was correct or not.
<span name="answer" id="answer1" class="visible"><!-- this will be the answer visible when the person goes to the page; this should be the first answer in the dropdown, as the dropdown only activates onchange, meaning if the person tries to select the first answer right off it won't work --> <p>The first answer!</p> </span>
<span name="answer" id="answer2" class="invisible"> <p>The second answer!</p> </span>
What I'm finding is that I can't put more than one dropdown list on the same page. If I do, NEITHER of the lists' answers show up in the designated span area.
Any ideas why this is occurring?
Posts: 14554 | Registered: Dec 1999
| IP: Logged |
posted
Changing the second sections form name, select name, and answer ID allows the display to work for the second section, but makes the first section's display invisible...
Posts: 14554 | Registered: Dec 1999
| IP: Logged |
posted
You'll need to change the onChange event on each form field, too, to reflect the correct form field name. Notice that it currently passes this value back to the showanswer() function:
If you've changed the name of the second dropdown list to, say, "answerChooser2" and haven't changed the above line to say "answerChooser2," you'll actually be passing the value of the first dropdown to this function.
I'm not much of a Javascript guy, but I think you could use this.options instead. It'd save you from having to "fix" each field manually.
Also note that, as written, EACH answer has to have a unique answer ID, not just within the question but on the page. If you have 10 questions with 5 answers each, you're going to need answerIDs from 1 to 50.
Posts: 37449 | Registered: May 1999
| IP: Logged |
posted
Right, and that's what I did; it still makes the first section's response invisible.
I inserted a second showanswer script, renamed it, and it still makes the first option invisible when I choose an item from the second dropdown list...
posted
That's due to the way you're currently collecting the names of the spans. You create a collection called "answers" and iterate through it. It then sets all the "answer" spans invisible, and sets only the span tag with the ID sent to the function visible.
So every time you select something, ALL the spans will vanish, and then the one you selected will appear.
If you want correct answers from other questions to remain visible at all times, you're probably going to want to use a different way of toggling visibility on a span or DIV. If you want ALL answers to stay visible once selected, just remove the line that sets them invisible and manually set the display CSS attribute of each span to "none" in the document itself. That way, this code will make them visible once selected.
If you want only answers within a given question to toggle visibility on and off, you're going to have to substantially modify that function.
------
BTW, be aware that the answers will all show in the source code. Is that acceptable?
posted
BTW, if you were going to substantially modify the function so as to enable the display of only the most recently selected answer per question, the easiest way to do that would be to use a naming convention for your answers and questions like so:
Q1 (dropdown), Q1A1, Q1A2, Q1A3, Q2 (dropdown), Q2A1, Q2A2, etc.
What you could then do is add to the showAnswer() function an IF statement that only applies invisibility if the current span has a name which starts with a string equivalent to the name of the firing dropdown list. You still wind up iterating through all the spans in the document (which isn't the most efficient way to do this), but it'd be a quick and dirty fix.
Posts: 37449 | Registered: May 1999
| IP: Logged |
posted
Oh, one more thing: you won't need more than one function. I just looked at your example (to my shame; I should have done that first), and you're duplicating more than you need to be. I'll try to quickly work something up from my bed. (I'm home sick today.)
Basically, it looks like there's more functionality built into the function than I at first supposed, thanks to separate use of the "name" and "id" attributes on the span tags.
Posts: 37449 | Registered: May 1999
| IP: Logged |
posted
Grr. My host appears to be down temporarily, which is annoying mainly because I have functional code to give you. Posts: 37449 | Registered: May 1999
| IP: Logged |