Jump to content

Userlookup Coding Question?


billyeann

Recommended Posts

I am trying to add some kind of scroll box to my userlookup that will link to all my pets. I saw one of my friends with one on her page, and I really like it!

I like the fact I could show all my pets off even the ones on my sides.

Here is a reference:

 

If anyone could help me do a code similar to that I would be forever greatful!

http://www.neopets.com/userlookup.phtml?user=princ3sscouture

 

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

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 Neopets Help to Computers & Programming.

Link to comment
Share on other sites

Here's the code for a horizontal scroll area of neopets:

<style>
#neo {
	overflow: hidden;
	height: 271px;
	width: 97%;
	background: white;
	border: 2px solid #111;
	z-index: 5;
}
#neo2 {
	overflow: auto;
	height: 269px;
	width: 99.7%;
}
#neo a {
	width: 180px;
	height: 246px;
	overflow: hidden;
	display: block;
}
#neo img {
	;
	margin-top: -27px;
}
</style>

<div id="neo" style="position: fixed; bottom: 15px; left: 18px;">
<div id="neo2">
<table>
<tr>

<td>
<a href="PET_LINK">
<img src="IMAGE_URL"></a>
</td>

<td>
<a href="PET_LINK_2">
<img src="IMAGE_URL_2"></a>
</td>

...

</tr>
</table>
</div>
</div>
Shout if something isn't clear :)

 

This post has been edited by a member of staff (Rune Valentine) because of a violation of the forum rules.

Please DO NOT remove mod edits.

Please check your user inbox to see if you have been contacted regarding this incident, then review our rules.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...