This topic is locked

Changing positioning and delay display times for Ajax previews

1/31/2010 2:39:44 PM
PHPRunner General questions
A
alexanjn author

Hi
Where can I change the posiioning and delay times for Ajax previews. I'm using PHPRunner v5.1. In earlier versions, I used to be able to edit the timeout, curleft,and curtop paramaters in the include/ajaxsuggest.jsfile. This file still is there but I can't figure out where to change the parameters. (As info, I have a fair amount of data for a given record and the preview box covers my editing link before my users have a chance to click on it.
Thanks, Jim Alexander

J
Jane 2/2/2010

Hi,
edit the same file (include/ajaxsuggest.js) in PHPRunner 5.1.

A
alexanjn author 2/2/2010

Hi Jane
I had previously been making the following edits (bolded) in earlier versions of the ajaxsuggest.js file but I can't find the equivalent expressions in the v5.1 ajaxsuggest file file:
id = setTimeout("Left_Top(+oLeft+",")",1000);
curleft = obj.offsetLeft+200

curtop = obj.offsetTop+200
(I'm probably missing something because of my lack of knowledge. Sorry.)
Jim



Hi,
edit the same file (include/ajaxsuggest.js) in PHPRunner 5.1.

J
Jane 2/3/2010

Jim,
check and edit following code in this file:

Left_Top(preview);

...

var curleft = obj.offsetLeft

var curtop = obj.offsetTop
E
electromotive 2/23/2010

I see this thread is so old, that I think I'll post a new thread...