This is a discussion on "can u make it so that the page loads into the iFrame? (from menu)" within the JavaScript Forum section. This forum, and the thread "can u make it so that the page loads into the iFrame? (from menu) are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
can u make it so that the page loads into the iFrame? (from menu)
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
http://www.freewebs.com/rachy06/index.htm
this is my page. I want to know, if you click on a link on the menu, can u make it so that the page loads into the iFrame? do you just set the link target to the name of the iFrame??? ---------------------------------------------------------------------- This is the code for each menu thing. Menu1=new Array("Home","http://www.cfab.co.uk/","",0,20,139); how do i tell it to open the link in the iFrame???? ![]() |
|
|
|
#2
|
|||
|
|||
|
Re: can u make it so that the page loads into the iFrame? (from menu)
You can give the iframe an ID, just use the same name as the name attribute and then you can use this piece of code:
Menu1[1] = this is where the URL goes, since you use an array for building the menu,as shown in your post, I used it as an example. Hope this works for you. |
![]() |
| Tags |
| page, loads, iframe, menu |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is it possible to make a simple horizontal css menu without using lists? | jonnymorris | Web Page Design | 9 | Sep 21st, 2007 13:59 |
| How to make a CSS Dropdown menu? | Zonglars | Web Page Design | 3 | Jul 20th, 2007 15:05 |
| how to prevent page jumping while click on iframe | kathirnk | Web Page Design | 1 | Apr 16th, 2007 14:05 |
| CGI page loads only halfway, parameters causing problems | k.n. | PHP Forum | 3 | May 13th, 2005 01:40 |
| Page only loads correctly once in IE, incorrectly once in FF | Malkalypse | JavaScript Forum | 5 | Apr 19th, 2005 11:26 |