Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Refresh Main Window By Clicking Link In Popup?
leiaah
post Feb 21 2006, 01:32 PM
Post #1


Super Member
*********

Group: Members
Posts: 436
Joined: 21-January 05
From: Koronadal City, Philippines
Member No.: 3,358



This is another refresh problem question. The project I'm doing uses tons of frames (I know, some of you will probably advise me not to use frames) and I'm having problems with refreshing the target frames. The problem is, I have a main page (main.html) that is a popup (so that I don't see the address bar and the other toolbar bits in my browser) and there are links in that page that when clicked also pops up a page. What I don't know is how to refresh the main page using a link in the other popup page.

I've tried using this but this only works for frames so I'm really lost here. Anyone out there knows?
CODE
parent.frme_itemTable.location.reload();

IPB Image




Go to the top of the page
 
+Quote Post
DeveloperX
post Mar 15 2006, 04:06 PM
Post #2


Advanced Member
*******

Group: Members
Posts: 130
Joined: 21-December 05
Member No.: 15,990



QUOTE
This is another refresh problem question. The project I'm doing uses tons of frames (I know, some of you will probably advise me not to use frames) and I'm having problems with refreshing the target frames. The problem is, I have a main page (main.html) that is a popup (so that I don't see the address bar and the other toolbar bits in my browser) and there are links in that page that when clicked also pops up a page. What I don't know is how to refresh the main page using a link in the other popup page.

I've tried using this but this only works for frames so I'm really lost here. Anyone out there knows?

parent.frme_itemTable.location.reload();



maybe this code work:
CODE

opener.frme_itemTable.location.reload();
//or
opener.frme_itemTable.location="Your URL";


please check it on your project!
Go to the top of the page
 
+Quote Post
Lozbo
post Mar 15 2006, 11:46 PM
Post #3


Super Member
*********

Group: Members
Posts: 282
Joined: 1-September 05
From: Wanatos
Member No.: 11,382



I believe that it also works (if the window opened as a pop up) if you add to the link the target attribute and point it to "_parent". It is not strict xhtml though...
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Table/cell Link?(10)
  2. Refresh Web Page(6)
  3. A Good Space For Learn Html(5)
  4. Popup Window With Height And Width?(9)
  5. Link Colour(5)
  6. Dropdown Menus Links(3)
  7. Link To Create Desktop Shortcut?(5)
  8. Auto Refresh(9)
  9. Making A Refresh Link On Your Website.(16)
  10. Populating A Form From A Link(5)
  11. Refresh Page After Back Button Hit(11)
  12. Refresh Php Page, But First .....(2)
  13. Creating Link In Html - Help Me With This!(5)


 



- Lo-Fi Version Time is now: 6th September 2008 - 05:11 PM