Forums | Email a Colleague | FAQ

Dr. Website Archives

Dr. Website® Archives 2002

November 14, 2002

    Question:
    Dear Dr. Website:
    Hi
    I would appreciate it if you could help me. I am wanting to design my own web page, but have no idea how to, where to begin, costs and what's needed. Do I need to go to classes or can I contact free tutorials or help. I have no idea about this type of thing so if you can help I would be thankful if you could do so in 'English'.
    Thank you very much for your time.

    Answer:
    There are many way to learn how to design a web page. Here are some links to articles that will take you step by step and answer your question on how to start and what's involved: Beginners' Guide to HTML or, How To Make Your First Web Site http://www.webdeveloper.com/html/beginners_html.html And : HTML Tutor - Getting Started http://www.webdeveloper.com/html/html_tutor.html
    Thanks,

    --Dr.Website

    Question:
    Dear Dr. Website:

    Please I donīt speak to much english but I need you to do me a favor, I want to protect all my photos in my website, I know that there is a formula, but I canīt find that on your site. I donīt understand many words. I want that, when a person clicks with the right click of a mouse the photo or image could not be copied.
    Thank you very much, I need it urgently.

    Answer:
    A script from our own JavaScriptSource.com will help you right out:

    <SCRIPT LANGUAGE="JavaScript">

    <!-- This script and many more are available free online at -->
    <!-- The JavaScript Source!! http://javascript.internet.com -->

    <!-- Begin
    function right(e) {
    var msg = "Sorry, you don't have permission to right-click.";
    if (navigator.appName == 'Netscape' && e.which == 3) { alert(msg);
    return false;
    }
    if (navigator.appName == 'Microsoft Internet Explorer' &&
    event.button==2) {
    alert(msg);
    return false;
    }
    else return true;
    }

    function trap()
    {
    if(document.images)
    {
    for(i=0;i<document.images.length;i++)
    {
    document.images[i].onmousedown = right;
    document.images[i].onmouseup = right;
    }
    }
    }
    // End -->
    </SCRIPT>
    </HEAD>

    <!-- STEP ONE: Copy the event handler into the BODY tag -->
    <BODY onLoad="trap()">
    <!-- Script Size: 0.81 KB -->
    Thanks,

    --Dr.Website

    Question:
    Dear Dr. Website:
    Hi I am trying to create a page to add to my website that will allow people to choose a background, font and font colour for their website. I can create a grid of colours to identify each colour using a table and probably the same with font colours. What I don't know is how to get the page background to change if a colour on the grid is clicked and then how to reset back to normal.

    It is not intended to be a permanent change just something to give people an idea of how different colours look on the web with various combinations of font colours.
    Can you help me please!

    Answer:
    There is currently a script on our site JavaScriptSource.com that will help you out:

    http://javascript.internet.com/bgeffects/background-color-chooser.html

    It allows the user to choose a color, and then the background is changed to that color. It currently uses a popup window to ask for the color, but that could be changed to a drop down or any other form element. Here is the code for the script:

    <!-- ONE STEP TO INSTALL BACKGROUND COLOR CHOOSER:

    1. Copy the coding into the HEAD of your HTML document -->

    <!-- STEP ONE: Paste this code into the HEAD of your HTML document -->

    <HEAD>

    <SCRIPT LANGUAGE="JavaScript">
    <!-- This script and many more are available free online at -->
    <!-- The JavaScript Source!! http://javascript.internet.com -->

    <!-- Begin
    // Ask the user for a color preference
    var displayColor = prompt("What background color do you
    want?", "yellow")

    // The default text color is black
    var textColor = "black"

    // If the user chooses a black background, change the text to white // so it is visible

    if (displayColor == "black" || displayColor ==
    "#000000" || displayColor ==
    null) {
    textColor = "white"
    }

    // Display page content
    document.writeln("<BODY BGCOLOR=" + displayColor + "
    TEXT=" + textColor + ">You chose " + displayColor + "</BODY>")
    // End -->
    </script>

    <p><center>
    <font face="arial, helvetica" size"-2">Free
    JavaScripts provided<br>
    by <a href="http://javascriptsource.com">The
    JavaScript Source</a></font>
    </center><p>

    <!-- Script Size: 1.00 KB -->

    You can find other similar scripts on the site.
    Thanks,

    --Dr.Website

    Question:
    Dear Dr. Website:
    I have a web page with graphics that I have saved to my C drive then referenced back to via the 'img src' code. Someone told me that if I turn my computer off my graphics will not be visible. Is this true? If so, what power settings do I use to keep my computer on all of the time?

    Answer:
    If you have referred to images that are stored on your local computer, they will not be visible to others viewing your site on the internet (they will appear as broken images). You will need to move them to the same directory (or you can create another directory for them) as your web pages. Then you'd point to them like this:

    <IMG SRC="/myimage.jpg">
    or
    <IMG SRC="/images/myimage.jpg">
    if you put them in a new "images" directory.
    Thanks,
    --Dr.Website

    Question:
    Dear Dr. Website:
    First I would like to appreciate your endless efforts to answer all sorts of questions in a simplified easily reachable manner. All the best, keep going.. but please try to add few more questions & answers in your newsletters, if possible.

    Now I am here to ask your help. We are planning to develop a Matchmaker portal for the global market, by utilizing my Internet technology friends. As every one suggesting different technologies to adopt, I finally decided to come to you to get concluded. Please suggest me complete technology to adopt from platform to database. Mission is to keep the initial investment and running cost as low as possible, thinking big, starting small.

    Also please suggest a good web site to find out the right web hoster either in Singapore or in India.

    Thank you very much.

    Answer:
    From platform to database aye? Well, this is just personal opinion, but I'd start with a Windows 2000 server running Microsoft Internet Information Server (IIS), and I'd use an MS Access database to start with, and ASP (using VBScript) to code the site. First you'll need to design your database (you'll need to figure out what fields the database will need, etc.).

    You'll need to be able to add/edit/delete entries from your database, and potentially let your customers add their own info to the database through your site. Once you have the site up and running, if you start getting a lot of traffic you'll want to upgrade to SQL Server, but that should be something you plan on for the future. A great place to start is the MS Access section of our new site, DatabaseJournal.com:

    http://www.databasejournal.com/features/msaccess

    You'll be able to find articles there that will show you how to create the pages for your site.

    As for a good host for your site, you can check out The Webhosts List:

    http://webhosts.thelist.com/business.php

    Thanks,

    --Dr.Website ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ForumsEmail a Colleague · FAQ



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
Avaya Article: Call Control XML - Powerful, Standards-Based Call Control
Internet.com eBook: The Pros and Cons of Outsourcing
Go Parallel Article: Scalable Parallelism with Intel(R) Threading Building Blocks
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Go Parallel Video: Intel(R) Threading Building Blocks: A New Method for Threading in C++
HP Video: Is Your Data Center Ready for a Real World Disaster?
Microsoft Partner Portal Video: Microsoft Gold Certified Partners Build Successful Practices
HP On Demand Webcast: Virtualization in Action
Go Parallel Video: Performance and Threading Tools for Game Developers
Rackspace Hosting Center: Customer Videos
Intel vPro Developer Virtual Bootcamp
HP Disaster-Proof Solutions eSeminar
HP On Demand Webcast: Discover the Benefits of Virtualization
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Microsoft Download: Silverlight 2 Software Development Kit Beta 2
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt
Iron Speed Designer Application Generator
Microsoft Download: Silverlight 2 Beta 2 Runtime
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
IBM IT Innovation Article: Green Servers Provide a Competitive Advantage
Microsoft Article: Expression Web 2 for PHP Developers--Simplify Your PHP Applications
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES