Topic awaiting preservation: Changing <div> contents. (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 11-06-2001 17:55
So as you may have noticed I am new to the dHTML thing, but I need to suck up to the main web designer here at the University, and he needs help with a thing. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 11-06-2001 19:34
document.all[changeMe].innerHTML = "New text biatch" |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 11-06-2001 21:22
Thanks for the help. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 11-06-2001 21:25
Oops, hah, yeah. I made the same mistake you did. =) |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 11-06-2001 21:38
Not having any luck in NN, check it out: |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 11-06-2001 21:39
hah, it's not letting me edit because it said I was tring to hack the topic subject. |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 11-06-2001 21:57
I did a little research, and it would seem absolute CSS positioning is necessary for NS 4 to work. Is there no way around this? Or can it be absolutely positioned relatively so it stays where it is defined on the page? |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 11-07-2001 15:39
I take it the silence means no? |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 11-07-2001 16:01
jiblet: At times like these I suspect it might be handy if you told us what you are planning on doing with this - it may be that there is an easier way of doing what you want (or not). |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 11-07-2001 16:23
Oops, sorry, I sort of glazed over this message a few times. Yeah, you're right, in NN it has to be absolutely positioned for it to be considered a layer. Sorry about that. You might try position:relative; left:0; top:0; and see if *that* works; then it would at least be in the place you expected it to be. I'm not sure if that'll work though, but give it a try. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 11-07-2001 16:46
I've not yet tried it yet in NS4.x but I am fiddling with something that has an absolutely positioned DIV inside a relatively positioned one. Well while I'm talking about it I may as well check - no that example works in IE5 but not NS4.x although it might work in a simpler example so I'd try a quick test to see. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 11-07-2001 17:11
The poster has demanded we remove all his contributions, less he takes legal action. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 11-07-2001 18:01
No, InI, you *don't* want to say "layers" there. It *might* work with it, but I've never used it, personally. I vaguely remember trying it and having it fail. You just want |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 11-07-2001 18:09
Well actually I had already tried that and it failed. |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 11-07-2001 18:15
Oh, and Emp, what I am trying to do is create a simple way to display a random message. The tricky part is that it is not my page, I am just trying to help the lead web designer here at the University of Minnesota. You can see the page at http://www1.umn.edu/campuslife/indexf.html |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 11-07-2001 19:12
jiblet: Displaying a random message (you mean like a quote, for example?) shouldn't be a problem if I understand you correctly although I'm not sure how it directly relates to the example you gave (apart from the dynamic writing bit). WarMage's random logo script: |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 11-07-2001 22:28
The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 11-07-2001 22:31
The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 11-07-2001 22:36
The poster has demanded we remove all his contributions, less he takes legal action. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 11-08-2001 03:25
Yeah, I got the same thing when trying to edit your post, InI. You know what it probably is? Look at thie subject of this page; it contains "<div>". Those angle brackets *shouldn't* be allowed in a subject line; it's a UBB bug, I believe. Note that the top of the replying page says "Topic: Changing <" and cuts it off there. It's just a UBB bug, and just in this thread. |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 11-08-2001 15:58
Oopz, I guess I forgot to submit my response to Emperor yesterday. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 11-08-2001 17:56
jiblet: OK I see. I'm wondering if the solution I proposed in the other thread would also work here: |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 11-08-2001 18:39
The poster has demanded we remove all his contributions, less he takes legal action. |