![]() |
A silly little question
When I'm trying to show the adopts in a table... how can I make it so there is a break say every 6 adopts or so?
|
If your adopts are in a table you should just be able to insert a blank row/cell to create a break in the adoptables.
I could give you better example/code if I had your code snipit. Though I'm still pretty new to this, so I'm not sure how much help I can be. |
I'm trying to get just a certain number of adopt images per row for the sort thing so that people can sort easier with smaller images.
|
So your wanting columns of adoptables so that you have more than one on each row?
|
Yep that is what I need :)
|
In that case I should be able to help you, since I just reccently added columns adoptables to my site. Though you'll have to convert it to fit the new 1.3 version cause I haven't touched that yet.
Have you made any changes to the original code? Like adding the ajax sortable feature or anything? |
Yea I have the sort completing working... Just need to make it so I have rows of adopts instead of one on top of the other.
|
Alright then. Your going to need to change both the javascript in the HTML and the formatting in the myadopts.php. Do you mind showing me your code. It will make it easier for me to tell you what and where to put the code. If not I can just pull/edit my code.
|
K Here is my sort script. I have it separate from the my adopts
Code:
<?php Code:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> |
I made the chages to your php and the javascript. This should work. You might also want to change or remove the table that has the text for name, type, ect.
Let me know how it goes. ;3 PHP Code:
HTML Code:
<script type="text/javascript"> |
All times are GMT -5. The time now is 07:59 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.