The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
few problems
I'm working for the guy who owns http://www.manlystuff.com/forum/index.php
I have two questions about his site that we both need to know. Question 1) How can I align both of those top boxes? The "Connect", and "Status Feeds". Right now they're aligned by the bottom somehow, but I want it done by the top, so they're at the same height (starting at same height). Question 2) Why won't the Status Feed box collapse? Question 3) How can I make the "Connect" box not display on our vBAdvanced page? The other box doesn't show, only the Connect one does. Here's the template: Code:
removed |
#2
|
|||
|
|||
please help!
|
#3
|
||||
|
||||
1) Clean up your html. Look at what is in your source code:
Code:
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center" style="display: none;margin-bottom: 20px;" id="ajax_vb_status_table"> <tr> <td class="tcat"><a style="float:right" href="#top" onclick="return toggle_collapse('statusfeed')"><img id="collapseimg_statusfeed" src="http://manlystuff.com/forum//images/raven/buttons/collapse_thead.gif" alt="" border="0" /></a> Status Feed<!--BEGIN VB STATUS--> </td> </tr> <div id="collapseobj_statusfeed" style=""> <tbody id="ajax_vb_status_rows"> </tbody> </table> 2) Clean up the html. I'd guess it won't close because of all the problems you are causing with your improper html. |
#4
|
|||
|
|||
Lynne, I did not code that part. And as a matter of fact, the div is closed down below in the template.
The tbody was added with the modification that imk installed. What should we replace it with? |
#5
|
||||
|
||||
You can't just put stuff in a table if it's not in a <tr><td> All things must be in a <td> tag. The <div> tag is not. And, you can't start a div and not close it within the same element. You can't go <td><div></td></div> that is not proper and WILL cause problems - it has to be <td><div></div></td>. Maybe you didn't code it, I don't know who did, but it's causing problems.
|
#6
|
|||
|
|||
Code:
removed Problem still persists. What could the problem be? Now both boxes are same height, but one is bigger. The first one still won't collapse also. Oh, and one of my questions has been answered. The one on how to hide it on vBa page. I got support on their official forums. Please help with other questions though. |
#7
|
||||
|
||||
The first one won't collapse until you modify the table to be the same as for the other one. Right now, you have this div just thrown in there, around a tbody tag?!?!, and it is useless and causing problems. You can't do that. Copy the code you used for the Connect box.
|
#8
|
|||
|
|||
Okay, the <div> is gone, but now how do I make all that area collapse? I do not understand Lynne. Everytime I try touching something, it ruins it. This modification was coded horribly, and now it won't let me remove anything.
Removing the <tbody></tbody> tags makes the box not show at all. It makes no sense. Code:
removed |
#9
|
||||
|
||||
There is an article in the articles forums on how to make a collapsible box. Also, your second box is collapsible, so you have the code right there. This is for your Status Feed:
HTML Code:
<tr> <td class="tcat"><a style="float:right" href="#top" onclick="return toggle_collapse('statusfeed')"><img id="collapseimg_statusfeed" src="http://manlystuff.com/forum//images/raven/buttons/collapse_thead_collapsed.gif" alt="" border="0" /></a> Status Feed<!--BEGIN VB STATUS--> </td> </tr> <tr> <td> HTML Code:
<tr> <td style="margin:0px;" class="tcat"> <a style="float:right" href="#top" onclick="return toggle_collapse('connect')"><img id="collapseimg_connect" src="http://manlystuff.com/forum//images/raven/buttons/collapse_thead.gif" alt="" border="0" /></a> Connect</td> </tr> <tr> <td height="156px" class="alt1" id="collapseobj_connect" style=""> |
#10
|
|||
|
|||
Yes. I've added it to the status feed one too before, but it wouldn't work. Could you edit the template and put it where it belongs?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|