This topic is locked

Pop up window in custom view

10/6/2011 4:16:34 AM
PHPRunner General questions
S
stiven author

Hello
I am having lots of trouble with a custom view.. im trying to display a pop up window with the More link



//this works

$ret.=" <a href='javascript:void(0);' onClick=\"return DisplayPage(event,'fulltext.php','','','table=".GetTableURL($strTableName)."&".$iquery."','','');\">"."More"." ...</a>";
//this does not work

$ret.=" <a href='javascript:void(0);' onClick=\"return DisplayPage(event,'fulltextnotes.php','','','table=".GetTableURL($strTableName)."&".$iquery."','','');\">"."More"." ...</a>";


I want to call another page that is called "fulltext_notes.php" but it won't let me i was looking onthefly.js file and i noticed that the DisplayPage only works for the pages _list _add and fulltext. but i need to call this specific page is there a way to do this? pelase help i have tried so many things but nothing has worked for me.
the fulltextnotes.php is an exact copy of the fulltext.php so i know the problem is with the DisplayPage but i don't know how to fix it.
Thanks

C
cgphp 10/6/2011

We need more info to help you with this. What type of error you get ?
Check this article: http://www.javascript-coder.com/window-popup/javascript-window-open.phtml

S
stiven author 10/6/2011



We need more info to help you with this. What type of error you get ?
Check this article: http://www.javascript-coder.com/window-popup/javascript-window-open.phtml


I don't get any errors the window just won't pop up.. what more info do you need? i can provide the info