Smooth scrolling for anchor linksThis link it pretty cool. It provides some javascript code so that when you click on an anchor link on a page, it smoothly scrolls down (or up) to the anchor. Seeing it in action, it's cooler than I thought it'd be.
|
Tip Details Add a Related Tip |
Rate as:
Positive
Negative
|
Smooth scrolling for anchor linksThis link it pretty cool. It provides some javascript code so that when you click on an anchor link on a page, it smoothly scrolls down (or up) to the anchor. Seeing it in action, it's cooler than I thought it'd be.
|
Comments on this Tip | Add a Comment |
Create a Mac-like dock on web pages
100% positive, 0 comments
– Tip added by Marcos84 on Jul 13, 2007 at 11:39 am
Link: www.safalra.com
great site with tips on designing to web standards
100% positive, 0 comments
– Tip added by rlansky on Mar 06, 2007 at 10:20 am
Link: alistapart.com
Use a javascript lightbox to display pictures
100% positive, 0 comments
– Tip added by an anonymous user on Nov 19, 2007 at 5:45 pm
Link: www.lokeshdhakar.com
Javascript: How to Create a Random Number
0% positive, 0 comments
– Tip added by Walkere on Feb 23, 2008 at 9:49 pm
Link: www.earn-web-cash.com
Migrating from dojo 0.4 to 1.0
no ratings, 0 comments
– Tip added by an anonymous user on Jan 08, 2008 at 12:44 pm
Styling browse buttons on file elements in forms
no ratings, 0 comments
– Tip added by an anonymous user on May 31, 2007 at 9:13 am
Link: www.quirksmode.org
Cool accordian menus in CSS/Javascript
0% positive, 0 comments
– Tip added by an anonymous user on May 30, 2007 at 9:19 pm
Link: www.mathertel.de
Scrolling HTML elements using the keyboard
100% positive, 1 comment
- last added 5 days, 21 hours ago
– Tip added by rlansky on Jun 22, 2007 at 9:34 am
All-in-one code reference for PHP, JavaScript, CSS, Ruby, Python/SQL, etc.
100% positive, 1 comment
- last added on May 08, 2007 at 4:46 pm
– Tip added by an anonymous user on May 08, 2007 at 4:15 pm
Link: www.gotAPI.com
Detecting if a variable exists in Javascript
100% positive, 0 comments
– Tip added by an anonymous user 2 days, 5 hours ago
compressing javascript
100% positive, 0 comments
– Tip added by an anonymous user on Jun 12, 2008 at 3:02 pm
Telling when an iframe is done loading
100% positive, 0 comments
– Tip added by an anonymous user on Apr 18, 2008 at 8:05 am
How to Create a Random Password in PHP
100% positive, 0 comments
– Tip added by Walkere on Feb 03, 2008 at 9:14 am
Link: www.earn-web-cash.com
CSS Text tricks
100% positive, 0 comments
– Tip added by an anonymous user on Jun 16, 2007 at 2:46 pm
Link: www.mandarindesign.com
Improving javascript page load timeCategories:
javascript
web 2.0
100% positive, 0 comments
– Tip added by Marcos84 on Jun 03, 2007 at 6:37 pm
Link: betterexplained.com
Find unused CSS in your style sheets
no ratings, 0 comments
– Tip added by an anonymous user on Jul 14, 2008 at 10:43 am
Link: services.immike.net
Don't use onChange events for checkboxes
no ratings, 0 comments
– Tip added by an anonymous user on Oct 01, 2007 at 4:01 pm
CSS Menu Navigation
no ratings, 0 comments
– Tip added by messy-me on Sep 05, 2007 at 6:09 am
Link: exploding-boy.com
Faster javascript page loads
no ratings, 0 comments
– Tip added by an anonymous user on Jul 18, 2007 at 7:53 pm
Link: tetlaw.id.au
Web 2.0 buttons
no ratings, 0 comments
– Tip added by an anonymous user on Jun 04, 2007 at 7:26 am
Link: www.hongkiat.com
|
Related Categories
blogs
business
cards
coding
color
color contrast
correspondence
CSS
design
errors
free
freeware
google
HTML
IE5.5
IE6
internet marketing
javascript
Mac
mobile
money transfers
network
online
photoshop
php
programming
project
reference
Ruby on Rails
safari
schedule
SEO
SMS
social
social media
Social Networking
timesheet
tips
traffic
Twitter
web
web 2.0
web design
web development
web hosting
website purpose
websites
windows
wireless
xml
|
One note on implementation of this... it assumes that you are anchoring to named <a> tags. This was not the case for us; we use arbitrary tags with IDs. We hacked the code to work in this manner, but it seems that a more general approach that works on either would be better.