![]() Topic awaiting preservation: Drop down menus of a sort (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Scientist From: 8675309 |
![]() Ok. My first post in this here room. It's warm in here. Well I'll get on with it already. I have some code that does exactly what I want. Problem is that it doesn't work in Netscape. That's what I need help with. I am a newbie and I didn't write this code, so if you can help me, please explain as clearly as possible. Thanks guys! |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() Jeni: My first thought is that the over and out functions aren't really required as they just simulate an a:hover style and, at least as far as I'm concerned, it really is a bit of overkill. Just make the text you click on links. Now I have a script here somewhere which should do what you want - I just have to find it. In the meantime someone will jump in with a working solution while I'm digging it out. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Annoyingly, getting this to work in NN will require almost an entire rewrite of the source... unless you're willing to settle for the invisible parts still taking up space even when they're not visible in NN; but even that would require a *slight* rewrite of one of the functions. |
Paranoid (IV) Mad Scientist From: 8675309 |
![]() Yeah rewrite is fine. Just um. I don't know how to write JavaScript. And no, I don't want the invisible stuff to take up space when they're invisible. You're right there |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() No luck yet but have a look at: |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() Ini: A scholar and a gentleman!! |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() As said above, "display" CSS property doesn't work in Shitscape 4. So, the script that will work in NN4 should either dynamically rewrite layers (and add appropriate code as needed), or use visibility & positioning to recreate the same effect. More information about all this and about visibility & positioning workaround can be found on this page: http://www.xs4all.nl/~ppk/js/index.html (go to "DHTML-Practice/Navigation:block" and "Archives/Old Display script")... |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() mr.maX: That is a good resource (I keep finding new things of interest there every time I return), if anyone is interested the direct link is: |
Paranoid (IV) Mad Scientist From: 8675309 |
![]() Thanks so much all of you. I've bookmarked all those links and will go and read them shortly. I really appreciate the help. And thanks for being gentle with me |
Paranoid (IV) Mad Scientist From: 8675309 |
![]() *bump* |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Mad Scientist From: 8675309 |
![]() I think you did. I want the other elements of the page to flow after the invisible element is shown. I don't want a big empty space there while it is hidden.... |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() This can be done in NN, if you're ok with absolute positioning. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() Jeni, as I've said in my post from above, you can find a script that will work in NN4 here: http://www.xs4all.nl/~ppk/js/index.html?/~ppk/js/olddisplay.html |
Paranoid (IV) Mad Scientist From: 8675309 |
![]() I'm sorry Max. I did read what you wrote. And I read all the links, and I just can't comprehend what's going on with that one and the blocks. And maybe I misunderstood it, but I did copy and paste the finished script and it wasn't working right for me...I'm sure I did something wrong...It doesn't show the new html to use...so I just left what I had and I know that's probably not right....I'm sorry if I'm annoying you. This is just a little over my head. |
Paranoid (IV) Mad Scientist From: 8675309 |
![]() Slime-absolute positioning would mean empty space while the layer is hidden right? |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() I think you misunderstood me, i meant putting the *entire* thing inside one absolutely positioned layer. But maybe InI is onto something with the relative positioning. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() Jeni, when you go to http://www.xs4all.nl/~ppk/js/index.html?/~ppk/js/olddisplay.html you'll see a few blue captions / sections. Click on those entitled "Netscape 4 - the problems", "Netscape 4 - the preparations", "Netscape 4 - the script" & "The complete script". Appropriate sections will be opened and you should read all of them... |
Paranoid (IV) Mad Scientist From: 8675309 |
![]() Max I read that link. I don't understand what blocks are or why I need to set dimensions for them. Could you please explain it to me? Thanks. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Mad Scientist From: 8675309 |
![]() I shall wait then. Thank you. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Mad Scientist From: 8675309 |
![]() Sweet ini. I really appreciate your hard work. The only thing that concerns me is the liquidity of the type. If I drag the window to be narrower then the line of type, it flows to the next line, but it overlays the next "header". |