I've spent way too long on this, so I have to ask now since I
don't know anything about JavaScript.  ;-)  Can someone please
tell me if this type of image rollover effect below, (or one
that does the same thing)...........

<A HREF="whatever.html" onMouseover="lightup('pic1')"
onMouseout="turnoff('pic1')"><IMG SRC="../images/ImageName.gif"
name="pic1" width="117" height="29" border="0"></A>

....can be used WITHIN this form for the image listed in it?:

<form target="[whatever]" action="https://[WebpageName]";
method="post">
<input type="image" src="/images2/ImageName.gif" width="117"
height="29" name="submit" alt="blah blah">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business"
value="[EMAIL PROTECTED]">
<input type="hidden" name="item_name" value="name here">
<input type="hidden" name="item_number" value="ID here">
<input type="hidden" name="amount" value="0.00">
<input type="hidden" name="page_style" value="1">
<input type="hidden" name="return"
value="http://[WebpageConfirmName]";>
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
</form>

I've tried all sorts of methods trying it place it in various
areas of the form and modifying it, and none work.  The closest
I got was able to see the default image, but the hover image
never showed while hovering it, (plus there was a Java error
showing at the lower left of the browser window where they
always show in IE).  Instead, there was a square "thing" to the
left of the image, and IT was clickable and you had to hover IT
to see the hover image on the default image!  This "thing" was
an empty placeholder of some type, what it looks like in
Netscape for example when there's in image called and href'd,
but it's not there.  (In IE you see the red "X" where the image
should be, in NS you see this placeholder).  However I'm on IE
and saw this placeholder.

FYI, this is the head tag below.  Of course it's going to get
messed up emailing it, but those of you that know about it,
will know how it's supposed to look and if it's it also that
needs to be modified for form use.  I'm putting it here in case
anyone asks to see it.  That first bit of code above with this
tag below WORKS OK for JUST an image.  But, it will not work
when I try to use it with that form.

<SCRIPT language="JavaScript">
<!--
  if (document.images)
   {
     pic1on= new Image(117,29);
     pic1on.src="/images/ImageName2.gif";

     pic1off= new Image(117,29);
     pic1off.src="/images/ImageName.gif";

   }

function lightup(imgName)
 {
   if (document.images)
    {
      imgOn=eval(imgName + "on.src");
      document[imgName].src= imgOn;
    }
 }

function turnoff(imgName)
 {
   if (document.images)
    {
      imgOff=eval(imgName + "off.src");
      document[imgName].src= imgOff;
    }
 }

//-->
</SCRIPT>

I appreciate any info.
-Clint

God Bless
Clint Hamilton, Owner
http://OrpheusComputing.com )
http://ComputersCustomBuilt.com
============= PCWorks Mailing List =================
Don't see your post? Check our posting guidelines &
make sure you've followed proper posting procedures,
http://pcworkers.com/rules.htm
Contact list owner <[EMAIL PROTECTED]>
Unsubscribing and other changes: http://pcworkers.com
=====================================================

Reply via email to