The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Content from profile tabs overlaps

3 posters

Go down

Solved Content from profile tabs overlaps

Post by Vaida March 20th 2019, 5:28 am

Technical details:

I have a couple of buttons that alternate info in the user profile, but for some reason both tabs overlap before any of the buttons are pressed. After pressing them everything works as it should, each tab alternating accordingly.

However, the second tab should not be visible when the page is just loaded, only after tapping its button. Am I missing something? Any help is appreciated!

My code:
Javascript:
CSS:
profile_view_body:
Vaida
Vaida
New Member

Posts : 2
Reputation : 2
Language : English

Back to top Go down

Solved Re: Content from profile tabs overlaps

Post by TheCrow March 20th 2019, 10:09 am

Hello @Vaida and thank you for providing all the necessary information.

Please try and add this part
Code:
$('#p-inventario').hide();
in your javascript before the click function so that way it hides the second tab as default. That should fix your issue.

Regards.


Content from profile tabs overlaps Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: Content from profile tabs overlaps

Post by Vaida March 20th 2019, 3:35 pm

Of course it had to be a simple fix, Javascript is still so new to me! Thank you @TheCrow, that totally worked. Marking this thread as solved Very Happy
Vaida
Vaida
New Member

Posts : 2
Reputation : 2
Language : English

Back to top Go down

Solved Re: Content from profile tabs overlaps

Post by skouliki March 20th 2019, 3:48 pm

Problem solved & topic archived.
Please read our forum rules:  ESF General Rules
skouliki
skouliki
Manager
Manager

Female Posts : 15399
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Back to top

- Similar topics

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