Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

page display

Status
Not open for further replies.

mihalych

Programmer
Jul 24, 2003
27
US
Could someboby help me with the following problem. I have a frame set where all the pages loading in the main frame called "main" and that works fine. All the pages loading using ACTION and TARGET attributes. But there is a particular page that loads not by using 'action' and 'target' attributes but typing in url address( something like How can I load this page in the "main" frame as well. What is the code for that?
 
>>All the pages loading using ACTION and TARGET attributes

bit more clear please?

Known is handfull, Unknown is worldfull
 
All the pages have <form name=&quot;form&quot; action=&quot;go.asp&quot; target=&quot;main&quot;>. So when I click links anywhere on the page it works fine and loads desired page in the &quot;main&quot; frame. But there is one page(located somewhere in the root directory) that I want to load by typing URL address in the address bar(something like The problem is that when I type address,it loads in maximized mode but I want it to be displayed in the &quot;main&quot; frame as well.
 
can i have the code for the links that work? i thing this href is using the wrong target name...

Known is handfull, Unknown is worldfull
 
there is no code (href) for that page that I want to load. It comes from http address. But it comes as a separate page and displayed in maximized mode. Is there some coding like document.location (or state) in <script> that can direct the page into desired frame?
 
i am very sorry but i still dont get it. can u give me furhter info (like how many frames, the frame code etc)...

Known is handfull, Unknown is worldfull
 
Sorry that it wasn't clear enough. Actually there is no problem with frames and links. There is a page called &quot;administrator menu&quot; and it doesn't linked to any page in my program (it is located in folder). To get to that page I must call that page in the URL address bar, like any page on internet. When it loads, it displayed in maximized mode - that all the problem. I want it to be displayed in the &quot;main&quot; frame. That's all.
 
In your menu.htm, create the frame definitions like the ones in your default.htm (or index.htm). Then put the content of your menu.htm in another page (let's say menu1.htm), then load it in the main frame.
 
This sounds to me like you are trying to alter a coldfusion installation, is this so?

If I am correct then you really do not want to mess about with it, there is no need to do this. The source is encrypted and while this may be easy to decrypt, you would have to decrypt and alter every single page that references a link or form.

Hope this helps

Wullie


The pessimist complains about the wind. The optimist expects it to change.
The leader adjusts the sails. - John Maxwell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top