Theme Layout


Boxed or Wide or Framed


Theme Translation

Display Featured Slider

Featured Slider Styles


Display Trending Posts

Display Instagram Footer

Dark or Light Style

Powered by Blogger.

g+ followers

my tweets


Search This Blog

Blog Archive


About Me

My photo

Hey there, I'm Sunny Shell, a wretch saved by God's grace through faith in Jesus Christ the Lord. I'm married to the most incredible man on earth, who loves Jesus more than he loves me, and we have two precious adult sons.

The compassionately endures me through my metabolic disease (since 2004) that enables me to be more prayerful and careful about commitments I make and helps me to make the best use of my short time here on earth.

If you want to know more about me, click HERE.

Creating a pop-up music player for your site

As many of you have noticed, I've totally revamped the site and renamed it to: Abandoned to Christ (which has been my signature for years, so it just made sense).

I enjoy sharing content that the Lord leads for me, whether they be articles, Scripture pictures, photographs or anything else God gives me so I can create an atmosphere that rightly reveals the kindness, mercy, grace and peace of God that all His children should exhibit, whether in person or online.

I revamped my blog to a more simplistic, beautiful, user-friendly and easily navigable site. While you're here, I want you to enjoy your visit with some lovely music that will establish the same peace I try to maintain in my home.

The only problem I've found with music players is that every time you refresh the screen by moving from one article to another, the music player refreshes as well. So my youngest son, Kevin (Senior in high school) suggested I make my music player a pop-up so it won't refresh, but would rather continuously play, without interruption, while people visit my site.

I thought this was a grand idea! The only problem was finding out how to do this. I found information about how to put a music player on my blog as a widget, I also found how to make a pop-up window, but I couldn't find how to put them together and create it in such a way that the pop-up didn't keep popping up every time the page was refreshed as my visitors moved from page to page.

So after about 10 hours and two days of praying and working on it, the Lord kindly enabled me to mix and match, cut and paste javascript and cookie coding so I could provide you with soothing and beautiful background music...without interruption, without repeated uploads and with options for you to replay certain songs or my entire playlist.

If you don't see the pop-up music player, it's most likely because you have a pop-up blocker that you'll have to mark "allow all pop-ups for Abandoned to Christ". Also, I've created the cookie to pop-up only once per session. So if you close the pop-up music player rather than just minimize it, it won't pop-up again and play for you until you've closed your internet session started all over again.

Since I already did all the homework, I'm happy to share what I learned with all of you. So if you're a fellow Christian blogger and would like to offer this same wonderful option for your readers, just copy and paste this code below:

You Might Also Like

No comments

Post a Comment

"If Jesus Christ be God and died for me, then no sacrifice can be too great for me to make for Him." ~ C.T. Studd
[name=Sunny Shell] [img=] [description=Jesus is my First Love, my darling husband is my Second Love and our sons are tied for Third.] (facebook= (twitter= (instagram= (pinterest=

Follow @sunnyshell_a2c