Scrolls Up when clicking upload

XUpload related questions

Moderator: admin

Message
Author
russmc
Posts: 2
Joined: Nov 07, 2008 9:49 pm

Scrolls Up when clicking upload

#1 Postby russmc » Nov 07, 2008 9:54 pm

Hello,
I purchased pro and like it a lot, the problem I am having is that when you embed the upload form low in the page so that you have to scroll down to see and use it. when you click upload it scrolls back to the top so that they cannot see the status of what is going on with the upload. Can I stop this from happening. I tried adding top:-9999px; to the iframe didn't work. Any thoughts. Thanks in advance.
Russ

russmc
Posts: 2
Joined: Nov 07, 2008 9:49 pm

Found work around for now

#2 Postby russmc » Nov 08, 2008 12:37 am

Code: Select all

<head>
<script language="JavaScript">
function pageScroll() {
       window.scrollBy(0,50);
       scrolldelay = setTimeout('pageScroll()',1); // scrolls every 1000 milliseconds
}
function stopScroll() {
       clearTimeout(scrolldelay);
}
</script>
</head>

<input type="submit" value="Upload" class="myForm" accessKey="1" id="submit_btn" onclick="pageScroll()"/>


Just in case someone else comes across this


Return to “XUpload”

Who is online

Users browsing this forum: No registered users and 0 guests