man5 Posted March 3, 2015 Share Posted March 3, 2015 (edited) This twitter style button I found. http://jsfiddle.net/jakie8/ZECEN/ I have managed to modify it to my liking. And yes I know the ".live" is depreciated and instead use "on". Anyways, the only thing I noticed is that if I click "Follow" button and it turns green; once I refresh the page, it goes back to default "follow" mode. I was wondering how can I keep it green even if I refresh the page? Edited March 3, 2015 by man5 Quote Link to comment https://forums.phpfreaks.com/topic/295032-quick-question-this-is-a-twitter-button-code-how-do-i-keep-the-following-selected-on-success/ Share on other sites More sharing options...
man5 Posted March 3, 2015 Author Share Posted March 3, 2015 (edited) asas Edited March 3, 2015 by man5 Quote Link to comment https://forums.phpfreaks.com/topic/295032-quick-question-this-is-a-twitter-button-code-how-do-i-keep-the-following-selected-on-success/#findComment-1507317 Share on other sites More sharing options...
jeffreyappel Posted April 6, 2015 Share Posted April 6, 2015 write an event handler and store the result in a variable.Another way use flag. Quote Link to comment https://forums.phpfreaks.com/topic/295032-quick-question-this-is-a-twitter-button-code-how-do-i-keep-the-following-selected-on-success/#findComment-1508448 Share on other sites More sharing options...
gizmola Posted April 6, 2015 Share Posted April 6, 2015 write an event handler and store the result in a variable.Another way use flag. These are very specific suggestions. A quick example, or jsfiddle would be appropriate. Quote Link to comment https://forums.phpfreaks.com/topic/295032-quick-question-this-is-a-twitter-button-code-how-do-i-keep-the-following-selected-on-success/#findComment-1508449 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.