Created
December 8, 2013 02:41
-
-
Save flakd/7852734 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #container {position:absolute;} | |
| #controls, #mf_frame {display:table-cell; vertical-align:top;} | |
| #controls {top:0;} | |
| #mf_frame {overflow:scroll}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="description" content="MF Automation" /> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"> | |
| </script> | |
| <!-- Latest compiled and minified CSS --> | |
| <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> | |
| <!-- Optional theme --> | |
| <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css"> | |
| <!-- Latest compiled and minified JavaScript --> | |
| <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> | |
| <meta charset=utf-8 /> | |
| <title>MF Automation</title> | |
| </head> | |
| <body> | |
| <div id="container"> | |
| <div id="controls"> | |
| <div class="btn-group-xs btn-group-vertical"> | |
| <button id="F_Tweets" value="F_Tweets" type="button" class="btn btn-default">F_Tweets</button> | |
| <button id="F_Follwrs" value="F_Follwrs" type="button" class="btn btn-default">F_Follwrs</button> | |
| <button id="UnFollow" value="UnFollow" type="button" class="btn btn-default">UnFollow</button> | |
| </div> | |
| </div> | |
| <div id="mf_frame"> | |
| <iframe frameborder="1" height="800px" id="MFlitter" name="MFlitter" scrolling="auto" src="http://manageflitter.com/search/tweets" width="1000px"></iframe> | |
| </div> | |
| </div> | |
| </body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document).ready(function(){ | |
| document.domain = 'manageflitter.com'; | |
| //default MF_URL: "http://manageflitter.com/search/tweets"; | |
| FllwBy_Tweet_URL = "http://manageflitter.com/search/tweets"; | |
| Fllw_Simple_URL = "http://manageflitter.com/follow"; | |
| UnFllw_Simple_URL = "http://manageflitter.com/unfollow"; | |
| function FollowBy_Tweet(){ | |
| $('#MFlitter').attr("src",FllwBy_Tweet_URL); | |
| } | |
| function FollowBy_Copy(){ | |
| $('#MFlitter').attr("src",Fllw_Simple_URL); | |
| $('#MFlitter').load(function(){ | |
| alert($('#MFlitter').attr("src")); | |
| $("div#showCopyFollowers.button.basicOnly.tooltipRight.proFeature.active").click(function(){ | |
| alert("c"); | |
| $('#MFlitter').load(function(){ | |
| alert("d"); | |
| }); | |
| }); | |
| }); | |
| } | |
| function UnFollow_Simple(){ | |
| $('#MFlitter').attr("src",UnFllw_Simple_URL); | |
| } | |
| $('#F_Tweets').click(function() {FollowBy_Tweet();} ); | |
| $('#F_Follwrs').click(function() {FollowBy_Copy();} ); | |
| $('#UnFollow').click(function() {UnFollow_Simple();} ); | |
| }); //document.ready |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment