How To Make Anchors In You Shop

9 posts / 0 new
Last post
cornstarch876
cornstarch876's picture
Offline
Last seen: 8 years 4 weeks ago
Joined: 10/04/2009 - 11:35am
How To Make Anchors In You Shop
I see people always have anchors in there shop. I don't know how to make them. I've gotten a ton of varied answers and none seem to work. Anyone can help me?
saudor
saudor's picture
Offline
Last seen: 16 hours 47 min ago
Joined: 10/06/2007 - 12:30pm
Put <a name="i"> at the bottom of your shop code and at the end of every link in your shop that you want the anchor to go to, add #i
----------------------------- [color=purple]Protect your account[/color] http://www.neopets.com/~punchback_bob CG information & more
slaygal_of_sunnydale
slaygal_of_sunnydale's picture
Offline
Last seen: 2 days 12 hours ago
Joined: 27/03/2009 - 12:35pm
Remember to put a closed link tag after. So (a name="i") (/a) Of course, use the pointy brackets. It took me a few tries to get it right in my shop, too. I was always missing one part. Here's an example from my shop: [quote](a href=/browseshop.phtml?owner=slaygal_of_sunnydale&buy_obj_info_id=21189&buy_cost_neopoints=1200#i) And then at the bottom of my shop I have: (a name="i")(/a)[/quote] You can use any letter you want, but it has to match. So if you use a "p," then put "#p" after each of your links.
saudor
saudor's picture
Offline
Last seen: 16 hours 47 min ago
Joined: 10/06/2007 - 12:30pm
apparently, you dont need to close the a name thing.
----------------------------- [color=purple]Protect your account[/color] http://www.neopets.com/~punchback_bob CG information & more
slaygal_of_sunnydale
slaygal_of_sunnydale's picture
Offline
Last seen: 2 days 12 hours ago
Joined: 27/03/2009 - 12:35pm
[quote=Dmitri]apparently, you dont need to close the a name thing.[/quote] Oh, I didn't know that. Well, I guess you can save a few characters that way. Thanks. :)
nintendogam3master
nintendogam3master's picture
Offline
Last seen: 9 years 10 months ago
Joined: 06/08/2007 - 9:52am
Sorry for the noobie question but what is an anchor?
slaygal_of_sunnydale
slaygal_of_sunnydale's picture
Offline
Last seen: 2 days 12 hours ago
Joined: 27/03/2009 - 12:35pm
A page anchor is a way that you can direct someone to a specific place on a page so they don't have to scroll down the whole page. For example, if you have a pet page with five different sections, you can have links with anchors to each separate section, so visitors can just jump directly to the section they're looking for.
cornstarch876
cornstarch876's picture
Offline
Last seen: 8 years 4 weeks ago
Joined: 10/04/2009 - 11:35am
Thank you :D

Come to Novi Pier Imports

http://www.neopets.com/browseshop.phtml?owner=cornstarch678&misc

Where Everyday is A Sale

thoth420
thoth420's picture
Offline
Last seen: 12 years 4 months ago
Joined: 18/10/2008 - 2:37am
I've been trying to remember how to do this for a couple of days now. Accidentally erased my ancient coding - Thanks!!!