Jump to content

Links not working?


laceew45

Recommended Posts

On my petpage, my links aren’t working. Can someone help me figure out why? It shows on my petpage:

-no_passing_of_links_via_a_link- Album Items -no_passing_of_links_via_a_link- Just lots of stuff
Here is my petpage:

 

http://www.neopets.com/~meshad

 

This topic has been edited by a member of staff (Anime).

The topic was posted in the wrong area.

Please check your user inbox to see if you have been contacted regarding this topic.

Per the reason above, this topic has been MOVED from Graphics Help to Computers & Programming.

Link to comment
Share on other sites

If I were to take a guess, I'd say you were trying to link those things via what is called a local link. Basically the link was coded like this:

<a href="~apetsname">Album Items</a>

And since it's accessing something on the same site, it assumes you're trying to get to "www.neopets.com/" + the link text.

 

This is one of many features that was once available on petpages that isn't any more. It's not hard to fix- just remove the "no linking" text, and link with the full URLs like you do it your main section. Like this:

<a href="http://www.neopets.com/~whateveryouneedtolinkto">Album Items</a>

Only link to whatever you're after, not a random pet that doesn't exist.

Link to comment
Share on other sites

No.. they are user shops that I like..I like to keep links to them so I know how to find them again..

 

Anime, that’s what I used...the full URL because I never got used to use the shorthand Url for neopets links..ha

 

This is the exact links I used + html:

<a href="http://www.neopets.com/browseshop.phtml?owner=habit_of_mine”>Album Items</a>
<a href="http://www.neopets.com/browseshop.phtml?owner=stinkypotato”>Fire Faerie</a>
<a href="http://www.neopets.com/browseshop.phtml?owner=mystichazel1”>This&That</a>
<a href="http://www.neopets.com/browseshop.phtml?owner=wenchcarebear”>Random</a>

Link to comment
Share on other sites

You may have missed part of the code for the link that's causing it not to work. If your other links are working then these shouldn't be any different.

Try copying the code Anime posted and see if that helps.

Link to comment
Share on other sites

A ha, I think I see it. This is on all of them, but I'll just grab the one....

<a href="http://www.neopets.com/browseshop.phtml?owner=habit_of_mine”>Album Items</a>

See how that second quote mark is slanted? ” instead of ". That's the browser trying to render what's called a curly quote. It's basically a fancy quotation mark- in fact, depending on your computer and browser, you may not be able to see it. Sometimes when copy/pasting characters to/from a word processor double and single quotes will change to their curly version. Not sure of the cause but it's a thing.

 

A curly quote is not the same a regular shift + apostrophe key quotation mark. From a coding perspective, this is a different character and Neopet's version of telling you this is to freak out and break your links. If you retype the second quote in each of those links, it should work.

Link to comment
Share on other sites

A ha, I think I see it. This is on all of them, but I'll just grab the one....

<a href="http://www.neopets.com/browseshop.phtml?owner=habit_of_mine”>Album Items</a>

See how that second quote mark is slanted? ” instead of ". That's the browser trying to render what's called a curly quote. It's basically a fancy quotation mark- in fact, depending on your computer and browser, you may not be able to see it. Sometimes when copy/pasting characters to/from a word processor double and single quotes will change to their curly version. Not sure of the cause but it's a thing.

 

A curly quote is not the same a regular shift + apostrophe key quotation mark. From a coding perspective, this is a different character and Neopet's version of telling you this is to freak out and break your links. If you retype the second quote in each of those links, it should work.

I can tell the difference now that you pointed it out. haha Thank you so much! That worked!

Link to comment
Share on other sites

Glad that fixed it!

 

As an aside, in the future, please post the relevant code if you have it when you make the thread. Helps things move faster. ;)

 

And with it fixed up, I'll close this.

 

This topic has been edited by a member of staff (Anime).
The original topic is now answered and will be closed.
Please check your user inbox to see if you have been contacted regarding this topic.
Per the reason above, this topic has been LOCKED. Please contact Spritzie if you have any questions regarding this action.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...