inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jul 18, 2014 15:06:52 GMT -8
Okay, just to double check, I have the code in the Global Footer positioned above another code for the page view counter. Would that matter? Also, I have the line of code in the mini profile layout template. I think that's placed correctly, so could it be the Global Footer positioning? Also, how do I fix it so that the mini profile shows when someone is offline too? Right now it only shows when someone is online. As to the first, the positioning of codes within the Global Footer should not make a difference. As to the second, that is correct on the layout template > mini profile and it could be the Global Footer positioning, but I doubt it. As to the third, this is my code on my main site that you can use: ( edit to fit your needs ) <span style="color: #{if $[user.is_online]}00ff00{else}ff0000{/if}; font-weight: bold;">{if $[user.is_online]}<div class="pulsate">I am online</div>{else}<div class="pulsate">I am offline</div>{/if}</span>
|
|
inherit
195082
0
Mar 20, 2022 7:33:21 GMT -8
PF
1,089
June 2013
weedster
|
Post by PF on Jul 18, 2014 16:00:44 GMT -8
Thanks!
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jul 18, 2014 17:03:43 GMT -8
You're welcome and hope you get it sorted out.
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Aug 17, 2014 11:36:06 GMT -8
Hello TinMachineAs suggested to Heeeeey: Try this: <span style="color: #{if $[user.is_online]}00ff00{else}ff0000{/if}; font-weight: bold;">{if $[user.is_online]}<div class="pulsate">I am online</div>{else}<div class="pulsate">I am offline</div>{/if}</span>
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Aug 17, 2014 14:53:55 GMT -8
Hello again TinMachineJust checked your source code and remove this from the code: <script type="text/javascript"> $(document).ready(function() { function pulsate() { $(".pulsate").animate({opacity: 0.2}, 1200, 'linear') .animate({opacity: 1}, 1200, 'linear', pulsate); <---- See below } pulsate(); }); </script> and make sure that code is in the Global Footer. If it still does not work, you may want to tag jrryan as he has it working just fine.
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Aug 17, 2014 15:33:55 GMT -8
Great to hear you got it up and running.
I also changed the original post to add:
Note: Remove this <---- See below before placing the above code in the Global Footer.
|
|