billyeann Posted August 13, 2014 Share Posted August 13, 2014 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. Quote Link to comment Share on other sites More sharing options...
wolfponies Posted August 13, 2014 Share Posted August 13, 2014 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. Quote Link to comment Share on other sites More sharing options...
billyeann Posted August 13, 2014 Author Share Posted August 13, 2014 Thank you soo much!!! ♥ I am going to go try it out right now:) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.