Tag Archives: Javascript

Ryan Eagle Facebook Page Updates

[fb_embed_post href=”https://www.facebook.com/tacox/posts/10101046946962067/” width=”502″/]

Like usual, I got carried away learning how to utilize tabs and the unique permissions that Facebook has to offer (like incentivizing people to “like” pages). I am a hustler at utilizing social media for free viral marketing but when it came to actually leveraging fan pages to their full ability (custom tabs and code) – I failed completely.

fan-blocked-pageThings have thankfully changed since I started using Facebook to market businesses and it’s gotten a lot easier. Back during the BLAM Ads days I had to pay a couple programmers to develop a custom registration that utilized FBML. Now, they allow you to use simple HTML markup (with HTTPS) and it’s a wise move for them. I consider myself pretty technically smart – but FBML was beyond my scope of even caring.

Now they offer simple applications that allow you to customize permissions, who gets to see what, and a whole bunch of other features that used to take programmers to create. As I’ve said in my past, I use RyanEagle.com as the “testing ground” for all my development because I risk nothing if it gets screwed up. Yesterday I experimented with creating custom tabs that showed hidden easter eggs (to fans) while blocking / forcing people to become fans to gain access to it. It was especially fun considering the only people that have time in their day to scour through my site for hidden links are haters, so now I made them like my fan page to get what they wanted. I have a weird sense of humor, what can I say? Here is an example

Custom Facebook Page Tabs:

  • Site Easter Eggs
    With a forced fan-gate, took a couple minutes to setup.
  • Twitter Feed
    I used a third party application that read my feed, displaying it beautifully within Facebook. I remember trying to do this before and it took me hours – now, just minutes.
  • RyanEagle.com Tab
    My main goal is getting people off of Facebook and onto my homepage and blog – I really don’t like “sharing content” with anyone else, especially Facebook. This tab simply redirects people to my homepage.

Regardless, all the playing around I did yesterday gave me a bunch of killer ideas to utilize in business and even though I delayed some important priorities while I had fun with my hobbies – they paid off. I’m going to create a special CSS formatted social feed (like my homepage) for my Facebook Page allowing me to delete all the other tabs as it will be completely syndicated. It seems stupid to play around with this stuff (and it is) but it sparked a couple ideas that I have not even thought about before. On the other hand, I could be trying to convince myself that I didn’t waste time when realistically I did – who knows, I’m a good bullshitter.

RyanEagle.com Main Page Ask.fm Feed

I wanted to get my Ryan Eagle Ask.fm RSS feed integrated on the RyanEagle.com main page since I started using it more. Today one of my new developers created a quick WordPress Plugin and integrated it on my site main homepage alongside the Instagram, Facebook and Twitter feeds. The plugin is also setup in a way that generates WordPress posts for each question – essentially creating an archive. I plan on releasing an AMA (Ask Me Anything) section in the near future where people can both ask questions & see the full history of categorized questions (into business, funny, favorites, hater, advice, etc).

As part of the “testing process” for hiring new developers at Sidago Integrated Solutions, I have them work on small tasks that have no real risk if they get messed up. I use my RyanEagle.com as a ‘training ground’ for the new developers so we can test their quality and teamwork (I apologize in advance when you visit here and things are randomly broken). The next social feeds test projects new developers working on is a WordPress RSS Blog Feed (for my main posts & short posts), a Tumblr feed (for my ramblings). and finally a Google+ feed (to motivate me to actually use my Ryan Eagle Google+).

RyanEagle.com Site Integration Examples:

askfeedall

New Site Intro Using Toggle Hidden DIV

In my spare time it’s been my new hobby to re-learn HTML and CSS (post coming up soon regarding it). I’m using RyanEagle.com as my “testing” ground, risking little. Yesterday I managed to make all the mobile menus disappear on my main site, you could say I’m still quite the beginner. It was time to write an updated intro copy for my website and wanted to experiment with hiding & displaying <div>‘s – perfect opportunity. My goal was to create a concise introduction that briefly introduces who I am, without overwhelming people with information. I achieved this perfectly with the newfound code I’ll share with you today, Below a preview of the introduction located directly on the Ryan Eagle Homepage, click the image to see the interactive (and mobile friendly) introduction.
Using Toggle DIV

How To Toggle Hide <div>’s:

To achieve the toggle hiding div effect I used some pretty simple code – a combination of Javascript, HTML5 and CSS3. First, start by adding the Javascript to your webpage:

<script type=”text/javascript”>
function toggleMe(a){
var e=document.getElementById(a);
var i = document.getElementById(a + ‘_image’);
if(!e)return true;
if(e.style.display==”none”){
e.style.display=”block”
i.src = ‘TOGGLE_IMAGE_1.GIF’;
} else {
e.style.display=”none”
i.src = ‘TOGGLE_IMAGE_2.GIF’;
}
return false;
}
</script>

Now, for the hidden <div>:

<div id=”YOUR-ID-HERE” style=”display:none”>Any Content Here Will Be Hidden On Default</div>

Now, for the link code. Before continuing, you don’t need to restrict the use of this Javascript code to text – you can use this function to make everything from <div>‘s, to <li>‘s, to <img>‘s clickable:

<span style=”cursor:pointer;” onclick=”return toggleMe(‘YOUR-ID-HERE’);”>Clickable Text, You May Want To Consider Adding An Underline or Other Effects so Visitors Know The Element Can Be Clicked</span>

Ta’da, you’re done. That was pretty painless wasn’t it? Now this may not be as cool for you as it was for me, but getting it to work was quite the accomplishment for me. Let’s say the last time I hard coded without the assistance of Dreamweaver was before HTML5 was released.

A Look Back… Developing My Timeline

//

summary :

Over the course of the last couple weeks I spent time developing an interactive Personal Timeline that covers personal highlights, business highlights, and goals that I have achieved. For a shortened version, I’ve created a Timeline Overview and also divided sections including a Business Timeline and an Achievements Timeline.
[close summary]

I’d like to preface this post with one point – RyanEagle.com is divided up into two general categories of content : for me and for visitors. Most, if not all, the content on RyanEagle.com is for me and my personal records; especially sections like the historical site archive  and the goals page . The latter half is for people interested in finding information about me (like my companies , contact me , etc).

Personal Timeline

Over the past couple weeks in my spare time setting up a personal timeline – and to say the least actually completing it made me feel great. For the first time in my life I have actual chronological dates of my business experiences, personal experiences, and goals. I’ve always had to guess the dates of my achievements and major life events but now I finally have something to go back to and reference. Pinpointing important dates like my first business idea, my first girlfriend, when I got my dog, and other events has been challenging but fun. I’ve worked with my parents on a lot of the personal events, and utilized tools like Archive.org and Domain Tools to figure out other specific business events. Currently, I’m in the process of working with my parents to compile a year by year archive of personal pictures – something nice to digitize considering nobody looks at old photo albums anymore.

Rather than requiring people to sift through the complete timeline, I’m in the process of creating subpages including : a Timeline Overview, a Business Timeline and a Goal Timeline. I hope to provide more refined or specific information information on these sub-timelines. Additionally, over the next couple months I’m going to be writing expanded detail sections (ie: 2014 Expanded) for date ranges where I go more in-depth to events of that year(s). Quite the undertaking, but it’s going to be nice to complete everything, knowing that going forward I can keep better records.