The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Toggle button overlap category

View previous topic View next topic Go down

Toggle button overlap category

Post by TruStealth™ on January 17th 2014, 9:31 pm

Hello Again with another problem Sad

I don't know what is causing the problem but my category toggle button is overlapping the category title please help.


TruStealth™
Forumember

Posts : 107
Reputation : 1
Language : English

http://Sorry.No-Forum-Address-Given.sorry

Back to top Go down

Re: Toggle button overlap category

Post by SLGray on January 17th 2014, 9:35 pm

Look for this in your CSS:
Code:
.contract, .expand {
  right: 10px;
}
Change 10 to -860.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Toggle button overlap category

Post by TruStealth™ on January 17th 2014, 9:41 pm

still the same Sad

TruStealth™
Forumember

Posts : 107
Reputation : 1
Language : English

http://Sorry.No-Forum-Address-Given.sorry

Back to top Go down

Re: Toggle button overlap category

Post by SLGray on January 17th 2014, 9:43 pm

Did you change the 10 and press the submit button?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Toggle button overlap category

Post by TruStealth™ on January 17th 2014, 9:43 pm

@SLGray wrote:Did you change the 10 and press the submit button?

Yes I have

TruStealth™
Forumember

Posts : 107
Reputation : 1
Language : English

http://Sorry.No-Forum-Address-Given.sorry

Back to top Go down

Re: Toggle button overlap category

Post by SLGray on January 17th 2014, 9:44 pm

Please post the code you have for the toggler.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Toggle button overlap category

Post by TruStealth™ on January 17th 2014, 9:51 pm

Code:
function toggleLTcategory(a){var b=a.id,c=document.getElementById("b"+b);"none"==a.style.display?(a.style.display="block",c.className="contract",my_setcookie("_"+b,"",!0)):(a.style.display="none",c.className="expand",my_setcookie("_"+b,"1",!0))} jQuery(function(){x=x=jQuery(".main-head .page-title").get();for(i=0;i<x.length;i++){x[i].style.position="relative";var a="c"+String(i+1);x[i].parentNode.nextSibling.setAttribute("id",a);x[i].parentNode.nextSibling.style.display="block";x[i].innerHTML+='<div id="b'+a+'" class="contract" onclick="toggleLTcategory(this.parentNode.parentNode.nextSibling);"></div>'}cookies=document.cookie.split("; ");for(i in cookies)"_"==cookies[i].charAt(0)&&(cookie=cookies[i].split("="),"1"==cookie[1]&&(a=cookie[0].substring(1), document.getElementById(a)&&toggleLTcategory(document.getElementById(a))))});


TruStealth™
Forumember

Posts : 107
Reputation : 1
Language : English

http://Sorry.No-Forum-Address-Given.sorry

Back to top Go down

Re: Toggle button overlap category

Post by SLGray on January 17th 2014, 9:52 pm

Is there no CSS?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Toggle button overlap category

Post by TruStealth™ on January 17th 2014, 9:53 pm

@SLGray wrote:Is there no CSS?

What does it start with I cant weem to find it

TruStealth™
Forumember

Posts : 107
Reputation : 1
Language : English

http://Sorry.No-Forum-Address-Given.sorry

Back to top Go down

Re: Toggle button overlap category

Post by SLGray on January 17th 2014, 9:55 pm

Where did you get the code from?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Toggle button overlap category

Post by TruStealth™ on January 17th 2014, 9:59 pm

@SLGray wrote:Where did you get the code from?

Here help. forumotion. com/t102749-category-toggle

TruStealth™
Forumember

Posts : 107
Reputation : 1
Language : English

http://Sorry.No-Forum-Address-Given.sorry

Back to top Go down

Re: Toggle button overlap category

Post by SLGray on January 17th 2014, 10:00 pm

