|
Post by Streamstrider on Jan 24, 2012 8:10:32 GMT -8
Okay, so here's the idea that I'm not sure is possible or not. . . . XD
Say there was a link that, when clicked, would open a small new window showing that forum's mini-banners. When one of the mini-banners is clicked, it copies the code for that affiliate banner to the person's clipboard. There could be instruction text above the banners that says "Click Image To Copy Affiliate Code" and when copied, the text changes to "Code Copied" and then fades away to the original instruction text.
Whatchu think?
|
|
NetMaster
Code Helper
"Get caught in my web!"
Posts: 305
NetMaster said 0 great things
|
Post by NetMaster on Jan 24, 2012 10:27:05 GMT -8
After doing some research on javascript and the clipboard, there is a way to do so, BUT it's an ongoing process to make it both cross browser and cross-browser accepted. (Most browsers have security issues with scripts that modify the clipboard.) stackoverflow.com/questions/400212/how-to-copy-to-clipboard-in-javascriptBut maybe Wormo knows something that those people didn't. (That doesn't require using flash files...)
|
|
|
Post by Wormopolis on Jan 24, 2012 21:13:03 GMT -8
I just did some research as well.. the only way it seems to work cross browser is with the use of flash.
|
|
|
Post by Streamstrider on Jan 26, 2012 10:36:56 GMT -8
Rawr. XD What if instead of having the text above the banners, let there be a textbox beneath the banners that shows the affiliate code for the banner they click on?
|
|
NetMaster
Code Helper
"Get caught in my web!"
Posts: 305
NetMaster said 0 great things
|
Post by NetMaster on Jan 26, 2012 10:42:11 GMT -8
So
1) User clicks on link
2) Pop-up window opens that displays multiple banners and a text area beneath all of them
3) User clicks on a banner and it displays the text for that banner in the text area and has it already selected so users can hit Ctrl + C to copy.
Right?
(And of course the text area has a default text that reads "Click on a banner to display code for that banner." )
|
|
|
Post by Wormopolis on Jan 26, 2012 15:46:43 GMT -8
be cooler if jQuery was used to open the affiliates box... have some animation to it.
|
|
NetMaster
Code Helper
"Get caught in my web!"
Posts: 305
NetMaster said 0 great things
|
Post by NetMaster on Jan 27, 2012 6:25:07 GMT -8
that it would Wormo and I think I can help with that.
So:
1) user clicks on link/image
2) Div scrolls down that contains different banners
And now it can go a couple of different ways:
3) Same as before, there are multiple images and one text area beneath
or
3) There are multiple images, clicking on one of them causes a text area to slide down beneath the picture. And then it can be so only one text area is visible at a time.
|
|
|
Post by Streamstrider on Feb 3, 2012 8:11:57 GMT -8
Probably without the animation. I want to make it fairly simple, especially for those who have slow connections or who have issues with the animations.
|
|
NetMaster
Code Helper
"Get caught in my web!"
Posts: 305
NetMaster said 0 great things
|
Post by NetMaster on Feb 8, 2012 11:29:29 GMT -8
Okay then so
1) User clicks on link/image 2) div appears beneath that contains banners and textarea 3) person clicks on banner and the code for that banner is displayed in textarea
|
|
|
Post by Streamstrider on Feb 26, 2012 17:47:54 GMT -8
That'll do it.
|
|