Post by ingine on Oct 3, 2013 10:42:28 GMT -8
Greetings (this must be the place)
I am currently using a side bar with "boxes" that slide in and out of it upon clinking their button class. The script for the click functions and animations are at the bottom of the header.
Previously I had only 6 of these "boxes" in the side bar. At present I've had to add 4 more boxes and although I copy/pasted the code from the previous boxes, they're not working the same :/
The main difference is that instead of adding visual buttons like in the others (the icons on top of the sidebar), I added the tags to text which was already within another box, so that to open the new boxes, you'd have to open that box first. So it's like this:
Box1:
<div id="box1button"></div>
<open>
<div id="box description">
<div id="box2button"> text </div>
</div>
</close>
Box2:
<open>
<div id="box description">
text
</div>
</close>
The reason I explain this is because I don't know if I've made an error by organizing it like this, considering its jQuery Dx, or if it's some other code in my headers that are messing with the jQuery. Everything worked fine until I added those 4 extra boxes though and I can't find where the problem is.
edit: Currently, some of the sliding functions are not working, while others are. If you open up the DATA icon for example, you'll see that the first lines of texts open up the second box, but the last lines do not work. Also, whenever I add an <div> tags inside either of these elements, they don't do what they're supposed to . <span> tags work ok though.
infinitytestzone.boards.net/forum
I am currently using a side bar with "boxes" that slide in and out of it upon clinking their button class. The script for the click functions and animations are at the bottom of the header.
Previously I had only 6 of these "boxes" in the side bar. At present I've had to add 4 more boxes and although I copy/pasted the code from the previous boxes, they're not working the same :/
The main difference is that instead of adding visual buttons like in the others (the icons on top of the sidebar), I added the tags to text which was already within another box, so that to open the new boxes, you'd have to open that box first. So it's like this:
Box1:
<div id="box1button"></div>
<open>
<div id="box description">
<div id="box2button"> text </div>
</div>
</close>
Box2:
<open>
<div id="box description">
text
</div>
</close>
The reason I explain this is because I don't know if I've made an error by organizing it like this, considering its jQuery Dx, or if it's some other code in my headers that are messing with the jQuery. Everything worked fine until I added those 4 extra boxes though and I can't find where the problem is.
edit: Currently, some of the sliding functions are not working, while others are. If you open up the DATA icon for example, you'll see that the first lines of texts open up the second box, but the last lines do not work. Also, whenever I add an <div> tags inside either of these elements, they don't do what they're supposed to . <span> tags work ok though.
infinitytestzone.boards.net/forum