Log in

View Full Version : Keep application tidy!



Webiter
10-28-2011, 11:58 PM
I have an donate application that has all its files in one Folder called donation.

The donation folder has within it the following types:


A Folder named paypal_integration_class
config.php
connect.php
donate.php
thankyou.php
styles.css

I seek to facilitate access to the application from the navigation bar which will present the application to the visitor in a pop up window.

Calling the application using the following popup fuction:


function popup() {window.open('donation/donate.php', '','scrollbars=1,statusbar=0,resizable=0,width=650,height=580,left=450,top=80');}

The donate.php file renders correctly as required, when called by the navigation. :)

Can the other .php, .css and File Folder that exists inside the donation Folder be written into the following popup script:-

function popup() {window.open('donation/donate.php', '','scrollbars=1,statusbar=0,resizable=0,width=650,height=580,left=450,top=80');}