#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2013
    Posts
    1
    Rep Power
    0

    Closing <iframe> pages using java


    Hello all,

    I am newbie to java. I have 9 .php pages but showing in a single php page using <iframe> </iframe> like this..

    Code:
    <iframe id="AlertMaintenance" style="border-style: none; border-color: inherit; border-width: 0px; width:55%;  margin-left:10px;" src="total_dashboard.php" align="left"></iframe>
    
    
    
    <iframe id="DelayReason" style="border-style: none; border-color: inherit; border-width: 0px; width:47%; height:250px;  margin-left:10px;" src="customer_orders.php" align="left"></iframe>
    
    <iframe id="DelayReason" style="border-style: none; border-color: inherit; border-width: 0px; width:50%; height:250px;  margin-right:10px;" src="unpaid_invoice.php" align="right"></iframe>
    
    <iframe id="AlertMaintenance" style="border-style: none; border-color: inherit; border-width: 0px; width:47%; height:250px;  margin-left:10px;" src="latest_po.php" align="left"></iframe>
    <iframe id="DelayReason" style="border-style: none; border-color: inherit; border-width: 0px; width:50%; height:250px;  margin-right:10px;" src="latest_po_auth.php" align="right"></iframe>
    
    
    <iframe id="DelayReason" style="border-style: none; border-color: inherit; border-width: 0px; width:47%; height:240px;  margin-left:10px;" src="latest_stock_status.php" align="left"></iframe>
    <iframe id="AlertMaintenance" style="border-style: none; border-color: inherit; border-width: 0px; width:50%; height:245px;  margin-left:10px;" src="work_orders.php" align="right"></iframe>
    
    
    <iframe id="DelayReason" style="border-style: none; border-color: inherit; border-width: 0px; width:47%; height:250px; margin-left:10px" src="mrp_dashboard.php" align="left"></iframe>
    <iframe id="DelayReason" style="border-style: none; border-color: inherit; border-width: 0px; width:50%; margin-left:10px" src="bank_trans.php" align="right"></iframe>
    Now i want to have close button for each button. if any user does not like to have any pages, he can close the page by clicking close or X. I don't know how to do it.

    Can somebody please please help me. I really need this badly

    Thanks
  2. #2
  3. Contributing User
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Aug 2010
    Location
    Eastern Florida
    Posts
    3,696
    Rep Power
    347
    If this is a javascript question, you'll get better answers on a javascript forum.

    This forum is for java

IMN logo majestic logo threadwatch logo seochat tools logo