Javascript selection drop down using form <select> and <option> code for automatic link redirection. Copy and paste the code as outlined below. Works in HTML5, HTML 4.01 and responsive websites.
See Also…
Free scripts & add-ons
Example
Step #1: Add code to the head section Copy the following code and add it just above the </head> in your HTML webpage(s):
Note: This script can optionally be added globally to your Allwebco template by placing the above script near the top of your "javascripts.js" and removing the opening and closing <script> tags (does not work in templates with jQuery includes, see section below).
Step #2: Add menu HTML code Copy the code below and paste it anywhere into the <body> section of your HTML webpages, or in your "sidebar.htm" if your template has one (see notes below). The script can optionally be added to global .js files (menu, sidebar, header or footer). Adding to a .js file is more involved and is recommended for more experienced HTML programmers (see notes below).
Adding the menu to a .js file If you are adding the menu to a .js file (sidebar.js, menu.js, etc.), still do step #1 above just as outlined in each of your HTML pages. For step #2, add the code to the .js file, remove the top note, and place document.write(' in front of every line and '); at the end of every line. Also see the add to .js files support page.
Adding to an IFrame sidebar.htm Do the steps as normal above adding all code to the "sidebar.htm" as long as your "sidebar.htm" is not in the "includes" folder.
Adding to a sidebar.htm "include" If adding this script to a "sidebar.htm" that is inside an "includes" folder, just add the step #1 <head> code to the top of the "sidebar.htm". There is no <head> section in jQuery "include" files.
Using absolute css to re-locate it You can use css "position absolute" code to place the selector menu anywhere on your HTML pages. See: css locate DIV tutorial.
You can use any plain text editor like Notepad or TextEdit on Mac to add images to the body of your webpages. If your template is mobile or responsive do not exceed about 290 pixels in width for the image, or use the responsive code below.
See Also…
Replacing webpage pictures
Quick code to make an image responsive Select, copy and paste the following css style code. Add it to your image to make it flex for desktop, smartphone and mobile devices. Remove any height and width code.
style="max-width: 100%; height: auto;"
In your HTML page, add the above code as highlighted below:
Responsive image using a new class This will create a new class you can use to make any image responsive. If your website or template has a global .css file like a "style.css", add the following code to your .css file. You can add it anywhere on it's own line, or add it to the bottom of the file.
.resp-image { max-width: 100%; height: auto; }
In your HTML page, add the new class as highlighted below:
Basic HTML image code Non-responsive, for images less than about 290 pixels wide (or for any sized non-responsive image). To add a .jpg graphic into the body of your webpage, select, copy and paste the following HTML code into your webpage:
Now create a .jpg graphic called "sample-image.jpg" and put it into your picts folder. Remember that hosting is case sensitive so don't use any capital letters on either the page code or the image file name. Make sure your page code and the graphic name match exactly.
Sample Image #1
To center the image on the page, add css centering tags as shown below:
Basic responsive image Use the following code for a basic responsive image. This is the simplest code for an image that will flex to fit the space and not exceed it's actual dimensions. Size your jpg image to the widest size you want the image to display on the webpage.
Responsive image with a link and caption The following code allows you to add any size image to a responsive website or template html page with a link, top and bottom margins and a centered caption. A max-width is included so the image will not exceed 650 pixels in width.
Note: This webpage is responsive. Narrow your browser width to see the image respond.
We have posted an article about embedding SoundCloud sounds in Blogger and after reading that, few folks asked us about adding background music to their blogs that is without showing any player controls to their visitors. You might have noticed in some blogs that once when you land on it some music suddenly starts to play. It may be pleasant or annoying; whatever it is they add it to grab their visitor’s attention. How about you would you like to add a nice instrumental music to your blog background? It’s simple, here we will see how to add background music or sound to Blogger blog.
There are many ways to add background music to your blog but here we will show you the easy one. By using <audio> tag you can embed a music player with visible controls; make a sound to play at once when the website loads and add a background music that plays endlessly with controls hidden. Alright, let’s see how to do this.
How to add background music or sound to Blogger blog
First before adding background music to your blog you must have a music file to call in. Just in Google, search for royalty free music’s and you will see many sites offering free music downloads. Select any suitable background music for your blog or if you have already got one, then just upload it to any online storage sites there are hundreds of best free file hosting servers. Hope your music file is ready; now move on to Blogger part.
Login to your Blogger blog and then choose the blog where you wish to add your background music. Next go to Layout, choose “add a gadget”, select HTML/JavaScript gadget and then add the below line.
Now in source src=”” add your music file location, save the gadget and then view your blog where you can hear the music playing, but the controls are hidden. In the above code “autoplay” starts to play the sound as soon as it is ready and “loop” will make the audio to repeat every time when it is finished.
If you would like to show audio controls for your visitors then just add controls inside the audio tag just like this.
If you wish to add a music player or make music to play in just single post or page, then you can add it only in that particular page. The audio player control doesn’t fits your blog sidebar, say you want to increase the player width. To do so add an id inside the tag like this <audio id=”player” controls autoplay loop> then add a CSS like this
#player {
width: 100%;
}
That’s it! Hope that helped you to add background music to your blog.
YouTube is the world’s largest video sharing site and with every second one hour of video is uploaded. As a blogger you will be sharing and posting more articles. Other than text, embedding a YouTube video tutorial will be greatly useful for your site visitors. With simple embed code YouTube makes us easy to embed a video in to our site. For branding you will decide to remove YouTube logo from embedded video, but there is another reason which you probably don’t know. So we have decided to make a post on how to remove YouTube logo and title links from embedded video.
Reason to remove YouTube logo and title links from embedded video
To help your site visitors you will be embedding YouTube videos in your site, but this can cause to lose your site visitor. A person when viewing a video in your site can click that YouTube logo or title links and jumps to YouTube in which you are losing your site visitor. To keep your site visitor and to reduce bounce rate you should embed YouTube video without YouTube logo and title links. Let’s see how to remove YouTube logo and title links from embedded video.
Remove YouTube logo and title links from embedded video
The image above is the results you see with normal iFrame embed. With this there are three ways users can jump to YouTube when viewing videos in your site.
From the bottom right corner YouTube logo
From the title link above the video and
From the list of suggested videos when the video finishes
So we are going to remove these three options. The procedure is same as normal iframe embed, but we are going to add some simple code. Let’s see how it works.
How to remove YouTube logo and title links from embedded video
Go to YouTube.com and select the video you wish to embed
Choose share >> embed and grab the Iframe embed code. Make sure to uncheck the “show suggested videos when the video finishes”.
Grab that iframe code and paste it in to your site.
In that code remove rel=0 at the end of the YouTube URL (next to question mark ?) and remove allowfullscreenbefore the closing angle brackets.
Now paste the following code at the end of the YouTube URL (next to question mark ?). See the image below.
modestbranding=1&showinfo=0&fs=0
Once done save changes and check the embedded video in your site. You won’t see YouTube logo, Title links, full screen option and suggested videos at the end. Now your site visitors can’t jump to YouTube.
Hope you like this article on how to remove YouTube logo and title links from embedded video. Now learn how to add logo to YouTube video for branding Please share and comment your ideas below. Subscribe to get more updates from Blog Time Now.
Email subscription widget is a subscription form for bloggersidebar provided by feedburner, this widget help your interested visitors to get latest updates from your blog via e-mail. People just enter their email address and then click on the "Subscribe" button and then, they would get all your blog's updates right on their email's Inbox. These widgets not only increase your traffic but also helps you to grow a loyal community of readers.
Benefits Of Email Subscription Widget
Email Subscription box is also considered as the best ways to promote a website. Subscription widget help you in creating an active community of readers and boost your blog traffic. More traffic = More AdSense earning. This widget help you to deliver latest posts to your customers instantaneously via Email, and the best part of this widget is that you will get social media links free in it which are going to help you to connect with your customers via social media channels.
Even blogger provide the Email subscription widget for blogger but that was not as much appealing as a custom stylish email subscription box with social media integration. Custom email subscription widgetprovide email subscription service as well as social media service. Here are some best subscription widgets for blogger, so choose according to the design of your blog and follow the steps given below:
Steps: How To Add A Stylish Subscription Widget To Blogger
Step 1. Log in to your Blogger account, then go to Layout > click on the 'Add a gadget' link on the left side.
Step 2. Choose HTML/JavaScriptfrom the pop-up window > paste the code of the subscription widget inside the empty box.
Step 3. Configuration of Subscription Box.
Replace [Your Blog uri] with Your blog Uri which is basically your Feed title. You can get it by visiting http://feedburner.google.com and then navigate to Publicize > Email Subscription and find your uri value in given box. For eg: http://feedburner.google.com/fb/a/mailverify?uri=Howbloggerz and <input name='uri' type='hidden' value='Howbloggerz'/>
Replace [Fb url] with your Facebook page URL. For eg: https://www.facebook.com/howbloggerz
Replace [Twitter url] with your twitter page URL. For eg: http://www.twitter.com/howbloggerz
Replace [Google+ url] with your google+ page or account URL. For eg: https://plus.google.com/101438893480071463583
Replace [RSS url] with your RSS URL. For eg: http://feeds.feedburner.com/howbloggerz
Replace [Pinterest url] with your pinterest URL.
Replace [Twitter Username] with your twitter account username. For eg : @Howbloggerz
Replace [Fb Page Name] with your Facebook Page Name. For eg : Howbloggerz
Note: Minimum Sidebar width required - 230px.
Read: How to Change Email Subscription Delivery Time
Step 4. Press Save.
Enjoy !
Now visitors of your blog will be able to subscribe your blog easy by using Subscription widget. For any issues related to above Subscription boxesPlease Comment Below. More Subscription widgets will be added soon. Stay Updated, Browse Howbloggerz ! :)