[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
JavaScript Buttons and [page] Directive
****** message to minivend-users from "Robert Z. McFarland" <webmaster@wj.net> ******
Dear Sir(s) or Madam(s):
I am running Linux 2.0.30, MiniVend 3.07, perl V5.004, GDBM and all my
error logs are clean.
My SSL server is a different domain from my normal web server (same machine).
ord/checkout is configured to be AlwaysSecure.
How do I implement a "Check Out" javascript button (onMouseover,
onMouseOut) that will access my SSL server when clicked? My other
javascript buttons work OK but the "Check Out" button accesses the normal
web server, not the SSL server.
For example, my "Shopping Cart" button works fine with:
[page ord/basket]
<A HREF="ord/basket.html"
onMouseOver="imgOn('shop_')"
onMouseOut="imgOff('shop_')">
<IMG SRC="java_buttons/shop_off.gif" NAME="shop_" HEIGHT="20" WIDTH="150"
ORDER="0">
</A>
[/page]
but the "Check Out" button using similar HTML (follows) does NOT access the
SSL server:
[page ord/checkout]
<A HREF="ord/checkout.html"
onMouseOver="imgOn('chkout_')"
onMouseOut="imgOff('chkout_')">
<IMG SRC="java_buttons/chkout_off.gif" NAME="shop_" HEIGHT="20" WIDTH="150"
ORDER="0">
</A>
[/page]
In a nutshell, I don't understand how to implement javascript buttons
(which require an <A HREF...> tag using the [page] directive. Obviously,
any solution that works will do just fine. Perhaps the [page] directive is
not appropriate for javascript buttons? Has anyone implemented a working
solution for a javascript button that accesses an SSL server (where the SSL
server is a different domain from normal web server)?
I have spent a long day experimenting with the HTML, scouring the MiniVend
FAQ, scouring the 3.07 documentation and searching for a solution through
AltaVista. Your assistance would be greatly appreciated.
Sincerely,
Rob
--
Robert Z. McFarland __ __
CEO \ \ /\ / /
Web Jammin' Internet Presence Services \ \ / __ / /
webmaster@wj.net \ \/ /\ \/ /
Houston, TX \__/ \__/
http://wj.net
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list