inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Apr 26, 2013 23:00:20 GMT -8
I have a jquery fade-in with content over the avatar in the mini-profile as seen here: paviii.freemessageboards.com/thread/6/xxxI also have a custom field in there which seems to be working although I'm not sure what will happen when and if another custom field is added since that line doesn't define any specific custom field. But that is another question. For now, I can only get the fade-in content on the first post only and I'm totally lost on how to get it to show on every avatar in every post. This is what I have so far: (Just posted the segment I altered.) {if $[user.avatar]} <div id="entry"> <div class="avatar" id="image">$[user.avatar]</div> <div id="caption"> <div style="padding: 2px; z-index: 200;"> {foreach $[user.mini_custom_field]} <br /><span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name]: $[user.mini_custom_field.value]</span> {/foreach} <br /> <br /> Laborum. anim est esse cillum do undefined non aliquip do ullamco incididunt enim veniam, amet, voluptate magna dolor officia reprehenderit veniam, ea adipisicing aliqua. </div> </div> </div> {/if} Any advice would be much appreciated. Thanks.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 3, 2013 13:03:12 GMT -8
Is the above code from your mini-profile template?
Only one object on a page can have a specific ID. So the page cannot contain every ID in that code in every mini-profile.
There's a possibility this will break any sort of code you're adding that addresses those IDs. However, jQuery should be able to grab multiple objects with the same class.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on May 6, 2013 23:59:20 GMT -8
I don't think I'm wrapping my brain around what you just said but maybe I'm just tired. However, I'm sure it is obvious, I don't really know what I'm doing. Just stumbling in the dark. lol I'll reread this tomorrow and see if something clicks in my brain.
Oh, and yes, the mini-profile template.
Edit: I think my brain kicked in. I think I know what you are saying. I'll play around with it tomorrow and we'll see how I do.
|
|
inherit
167837
0
Apr 30, 2013 15:32:12 GMT -8
leif
939
June 2011
akiglass
|
Post by leif on May 7, 2013 0:13:19 GMT -8
I noticed this as well when for status using style="text-align:justify;" only the first one is justified. The rest get centered and different font sizes.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 12, 2013 8:55:52 GMT -8
I noticed this as well when for status using style="text-align:justify;" only the first one is justified. The rest get centered and different font sizes. Style attributes should still work fine. Can you link me to an example of a page where this is happening?
|
|
inherit
167837
0
Apr 30, 2013 15:32:12 GMT -8
leif
939
June 2011
akiglass
|
Post by leif on May 15, 2013 21:38:02 GMT -8
|
|