Help with form - Post ID 259548
Hi, I've been trying all the options mentioned on the forum about getting the paypal window to scroll to the top of the page so that the buyer can see it and make a payment. After the form is submitted it stays at the bottom of the page and the user needs to scroll to the top to see the paypal button. I've tried adding the javascript I found bu that doesn't work (see code below), and I've tried adding an onload body tag mentioned in another thread. Any new ideas to get this to work? Here is a link to one of my forms http://susanwhitephoto.com/book-a-sessi … ssion.html
I just tried putting this on the user forumn but wasn't allowed access. Not sure why?
Thanks!
I just tried putting this on the user forumn but wasn't allowed access. Not sure why?
Thanks!
Here is the code I put in the Configure Payments Page:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script language="javascript">$(document).ready(function() {
$('body').load(function(){
$(window).scrollTo('#fb_confirm_inline');
});
});</script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script language="javascript">$(document).ready(function() {
$('body').load(function(){
$(window).scrollTo('#fb_confirm_inline');
});
});</script>
Can we have a link to your form? The one above isn't complete. Use the url tags in the post menu.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Thanks for letting me know.
Here is the link:
http://susanwhitephoto.com/book-a-session/child-session/bookchildsession.html
http://susanwhitephoto.com/book-a-sessi … ssion.html
Here is the link:
http://susanwhitephoto.com/book-a-session/child-session/bookchildsession.html
http://susanwhitephoto.com/book-a-sessi … ssion.html
So do you want the parent page to scroll of the form to scroll? The button is in view for me.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
After the submit button is pressed I would like the page to go back to the top so that the order can be viewed and and the paypal button can be pressed. Right now the user has to manually scroll back up to the top to see whats being ordered. The button is barely in view but everything should be seen
Thanks
Thanks
Place this in the head section of your page that has the iframe on it.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script language="javascript">
$(document).ready(function() {
$('body iframe').load(function(){
$(window).scrollTop(0);
});
});
</script>
<script language="javascript">
$(document).ready(function() {
$('body iframe').load(function(){
$(window).scrollTop(0);
});
});
</script>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
That's the PERFECT solution Eric! What I like is that I can add it and it will not be deleted if I modify the webform. I could even change the value from 0 to 200 to get it exactly where I needed it.
<!-- script to put paypal form to top of page -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script language="javascript">
$(document).ready(function() {
$('body iframe').load(function(){
$(window).scrollTop(200);
});
});
</script>
<!-- end script for paypal form -->
Thanks again!
<!-- script to put paypal form to top of page -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script language="javascript">
$(document).ready(function() {
$('body iframe').load(function(){
$(window).scrollTop(200);
});
});
</script>
<!-- end script for paypal form -->
Thanks again!
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.