Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-27-2008, 05:55 PM   PM User | #1
lyonsj
New to the CF scene

 
Join Date: Sep 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
lyonsj is an unknown quantity at this point
effect.move, scriptaculous, making trigger vanish

As much as i hate to post pleading for help without having first given assistance to someone, i simply had to ask...

i've seen this done elsewhere but usually within a complete image gallery script that i've been unable to rip the logic out of, and i'm also a total noob. so, have a div within a div that i want to scroll sideways with triggers for left and right scroll relative that live in the parent, what i want to happen is for the triggers to disappear when the div has scrolled as far as it can in a given direction, so there are three states it can be in:

div far right, arrow facing right to move div to the left

inbetween, arrows facing both ways to scroll the div left or right

div far left, arrow on left to move div to right

does that make sense? i've seen it done in flash here also:
www.designbridge.com (straight after the intro) which is exactly the behaviour i'm after.

i can kind of pseudo code the logic (could write it in python, noob at that too though). i just want to hide the triggers for scrolling when the moved div is at 0 relative and the max width value for scrolling. from what i know already this would seem to me to be doable with a little script that checks some data from the div when it is loaded and hides shows the relevant triggers based on that data (having said that i could be totally wrong about that)

as all the other noobs here, i'd be really grateful for any help or pointers given. i'm using scriptaculous 1.8.1 and prototype 1.6.0.1.

regards,


james
lyonsj is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:22 PM.


Advertisement
Log in to turn off these ads.