- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘Other’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I was just browsing around http://techcrunch.com/ and noticed that they social share buttons don’t load until the user mouses over them. How would someone implement that? It really saves on page load.
You could have two divs on top of each other that, when you mouseover the initial one makes that one invisible and the one behind it appears. You would need to use Javascript as well to implement it. But, this method wouldn’t save you on the load time of the page because it will still load both the DIV in front and behind (since it’s still there, even though you can’t see it).
That’s the easiest way I can think on how to do it.
If you have wordpress, you can use the Plugin WP-Social-Mouse-Over
http://www.pluginbay.com/downloads/wp-social-mouse-over-plugin
It provides some php shortcodes that you can implement in your theme.
It automatically generates images that can be hovered and load the buttons after beeing hovered/mous-over
Today I looked for a script like that. I found this, maybe this helps you: http://rpardz.com/blog/load-social-buttons-ajax-jquery/