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

Help with Image Mapping...

Mon Jul 11, 2005 3:07 am

I'm trying to do it for my userlookup on Neopets... this is the code that I used.

Code:
<IMG SRC="http://img295.imageshack.us/img295/6558/niftysidebarthing5is.gif" WIDTH=521 HEIGHT=43 BORDER=0 ALT="" USEMAP="#niftysidebarthing_Map">
<MAP NAME="niftysidebarthing_Map">
<AREA SHAPE="rect" ALT="Shops" COORDS="435,0,520,20" HREF="http://www.neopets.com/objects.phtml">
<AREA SHAPE="rect" ALT="Login" COORDS="348,22,433,42" HREF="http://www.neopets.com/loginpage.phtml">
<AREA SHAPE="rect" ALT="Logout" COORDS="435,22,520,42" HREF="http://www.neopets.com/logout.phtml">
<AREA SHAPE="rect" ALT="Neomail" COORDS="348,0,433,20" HREF="http://www.neopets.com/neomessages.phtml">
<AREA SHAPE="rect" ALT="Help" COORDS="261,22,346,42" HREF="http://www.neopets.com/help.phtml">
<AREA SHAPE="rect" ALT="Games" COORDS="261,0,346,20" HREF="http://www.neopets.com/gameroom.phtml">
<AREA SHAPE="rect" ALT="Stuff" COORDS="174,22,259,42" HREF="http://www.neopets.com/stuff.phtml">
<AREA SHAPE="rect" ALT="News" COORDS="87,22,172,42" HREF="http://www.neopets.com/nf.phtml">
<AREA SHAPE="rect" ALT="Boards" COORDS="0,22,85,42" HREF="http://www.neopets.com/neoboards/index.phtml">
<AREA SHAPE="rect" ALT="Explore" COORDS="174,0,259,20" HREF="http://www.neopets.com/explore.phtml">
<AREA SHAPE="rect" ALT="Pet Central" COORDS="87,0,172,20" HREF="http://www.neopets.com/petcentral.phtml">
<AREA SHAPE="rect" ALT="Create A Pet" COORDS="0,0,85,20" HREF="http://www.neopets.com/addpet.phtml">
</MAP>


The only problem is, this part keeps getting deleted everytime I sumbit editing onto my lookup:

Code:
<AREA SHAPE="rect" ALT="Shops" COORDS="435,0,520,20" HREF="http://www.neopets.com/objects.phtml">
<AREA SHAPE="rect" ALT="Login" COORDS="348,22,433,42" HREF="http://www.neopets.com/loginpage.phtml">
<AREA SHAPE="rect" ALT="Logout" COORDS="435,22,520,42" HREF="http://www.neopets.com/logout.phtml">
<AREA SHAPE="rect" ALT="Neomail" COORDS="348,0,433,20" HREF="http://www.neopets.com/neomessages.phtml">
<AREA SHAPE="rect" ALT="Help" COORDS="261,22,346,42" HREF="http://www.neopets.com/help.phtml">
<AREA SHAPE="rect" ALT="Games" COORDS="261,0,346,20" HREF="http://www.neopets.com/gameroom.phtml">
<AREA SHAPE="rect" ALT="Stuff" COORDS="174,22,259,42" HREF="http://www.neopets.com/stuff.phtml">
<AREA SHAPE="rect" ALT="News" COORDS="87,22,172,42" HREF="http://www.neopets.com/nf.phtml">
<AREA SHAPE="rect" ALT="Boards" COORDS="0,22,85,42" HREF="http://www.neopets.com/neoboards/index.phtml">
<AREA SHAPE="rect" ALT="Explore" COORDS="174,0,259,20" HREF="http://www.neopets.com/explore.phtml">
<AREA SHAPE="rect" ALT="Pet Central" COORDS="87,0,172,20" HREF="http://www.neopets.com/petcentral.phtml">
<AREA SHAPE="rect" ALT="Create A Pet" COORDS="0,0,85,20" HREF="http://www.neopets.com/addpet.phtml">
</MAP>


Now, I know that I'm not using up all of my characters, so that's not the problem. Can anyone help?

Mon Jul 11, 2005 3:30 am

I think this would better belong in Computing and Technology. :) Moving it there right now...

Mon Jul 11, 2005 3:55 am

Lemme just double-check what you're saying. The part in that second quote is what's getting removed, or is it what's left after stuff is removed?


[off topic]That was phrased weird...[/off topic]

But yeah, I noticed that neopets tends to delete certain sections of code, supposedly because it's a "threat" to their *awesome powers of security.*

Mon Jul 11, 2005 4:47 am

Yes, it's what's deleted... but I don't know why. -_-;

And thanks for moving this. ^^

Wed Jul 13, 2005 12:19 am

Hmm...well, I'm really not sure. It's just about as close to the actual Neopets map code as you can get, with the exceptions of capitalization, javascript, and some quotes, but they shouldn't matter.

Frankly, I'm stumped.

Wed Jul 13, 2005 4:12 pm

Perhaps Neopets doesn't want anyone to put in code that will cover their graphics? That's all I can think of, because that shouldn't happen on a regular HTML file.
Topic locked