Closed Thread Icon

Topic awaiting preservation: Drop down menus of a sort (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=7915" title="Pages that link to Topic awaiting preservation: Drop down menus of a sort (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Drop down menus of a sort <span class="small">(Page 1 of 1)</span>\

 
Jeni
Paranoid (IV) Mad Scientist

From: 8675309
Insane since: Jul 2000

posted posted 11-06-2001 21:08

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!

This is the page. Just click on any of the text to see it in action.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-06-2001 21:19

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.

Emps


You're my wife now Dave

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 11-06-2001 21:28

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.

Jeni
Paranoid (IV) Mad Scientist

From: 8675309
Insane since: Jul 2000

posted posted 11-06-2001 21:36

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

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-06-2001 21:37

No luck yet but have a look at:
[URL=http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dynstyle/styles.asp]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dynstyle/styles.asp[/ URL]

You'll need to use visibility rather than display for NS4.x (as Slime was alluding to) - see the 2 examples in 'Powerful Attributes'.

Emps

[probably worth saying that the above isn't a ready made solution but it does outline a simpler way of going about this, pos.]


You're my wife now Dave

[This message has been edited by Emperor (edited 11-06-2001).]

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 11-06-2001 23:14

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-06-2001 23:22

Ini: A scholar and a gentleman!!

NS4.x not supporting display will leave you with problems as visibility leaves you with blank space. I'll leave it to the experts from now on but if it is really required then you could implement something with layers for NS4.x - nice explanantions here:
www.htmlgoodies.com/beyond/toggle.html
www.htmlgoodies.com/beyond/toggle2.html

Emps


You're my wife now Dave

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 11-07-2001 00:33

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")...


Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-07-2001 03:04

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:
www.xs4all.nl/~ppk/js/index.html?/~ppk/js/display.html

I also stumbled across this at Glish:
www.mako4css.com/Issues.htm

Although I'm not sure how to pronounce CSShark (I'm going for CSS Hark - ignoring the shark bit) it does cover the basic CSS problems with NS4.x which is handy.

Emps


You're my wife now Dave

Jeni
Paranoid (IV) Mad Scientist

From: 8675309
Insane since: Jul 2000

posted posted 11-07-2001 13:53

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 . I recently went from my duties as a graphic designer (working in print) to webmaster/graphic designer....Trying to juggle both and learn all this new stuff at the same time has been a challenge, so I really do appreciate the help.



[This message has been edited by Jeni (edited 11-07-2001).]

Jeni
Paranoid (IV) Mad Scientist

From: 8675309
Insane since: Jul 2000

posted posted 11-07-2001 18:33

*bump*
Okay I've read it all now and I must say I thought I was understanding the general gist until it came to the stuff about blocks. My mind doesn't seem to want to understand this or how it could work for what I need...I did use the code from the other link provided and that can be seen here. It works in NN6, just not 4 now. From what I'm reading (at least how I'm understanding it), I can't do what I want to do in NN4. Is that correct?

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 11-07-2001 18:41

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Jeni
Paranoid (IV) Mad Scientist

From: 8675309
Insane since: Jul 2000

posted posted 11-07-2001 19:03

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....

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 11-07-2001 19:04

This can be done in NN, if you're ok with absolute positioning.

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 11-07-2001 20:59

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


Jeni
Paranoid (IV) Mad Scientist

From: 8675309
Insane since: Jul 2000

posted posted 11-07-2001 21:28

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.

[This message has been edited by Jeni (edited 11-07-2001).]

Jeni
Paranoid (IV) Mad Scientist

From: 8675309
Insane since: Jul 2000

posted posted 11-07-2001 21:30

Slime-absolute positioning would mean empty space while the layer is hidden right?

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 11-07-2001 22:39

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 11-08-2001 00:52

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.

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 11-08-2001 01:48

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...


Jeni
Paranoid (IV) Mad Scientist

From: 8675309
Insane since: Jul 2000

posted posted 11-08-2001 17:49

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.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 11-08-2001 18:51

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Jeni
Paranoid (IV) Mad Scientist

From: 8675309
Insane since: Jul 2000

posted posted 11-08-2001 19:11

I shall wait then. Thank you.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 11-08-2001 20:27

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Jeni
Paranoid (IV) Mad Scientist

From: 8675309
Insane since: Jul 2000

posted posted 11-08-2001 20:40

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".

« BackwardsOnwards »

Show Forum Drop Down Menu