![]() Preserved Topic: auto scrolling menus (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: PA |
![]() 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. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() 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 |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() Hmmm.... me thinks a Gurus Network tute is in order. |
Nervous Wreck (II) Inmate From: Binghamton, NY, USA |
![]() 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. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Obsessive-Compulsive (I) Inmate From: |
![]()
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() lol (really) |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Nervous Wreck (II) Inmate From: Binghamton, NY, USA |
![]() Sorry guys, relief for lunch was standing here and...hell. I'm guilty. Spank me. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() I'll pass |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
![]() Spank you? that means that i have to hit your butt with my hand? |
Neurotic (0) Inmate Newly admitted |
![]() Ok the proper term is "static" I guess, but you can find the "tuts" (sorry max) at the following links. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() 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)... |
Neurotic (0) Inmate Newly admitted |
![]() 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 |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() Simply add the following code at the top of function that updates position: |
Neurotic (0) Inmate Newly admitted |
![]() thanks max that solved some of my headaches. |