Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 11, 2009, 01:56 PM   #1
p0intblank
macrumors 68030
 
Join Date: Sep 2005
Location: New Jersey
How to auto scroll to a specific point on a page?

I manage a site for a client of mine through Ning.com. They want me to enable a graphic that when clicked will auto jump the user to a specific point on the page (i.e. 75% down towards the footer) I know how to do this in Wordpress through adding a hash tag, but is this possible on Ning?

Thanks!
p0intblank is offline   0 Reply With Quote
Old Aug 11, 2009, 01:57 PM   #2
SilentPanda
Moderator emeritus
 
SilentPanda's Avatar
 
Join Date: Oct 2002
Location: The Bamboo Forest
It should be possible using an HTML anchor.
__________________
My 24 hour web cam! ʕノᴥʔノ ︵ ┻━┻
And remember.
SilentPanda is offline   0 Reply With Quote
Old Aug 11, 2009, 02:11 PM   #3
p0intblank
Thread Starter
macrumors 68030
 
Join Date: Sep 2005
Location: New Jersey
Quote:
Originally Posted by SilentPanda View Post
It should be possible using an HTML anchor.
I got it. I always seem to figure it out right after posting the thread... Anyway, thanks for the help!
p0intblank is offline   0 Reply With Quote
Old Aug 11, 2009, 02:48 PM   #4
ChicoWeb
macrumors 65816
 
ChicoWeb's Avatar
 
Join Date: Aug 2004
Location: California
Actually, you may want to think about using ID's. Not all browser like anchors. Something like...

<a href="file.html#foo">To point a</a>

<p><a name="foo" id="foo">Hi, I'm point A</a></p>
__________________
ChicoWeb is offline   0 Reply With Quote
Old Aug 11, 2009, 02:58 PM   #5
Mal
macrumors 603
 
Mal's Avatar
 
Join Date: Jan 2002
Location: Orlando
Quote:
Originally Posted by ChicoWeb View Post
Actually, you may want to think about using ID's. Not all browser like anchors. Something like...

<a href="file.html#foo">To point a</a>

<p><a name="foo" id="foo">Hi, I'm point A</a></p>
What you posted is an anchor tag. Using the id attribute instead of the name attribute (or in addition, as you posted) is indeed a good recommendation, just wanted to point out that you are still indeed using an anchor (which is the proper way).

jW
__________________
The Bearded Nerd
13" MacBook Pro; 64GB iPod touch
"It's a real burn, being right so often."
NoiseTrade.com/Walker
Mal is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Safari crashes when you scroll down this page ccsicecoke OS X 4 Sep 8, 2013 11:07 AM
iPhone: Looking for two specific tweaks... can you point me in the right direction? jrm27 Jailbreaks and iOS Hacks 3 Feb 5, 2013 12:31 PM
auto scroll to top, annoying!! elixir OS X 3 Sep 11, 2012 08:03 PM
How scroll and back page gestures barrk OS X 10.8 Mountain Lion 18 Aug 23, 2012 05:32 PM

Forum Jump

All times are GMT -5. The time now is 08:56 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC