Home | About Us | Contact | Writing | Sitemap
 
 
   
 
 

Web Developer Methods 1
Syndicating content of web site with rss feed, learning about internet niches, writing Catholic articles from a multidisciplinary framework, SEO Formulas and SEO Tactics.

Web Developer Methods 2
Systematic way of publishing Catholic articles online, the SEO importance of the key word "catholic", creating and publishing your own eBook


 

Embed Drop-Down Menu for Basic Catholic Web Site Development

Introduction

Given below is a simple drop-down menu which you can embed in one of your web pages. The menu lets you select from eight sites where you can discover ideas and solutions for small Catholic web site development. You can discover resources from Catholic and Technology books, blogs, links, videos, news, and search. The eight sites from which you can be able to access resources are from: Twitter, FriendFeed, Bloglines, Blogger, Librarything, Delicious, Diigo, and Rollyo.

Creating a PHP script and HTML form code

To embed the drop-down menu, you need to install a PHP script and an HTML form code within the same directory of your web site's server. This article will give the code for the PHP script and the code for the HTML form.

The PHP script

The code for the PHP script is given below. You can copy and paste the script into NotePad and then save the file as do_redirect.php After creating this file, you need to upload it using your favorite FTP Client.

<?php
$location = $_POST['location'];
header("Location: $location");
exit;
?>

Creating the drop-down HTML code

Second, embed the following HTML code in one of your web pages. So that you do not miss any detail in the code, you can just copy and paste everything given below:

<form method="post" action="do_redirect.php">
Get updates and ideas from:
<select name="location" size="1">
<option value="http://rollyo.com/philotheos2009/catholic_blog_ideas">Rollyo</option>
<option value="http://www.bloglines.com/preview?siteid=19177942">Bloglines</option>
<option value="http://twitter.com/takeng">Twitter</option>
<option value="http://friendfeed.com/takeng">FriendFeed</option>
<option value="http://www.c-internet-mission.net/">Blogger</option>
<option value="http://www.librarything.com/catalog/cimtslcwdcsn">Librarything</option>
<option value="http://delicious.com/cimgac">Delicious</option>
<option value="http://www.diigo.com/user/cimgac88">Diigo</option>
</select>
<input type="submit" value="Go!">
</form>

If everything works well, the drop-down menu will appear as seen below this page.

Published Articles Directory

Page 1 | 2 | 3 | 4 | 5

Get updates and ideas from:




 
 
Home | About Us | Web Resources | Contact | RSS Feeds | Writing | News | Internet Niches | Sitemap | Privacy Policy
Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License.