It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

page keeps returning to the top

Postby rangana on Fri Oct 24, 2008 4:58 am

I mean the link on how you implemented the gentle anchors, and not the gentle anchors script.
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 5:14 am
Location: Cebu City Philippines

ftr way

Postby qen on Fri Oct 24, 2008 5:08 am

Sorry, I'll have to give you and rtf file, it wont let me post that much code.

http://lovelago.googlepages.com/button_code.rtf
qen
 
Posts: 28
Joined: Wed Oct 22, 2008 7:10 pm

Postby rangana on Fri Oct 24, 2008 5:22 am

...and I don't feel any "gentleness".
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 5:14 am
Location: Cebu City Philippines

Postby qen on Fri Oct 24, 2008 5:37 am

If you try demo out here you'll see that the buttons are really nice, try "dropOut":

http://www.hotajax.org/jquery/photos--o ... rails.html


That's the effect I would like but I found all that came with it.. the .js and css too much to digest so I found this green version from the same guys, its just a proof of concept for now.

http://docs.jquery.com/UI/Effects/Slide#source

Thanks.
qen
 
Posts: 28
Joined: Wed Oct 22, 2008 7:10 pm

Postby rangana on Fri Oct 24, 2008 6:33 am

Yes, I saw that effect.

What I'm confused is what you mean by "gentle anchors".

Secondly, I'm confused on your how my suggestion works (partially), but not meeting your desire.

Could you work on a page where my suggestion were adapted.

...and on the other hand, another page in which the "effect" is missing base on the page where my suggestion was applied.

Hope that makes sense.
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 5:14 am
Location: Cebu City Philippines

Postby qen on Fri Oct 24, 2008 6:54 am

Of course, sorry bout that I forgot to upload your amendments, here page test8a has the code to make sure the animation stays at the bottom (I'm happy with this):


PAGE: http://lovelago.googlepages.com/test8a.html

---------------------------------

Next here is the page with the "location.href=location.href+'#nav-descrip';" added to make the green button scroll down the page. I'm not "happy" with this :), I would like it to scroll like when clicking the "Description" button does, your code does not look at the stuff that makes this happen, I think:

</script>

<h1 class="title">Gentle Anchors</h1>
<ol id="linklist">
<a href="#nav-descrip">Description</a>
</ol>


You notice that as a result of it jumping the green animation is still running. With the nice finished ones sped up I can get away with that, they hopefully will just dissolve. You can also see how the jump of the green button compares to the scroll fo the description button.

PAGE: http://lovelago.googlepages.com/test8b.html

-----------------------------

"gentle anchors" is the name of the .js script that the Description link refers to to allow it to scroll down the page, where as the code you gave me jumps.

http://lovelago.googlepages.com/gentle_anchors_1.1.js

Thanks again, I hope this help.
qen
 
Posts: 28
Joined: Wed Oct 22, 2008 7:10 pm

Postby rangana on Fri Oct 24, 2008 7:03 am

Okay, it's this page where it's working like the description text and animates fine:
http://lovelago.googlepages.com/test8b.html

So, what is missing in that? It scrolls down at my end exactly the same as how the "description" text takes us to the desired anchor.
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 5:14 am
Location: Cebu City Philippines

Postby qen on Fri Oct 24, 2008 7:19 am

I've got Safari v3.1.2 (5525.20.1) and it just jumps for me, sure I'm running FFv2 but Safari shouldn't be doing it too. I'm on OS X Leopard.

So, just to be clear, the Green button scrolls nicely just like pressing the description button? Not at my end with my stuff.

FF: 2.0.0.14

Thanks.
qen
 
Posts: 28
Joined: Wed Oct 22, 2008 7:10 pm

Postby qen on Fri Oct 24, 2008 7:23 am

Okay, well how difficult is it going to be to get those nice buttons to replace the green one?
qen
 
Posts: 28
Joined: Wed Oct 22, 2008 7:10 pm

Postby rangana on Fri Oct 24, 2008 8:27 am

No neither of the two: pressing the green button/pressing the "description" text.

Neither gives me a "smooth scrolling" as you've mentioned.

If you intend a smooth scrolling effect, look unto SoftScroll.

qen wrote:I've got Safari v3.1.2 (5525.20.1) and it just jumps for me, sure I'm running FFv2 but Safari shouldn't be doing it too. I'm on OS X Leopard.

So, just to be clear, the Green button scrolls nicely just like pressing the description button? Not at my end with my stuff.

FF: 2.0.0.14

Thanks.
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 5:14 am
Location: Cebu City Philippines

PreviousNext

Who is online

Users browsing this forum: No registered users and 1 guest