| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| [ C ] Preferences Menu Change | |
|---|---|
| Tweet Topic Started: Jan 6 2015, 09:55 PM (291 Views) | |
| Kankuro | Jan 6 2015, 09:55 PM Post #1 |
|
かんくろ
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
On a Test Board Zeta So I thought I could make the switch myself but I'm not quite good enough at js for that. I'm watching to make this code ( http://z5.ifrm.com/30458/170/0/f5306530/PreferencesMenu.js ) apply to the username in the top left corner ( #top_info strong a ) I want it the have the exact same effects. I also want to hide "Preferences" from the top menu. And due to possible code conflict can you disable actions when you click the actual username? (Disable the function that takes you to your profile when you click the username) But I only want that disabled on the #top_info strong a that isn't within the code. Sorry if you're confused, if you need more specifications just say so. Edited by Kankuro, Jan 6 2015, 09:58 PM.
|
![]() |
|
| Cory | Jan 6 2015, 10:31 PM Post #2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Who's the original author of that code and do you have their permission to make major edits to it? |
![]() |
|
| Kankuro | Jan 6 2015, 10:46 PM Post #3 |
|
かんくろ
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I honestly have no clue who made it. Lol, it's your own code: http://support.zathyus.com/topic/5188012/1/ Edited by Kankuro, Jan 6 2015, 10:53 PM.
|
![]() |
|
| Cory | Jan 6 2015, 11:42 PM Post #4 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Try this instead:
|
![]() |
|
| Kankuro | Jan 6 2015, 11:55 PM Post #5 |
|
かんくろ
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Thank you, now how would I hide the "Preferences" option? |
![]() |
|
| Cory | Jan 6 2015, 11:57 PM Post #6 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
With CSS:
|
![]() |
|
| Kankuro | Jan 7 2015, 12:03 AM Post #7 |
|
かんくろ
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
How do I align the text within the drop down to be centered? http://prntscr.com/5pfqfc And what selector do I use for the avatars; div#avatar.left img? |
![]() |
|
| Cory | Jan 7 2015, 12:06 AM Post #8 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You probably want to change this:To this: #avatar img alone will be sufficient enough. |
![]() |
|
| Kankuro | Jan 7 2015, 12:18 AM Post #9 |
|
かんくろ
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Would my selector work though? I only want it to apply to that specific avatar in that meta box. |
![]() |
|
| Cory | Jan 7 2015, 12:38 AM Post #10 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
#avatar is an ID and ID's are unique, which means unless a different code is using 'avatar' as an ID, then the selector will be valid for the avatar image in this code only. You don't need to specify the class name as well, or the element name. |
![]() |
|
| Kankuro | Jan 7 2015, 12:50 AM Post #11 |
|
かんくろ
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Is it possible to disable the link in the top info username while still keeping the username valid? Pretty much I don't want it to be a link to my profile but still say my name. |
![]() |
|
| Cory | Jan 7 2015, 12:54 AM Post #12 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
The #top_info strong a link should already be disabled, at least it is for me. |
![]() |
|
| Kankuro | Jan 7 2015, 01:04 AM Post #13 |
|
かんくろ
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Oh, I didn't actually click it, I just seen the link the the little URL that shows when you hover over links. Sorry about that. |
![]() |
|
| Kankuro | Jan 8 2015, 07:00 PM Post #14 |
|
かんくろ
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I tried doing the height transition but it didn't quite work. This is what I tried:
Note: I just want to add the CSS to my theme appearance, I don't want to have to change the script I'm hosting again. EDIT: Nevermind, after looking more at the code I realized it's a simple fix and required the script to be edited. Edited by Kankuro, Jan 8 2015, 08:07 PM.
|
![]() |
|
| Helena | Jan 16 2015, 06:47 PM Post #15 |
![]()
M is for Mod
![]()
|
Completed! Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Closed Requests · Next Topic » |
| Track Topic · E-mail Topic |
8:31 PM Jul 10
|


![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)




8:31 PM Jul 10