man5 Posted March 3, 2015 Share Posted March 3, 2015 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? 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 asas 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. 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. 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
Archived
This topic is now archived and is closed to further replies.