Click to See Complete Forum and Search --> : Need help with scrolling "child" from form


D.S.R.Clark
08-22-2003, 11:48 PM
I am using a free shopping cart; cart on a secure server. I am able to make it look like my site, but don't want to leave. I would like to open the cart wind as a "child" that scrolls. I am using a multi-item select script. This is the top:


<FORM METHOD="POST" ACTION="http://ww6.aitsafe.com/cf/addmulti.cfm" target="_child">
<INPUT TYPE="HIDDEN" NAME="userid" VALUE="XXXXXX">


This is the go button:

<INPUT TYPE="SUBMIT" VALUE="Order Patterns, Please!">


Any thoughts, please??

Thank you in advance

Jupac
08-22-2003, 11:57 PM
Try this
<script type="text/javascript">
<!--
function go(){
var code=style=visiblity:visible;
ok2.code
}
// -->
use i frame
<iframe src=http://ww6.aitsafe.com/cf/addmulti.cfm style="visiblity:hidden;" name=ok2></iframe
<FORM METHOD="POST" onsubmit=ok()">
<INPUT TYPE="HIDDEN" NAME="userid" VALUE="XXXXXX">
<INPUT TYPE="SUBMIT" VALUE="Order Patterns, Please!">
</form>
dont no if it will work havent test ho

Jupac
08-22-2003, 11:58 PM
opps i think that there wrong 1

<script type="text/javascript">
<!--
function go(){
var code=style="visiblity:visible;"
ok2.code
}
// -->
</script>
<iframe src=http://ww6.aitsafe.com/cf/addmulti.cfm style="visiblity:hidden;" name=ok2></iframe
<FORM METHOD="POST" onsubmit=ok()">
<INPUT TYPE="HIDDEN" NAME="userid" VALUE="XXXXXX">
<INPUT TYPE="SUBMIT" VALUE="Order Patterns, Please!">
</form>

pyro
08-23-2003, 12:42 PM
Try target="_blank" in your form... If that's not what you need, can you try explaining what you are looking for better?

D.S.R.Clark
08-23-2003, 07:17 PM
What I am needing is a "child" that opens, sized( Height=600, Width=600), that still scrolls, since it is a ful-sized page that I want to view. I used target"_blank", but ofcourse, it opens a full window on top. Although the shopping cart is configurable, a little, the visitor still leaves the site. And then is routed back after the sale. If I could open it in a scrollable half-sized window, a "pop-up", the customer would feel a little better, and we would look a little more professional!

Thanks, David

Here is the code that I am working with:

<FORM METHOD="POST" ACTION="http://ww6.aitsafe.com/cf/addmulti.cfm" target="_child">
<INPUT TYPE="HIDDEN" NAME="userid" VALUE="XXXXXX">


This is the go button:

<INPUT TYPE="SUBMIT" VALUE="Order Patterns, Please!">

pyro
08-23-2003, 07:21 PM
Originally posted by D.S.R.Clark
I used target"_blank", but ofcourse, it opens a full window on top.Why is that not what you need? Just the size? The problem with using JavaScript in this instance, is keeping your page accessable to those with JavaScript turned off...

D.S.R.Clark
08-23-2003, 07:54 PM
What I am looking for is: (1) a sized pop-up window.
(2) I need it to be scrollable, instead of fixed.

I have seen much discussion on the subject of javascript being turned-off. Is this really a big problem. What I mean is, does Windows ME, XP, 98SE come with this already turned off?

According to our site statistics 40% are using XP. The rest are using ME or 98. This covers about 95% of our visitors. 94% are using IE Explorer and 5% are using Netscape. The rest are rouge browsers. I only want to build one site that is accessable to most of the people. Since we cater mostly to "moms" the non-techy sort, unless these system come with javascript already turned off, I wouldn'yt think it would be a problem.

Your thoughts, please!

Again, what I am looking for is a SCROLLABLE, SIZED pop-up window.

Oh, yes, I have also, seen discussion on pop-ups. What is this about??

Thanks, david :confused:

pyro
08-23-2003, 08:05 PM
#1. Yes, keeping your pages compatable for those without JavaScript is a fairly large issue... Also, there isn't an easy solution to the question you have. I've never done it that way, and I'm guessing it would take a bit of scripting/testing to get it working.

#2. It is an Priority 2 accessability checkpoint that one should not use popups... http://www.w3.org/TR/WCAG10/wai-pageauth.html#tech-avoid-pop-ups With it being Priority 2, I won't yell at you, if you use them... ;)