CSS:
Code:
    .expand, .contract {position: absolute; top: 6px; right: 10px; cursor: pointer; width: 9px; height: 9px; background: url(http://illiweb.com/fa/m/tabs_more1.gif);}
    .contract {background: url(http://illiweb.com/fa/m/tabs_less1.gif);}


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Toggle button overlap category

Post by TruStealth™ on January 17th 2014, 10:01 pm



yes I found it after going back to that page and its posted correctly

TruStealth™
Forumember

Posts : 107
Reputation : 1
Language : English

http://Sorry.No-Forum-Address-Given.sorry

Back to top Go down

Re: Toggle button overlap category

Post by SLGray on January 17th 2014, 10:04 pm

Code:
        .expand, .contract {position: absolute; top: 6px; right: -860px; cursor: pointer; width: 9px; height: 9px; background: url(http://illiweb.com/fa/m/tabs_more1.gif);}
        .contract {background: url(http://illiweb.com/fa/m/tabs_less1.gif);}


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Toggle button overlap category

Post by TruStealth™ on January 17th 2014, 10:12 pm

that solved it thanks for your help much appreciated gray

one last thing why did it remove the - box off half the categories

TruStealth™
Forumember

Posts : 107
Reputation : 1
Language : English

http://Sorry.No-Forum-Address-Given.sorry

Back to top Go down

Re: Toggle button overlap category

Post by SLGray on January 17th 2014, 10:18 pm

What box?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Toggle button overlap category

Post by TruStealth™ on January 17th 2014, 10:24 pm

it removed the - from half of the category boxes its only on 1/7 categories and the one on the recent topics box is showing but the others are not

TruStealth™
Forumember

Posts : 107
Reputation : 1
Language : English

http://Sorry.No-Forum-Address-Given.sorry

Back to top Go down

Re: Toggle button overlap category

Post by SLGray on January 17th 2014, 10:27 pm

Where exactly did you add the JavaScript?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Toggle button overlap category

Post by TruStealth™ on January 17th 2014, 10:31 pm

@SLGray wrote:Where exactly did you add the JavaScript?


TruStealth™
Forumember

Posts : 107
Reputation : 1
Language : English

http://Sorry.No-Forum-Address-Given.sorry

Back to top Go down

Re: Toggle button overlap category

Post by SLGray on January 18th 2014, 12:37 am

You should only have it on the homepage.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Toggle button overlap category

Post by Luffy on January 18th 2014, 1:17 am

Correction: You should have it on Homepage and Portal!






Luffy
Manager
Manager

Male Posts : 4254
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Re: Toggle button overlap category

Post by TruStealth™ on January 18th 2014, 3:13 am

Marios94 wrote:Correction: You should have it on Homepage and Portal!

that don't matter I have tired everything and the minus only shows on 1 of the 7 categories and on the recent topic box I have at the top of my forum.

TruStealth™
Forumember

Posts : 107
Reputation : 1
Language : English

http://Sorry.No-Forum-Address-Given.sorry

Back to top Go down

Re: Toggle button overlap category

Post by SLGray on January 18th 2014, 3:23 am

I believe it you have other codes that are interfering with it.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Toggle button overlap category

Post by TruStealth™ on January 18th 2014, 3:26 am

@SLGray wrote:I believe it you have other codes that are interfering with it.

it was working fine before we were trying to get my last problem solved when we tried getting that category layout changed and just ran into problems. there a way to analyze to see whats conflicting?

TruStealth™
Forumember

Posts : 107
Reputation : 1
Language : English

http://Sorry.No-Forum-Address-Given.sorry

Back to top Go down

Re: Toggle button overlap category

Post by TruStealth™ on January 19th 2014, 8:11 pm

This can be closed and garaged as I solved the matter myself.

TruStealth™
Forumember

Posts : 107
Reputation : 1
Language : English

http://Sorry.No-Forum-Address-Given.sorry

Back to top Go down

Re: Toggle button overlap category

Post by SLGray on January 19th 2014, 9:40 pm

Garbaged as Requested


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum