Infinite-loop Question: Is It Possible To Make A "copy This Code To Share", With A "copy This Code To Share" Inside Of It?
I want to make a blog that everyone can copy the HTML of the blog (which contains links, pics, and text) to share on their own blog. I want the blog that they share to also have th
Solution 1:
You make the "Share this" a button, that with javascript shows a box (made with a DIV) with the HTML to copy/paste.
The box should then include everything you need to share. That then includes the button and Javascript for sharing. That way when they copy and paste the code to share, they also include the "Share this button"
No infinite recursion needed.
Post a Comment for "Infinite-loop Question: Is It Possible To Make A "copy This Code To Share", With A "copy This Code To Share" Inside Of It?"