★ wanayoo — archive 1999 http://webdeveloper.com/drweb/19981214-drweb.htmlNouvelle recherche | Portail wanayoo
internet.com

Go to WebDeveloper Home

Seek and you shall

or search all of internet.com
Looking for a Site Map?
Vote for WD!
Please keep
voting for us
as a Top 100
Web site!

The Web Developer Network
WebDeveloper.com
Streaming Media World
WebReference.com
Web Developer's Virtual Library
BrowserWatch
Java Boutique
Web Developer's Journal
JavaScript Source
ScriptSearch
Web Developer Forums
Web Developer News

internet.com
Internet News
Internet Stocks
Internet Technology
Web Developer
Internet Marketing
ISP
Downloads
Internet Resources
International

Search internet.com
Advertising Info
Corporate Info
Internet Trade Shows

internet.commerce
Be an Affiliate
Be a Partner
Software Store
Computer Help
Register a Domain
Be Domain Registrar
e-solutions
Internet Jobs
A/V Network
Map Your Website
Rent E-mail Lists
Bookstore
Press Release dist.
Sell Ad Space
Internet Research
Venture Capital
Web Publishing
Build Your Intranet
Expert Advice
Get e-Biz Intell.
Content for Websites

  Earn cash for Clicks!
D R .   W E B S I T E
WebDeveloper.com

December 14, 1998

Setting Up Guestbook Applications; Mouseover Scripts; Uploading Files to Web Sites

By David Fiedler and Scott Clark

Dear Dr. Website: I developed my Web pages with Microsoft Publisher, and I set up a booking form/guestbook to receive feedback. My ISP does not support FrontPage extensions, but it does support cgi-bin cgiemail. In my www directory, I set up a bookings directory. In Publisher, I set my action to POST, and I put "Booking Form" in my hidden field. For the hidden value I put the URL of the first page of my site. Am I going about this correctly?

You'll want to start with a script designed specifically for guestbook applications. One place to look is ScriptSearch.com. It has a section that's devoted to Perl guestbook scripts, many of which are free. You can download several and try them out on your system.

Dear Dr. Website: I have been working on a mouseover script. I can get a mouseover to change the image that is cursored over, but what I want it to do is to change another image at the same time.

Assuming you already have a function that works for mouseovers, point to two instances of the function within the mouseover, like this:

mouseover="swapem(button, bon); swapem(icon, a1on); return true"

Here is the function we tested it with ("button" and "icon" refer to the two images):

if (document.images){
bon = new Image();
bon.src = "/old?u=http%3A%2F%2Fwebdeveloper.com%2Fdrweb%2Fbutton.gif&y=1999";
a1on = new Image();
a1on.src = "/old?u=http%3A%2F%2Fwebdeveloper.com%2Fdrweb%2Fbabycrawling.gif&y=1999";
}
function swapem(iname, gname) {
iname.src = /old?u=http%3A%2F%2Fwebdeveloper.com%2Fdrweb%2Fgname.src&y=1999
}

Dear Dr. Website: I have a picture of a room with two cats that I made into an image map. When the mouse is moved over a cat or an object, I want a tag or a small box (even the status bar would be OK) to pop up and say something. I've tried applets (TagArea) and mouseover events, but nothing seems to work.

Try something like this out (move your mouse over the image from the WebDeveloper.com site):

<img vspace=4 height=35 width=130 src=/old?u=http%3A%2F%2Fwebdeveloper.com%2Fdrweb%2F%26quot%3Bhttp%3A%2Fwww.webdeveloper.com%2Fimg%2Fwebdev-micro.gif%26quot&y=1999 ISMAP USEMAP="#wdmap" border=0>
<MAP NAME="wdmap">
<AREA SHAPE=RECT COORDS="0,0,130,35" HREF=/old?u=http%3A%2F%2Fwebdeveloper.com%2Fdrweb%2F%26quot%3Bhttp%3A%2Fwebdeveloper.com%26quot&y=1999 onMouseOver="alert('You really thought I would move for that mouse--ha')";>
</MAP>

Dear Dr. Website: Is there a way I can upload a file selected by a user from the user's machine to the server? I'd like to find a solution in Java, but if the only solution is using CGI, could you send me an example?

I'm not aware of any such JavaScripts or applets, but a script written by Jeff Carnahan is available for free. It's a CGI script, but it's pretty easy to set up and requires only minimal knowledge of CGI. You can also check out ScriptSearch.com for alternatives.


Visit The Dr. Website Archives.
Click here for a list of Dr. Website's most frequently asked questions (and answers!).
Send your own question to Dr. Website.

Fast Jump to Anywhere on WebDeveloper.com:

Get in on the Ground Floor of Internet Publishing



Copyright © 1999 internet.com Corporation
All Rights Reserved. Legal Notices.
Contact the WebDeveloper.com staff

Last modified: Wed Sep 22 06:06:41 EDT 1999

http://www.internet.com

 

Refresh Daily
Join Editor-in-Chief David Fiedler The Editor With No Time and find truth, justice, and a clue or two.


Browse by Category
[ Site Map ]

ActiveX / VBscript
Animated GIF Archive
Browsers
CGI / Perl
Database Connectivity
E-Commerce
HTML-Advanced: DHTML, CSS
HTML / Site Authoring Tools
Intranet/Groupware
Java
JavaScript
Multimedia: Audio / Video / Streaming Technologies
Opinions
Refresh Daily: Editorial Column
Security
Servers & Server Tools
Site Design / Graphics
Site Management / Marketing / Log File Analysis
VRML / 3D
XML