inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Mar 24, 2016 0:33:00 GMT -8
I'm looking to create a way of allowing for a pop out (modal window) when you click on a mini profile to include a full character information. Is there any way of doing this? Brian elli (tagging you two this time XD)
|
|
#eb7100
33409
0
1
May 19, 2024 2:26:34 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Mar 24, 2016 8:56:00 GMT -8
You can do this, but you have to include the information in a hidden element in the mini-profile template as that's the only way to obtain any of their actual profile information.
This code can go in either your Forum Wrapper template or your global header. If you wish to have this happen when clicking on a particular element in the user's mini-profile instead of the mini-profile as a whole it'll need to be changed a bit.
With the above code in place anything you place in the following element in your mini-profile will show in a dialog window.
And of course, the associated CSS to hide it in the mini-profile so that it only shows in the dialog.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Mar 24, 2016 9:12:46 GMT -8
I'm planning on it being clicked on a link that says "see full character sheet"
But thank you!
(if you need me to set up the link now xD - its just that well i have a LOT of classes))
|
|
#eb7100
33409
0
1
May 19, 2024 2:26:34 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Mar 24, 2016 9:17:55 GMT -8
In that case...
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Mar 24, 2016 9:19:55 GMT -8
Thank you! This saves me having a miniprofile 5000 miles long!
At last count I have 37 miniprofile fields (and its probably going to push 40!)
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Mar 24, 2016 9:29:42 GMT -8
Sorry to be a pester but I've tried the script in 5 different places... its apparently hiding too well! It won't show!
|
|
#eb7100
33409
0
1
May 19, 2024 2:26:34 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Mar 24, 2016 9:45:55 GMT -8
Can you provide a link to a page I can try it on?
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Mar 24, 2016 9:56:22 GMT -8
|
|
#eb7100
33409
0
1
May 19, 2024 2:26:34 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Mar 24, 2016 10:02:51 GMT -8
Bah, I left out a period in my code. Try the new one.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Mar 24, 2016 10:10:28 GMT -8
Have you updated the one for using the link to open the modal
|
|
#eb7100
33409
0
1
May 19, 2024 2:26:34 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Mar 24, 2016 10:27:18 GMT -8
Yes.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Mar 24, 2016 10:35:34 GMT -8
apparently its still saying "nope" @_@
|
|
#eb7100
33409
0
1
May 19, 2024 2:26:34 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Mar 24, 2016 10:38:54 GMT -8
Probably because you placed the content it's supposed to open inside of the if statement for badges, so it's not opening it because it can't find the content since you don't have any badges.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Mar 24, 2016 10:55:52 GMT -8
xDD duuh lol!
|
|
inherit
220772
0
Mar 24, 2023 21:43:23 GMT -8
Tiffy-Bean
I support plugin and theme makers rights to create themes and plugins that are paid for.
1,052
April 2015
tiffythecodingwhiz
|
Post by Tiffy-Bean on Mar 24, 2016 13:06:12 GMT -8
I really love this idea. However, I'm a little confused how to make the content change from person to person inside the popup.
|
|