SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: Links?
-
Feb 9, 2007, 19:07 #1
- Join Date
- Feb 2007
- Posts
- 16
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Links?
I have just started designing a site and I a trying to create a link that automatically scolls to a certain point on the page?
Ex. http://websitetips.com/articles/
Thanks for your help.
-
Feb 9, 2007, 19:31 #2
- Join Date
- May 2006
- Location
- Aurora, Illinois
- Posts
- 15,476
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You mean something like this?
Code:<a href="http://www.somewhere.com" onmouseover="location.href='http://www.somewhere.com'">link text</a>
Code:<a href="http://www.somewhere.com/index.html#content" onmouseover="location.href='http://www.somewhere.com/index.html#content'">link text</a>
Save the Internet - Use Opera | May my mother rest in peace: 1943-2009
Dan Schulz - Design Team Advisor | Follow me on Twitter
SitePoint References: HTML CSS JavaScript | Become A Guru
WordPress SEO Checklist | What WordPress Plugins Do You Use?
Web Standards Curriculum | Image Free Equal Height Columns
-
Feb 9, 2007, 19:40 #3
Or maybe like:
Code:<a id="anchorname"></a>
Code:<a href="page.html#anchorname" title="#">Link Text</a>
-
Feb 9, 2007, 19:43 #4
- Join Date
- May 2006
- Location
- Aurora, Illinois
- Posts
- 15,476
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I thought about that as well, Ben, but figured that a dash of JavaScript would be better in this case, since he wanted it to happen "automatically"
.
Save the Internet - Use Opera | May my mother rest in peace: 1943-2009
Dan Schulz - Design Team Advisor | Follow me on Twitter
SitePoint References: HTML CSS JavaScript | Become A Guru
WordPress SEO Checklist | What WordPress Plugins Do You Use?
Web Standards Curriculum | Image Free Equal Height Columns
-
Feb 9, 2007, 22:56 #5
- Join Date
- Feb 2007
- Posts
- 16
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks alot, I have been looking all over for some scripts but could never find any. Thanks Again
Last edited by Joebs2004; Feb 10, 2007 at 00:46.
Bookmarks