Got a little techonology problem that you need fixed pronto? Post it here and we'll see what we can do.
Topic locked

Userlookup and link mapping code

Wed Sep 07, 2005 9:26 pm

I attempted to do some extra work on my userlookup, namely adding the following:
<map name=a>
<area shape=rect coords="1,6,134,41" href=/addpet.phtml>
<area shape=rect coords="1,42,134,76" href=/petcentral.phtml>
<area shape=rect coords="1,77,134,111" href=/explore.phtml>
<area shape=rect coords="1,112,134,146" href=/gameroom.phtml>
<area shape=rect coords="1,147,134,181" href=/neomessages.phtml>
<area shape=rect coords="1,182,134,216" href=/objects.phtml>
<area shape=rect coords="1,217,134,251" href=/neoboards/index.phtml>
<area shape=rect coords="1,252,134,286" href=/nf.phtml>
<area shape=rect coords="1,287,134,321" href=/stuff.phtml>
<area shape=rect coords="1,322,134,356" href=/help.phtml>
<area shape=rect coords="1,357,134,391" href=/loginpage.phtml>
<area shape=rect coords="1,392,134,426" href=/logout.phtml></map>


However, Neopets deletes the code as soon as you "save" your userlookup code.

The purpose of this code is to line up the links on the sidebar with the buttons that a custom image uses. Normally, people just tell their sidebar to use the default link map (it's in the source of every neopets page). I thought I'd redefine the map myself since my buttons are quite out of alignment with the code (I can't change the buttons because they're all supposed to be equal).

So does anyone know if this is possible? Is there some other code i need to implement so that neopets doesn't delete it, or an alternate way to declare the map?

Wed Sep 07, 2005 10:13 pm

That is the only way you can declare an image map. Your alternative would be to cut up your image, and artificially position all the pieces while hiding the default toolbar (not sure if that's blocked as well).

Wed Sep 07, 2005 10:15 pm

Hunter Lupe wrote:That is the only way you can declare an image map. Your alternative would be to cut up your image, and artificially position all the pieces while hiding the default toolbar (not sure if that's blocked as well).


You can hide the default sidebar with some code.

Cutting up the image would take too many characters, unfortunately (At least I think so...). Oh well. Thanks :)
Topic locked