Closed Thread Icon

Preserved Topic: auto scrolling menus (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18163" title="Pages that link to Preserved Topic: auto scrolling menus (Page 1 of 1)" rel="nofollow" >Preserved Topic: auto scrolling menus <span class="small">(Page 1 of 1)</span>\

 
~Sir_KiTree~
Bipolar (III) Inmate

From: PA
Insane since: Jul 2001

posted posted 07-24-2001 21:47

anyone know where i can find a tut on these? i've looked over the source code in a few places, http://path.salvagion.com for example, and just find it too complicated for my pea sized brain. hopefully i'll be good enough at JS to learn it soon.

Tx,

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 07-24-2001 22:08

I don't know of a tute but if it's cool with DG I can show you how to tweak that code for your use

(hmm... it looks a bit like Doc's handiwork but I could be wrong)



:[ Computers let you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila. ]:

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 07-24-2001 23:08

Hmmm.... me thinks a Gurus Network tute is in order.

I nominate bitdamaged!

Amaruuk
Nervous Wreck (II) Inmate

From: Binghamton, NY, USA
Insane since: Jul 2001

posted posted 08-01-2001 17:40

Oohh, I love that menu. Please, if anyone has a tut on that, I would love you forever. Well....ok maybe not forever. But a damned long time.
*grins innocently*

Amaruuk

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 08-01-2001 18:08

Ahhh, I hate the word "tut", heh...

King Tut
Obsessive-Compulsive (I) Inmate

From:
Insane since: Aug 2001

posted posted 08-01-2001 18:12


ahem

[This message has been edited by King Tut (edited 08-01-2001).]

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 08-01-2001 18:16

lol (really)

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 08-01-2001 18:22

I still hate the word "tut", heh...

Amaruuk
Nervous Wreck (II) Inmate

From: Binghamton, NY, USA
Insane since: Jul 2001

posted posted 08-01-2001 19:19

Sorry guys, relief for lunch was standing here and...hell. I'm guilty. Spank me.

Amaruuk

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 08-01-2001 19:32

I'll pass

Wakkos
Maniac (V) Mad Scientist

From: Azylum's Secret Lab
Insane since: Oct 2000

posted posted 08-01-2001 20:53

Spank you? that means that i have to hit your butt with my hand?
NO WAY!!


.-rotate script by Mr.Max

Dark
Neurotic (0) Inmate
Newly admitted
posted posted 08-01-2001 21:27

Ok the proper term is "static" I guess, but you can find the "tuts" (sorry max) at the following links.

This one is kinda wierd..it basicly uses one large image as your menu and uses a image map to navigate... but you can design your own links on the menu.
Static Scrolling menu
This tut is for a menu that stays sorta at the top and allows stay at the top while you scoll down..I recommend this one, i used it and it worked.
Top Static Scrolling menu






[This message has been edited by Dark (edited 08-01-2001).]

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 08-02-2001 08:52

IMHO The word "tut" sounds very amateurish. And now that I mentioned word amateurish, most "static menu" scripts are overlooking one thing and that is that function for updating position shouldn't be called when menu position doesn't need to be updated. So, if you set updating interval to very small value, you'll eventually kill the CPU (especially if you need to move many layers, like one other menu script from Dynamic Drive does)...

Dark
Neurotic (0) Inmate
Newly admitted
posted posted 08-02-2001 12:30

I agree with you max, but is what is your solution to that problem? or is there one? I had that exact same problem while using these with with large layers. Maybe a little max tweaking is needed here





[This message has been edited by Dark (edited 08-02-2001).]

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 08-02-2001 19:14

Simply add the following code at the top of function that updates position:

if (oldPosition == newPosition) {
&nbsp;&nbsp;&nbsp;&nbsp;// <-- put setTimeout code from the end of function here --> //
&nbsp;&nbsp;&nbsp;&nbsp;return;
}

Replace "oldPosition" & "newPosition" with appropriate code that will find current position and the new position (this depends from one script to another, so I can't write it without first seeing the script)...

Dark
Neurotic (0) Inmate
Newly admitted
posted posted 08-02-2001 20:25

thanks max that solved some of my headaches.



[This message has been edited by Dark (edited 08-02-2001).]

« BackwardsOnwards »

Show Forum Drop Down Menu