473,549 Members | 2,455 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Activating parent page link from 'child page' - revised

[Experiencing difficulty posting... please excuse if this is a
duplicate post]

Hmmmm.. a wee bit of a problem:

Background
default.htm has a left-aligned table serving as a 'navigation menu' and
a right-aligned iFrame (named 'viewframe') serving as the 'target' for
left-side menu. [iFrame is NOT in the table; table and iFrame are
side-by-side elements] I think of iFrame as 'child page'.

Example:
Clicking a left menu item (link to initiation.htm) loads initiation.htm
in iFrame. iFrame height is automatically adjusted by SCRIPT LOCATED
IN DEFAULT.HTM

initiation.htm serves as topic introduction and describes the processes
included in the project management "initiation phase". The term
'Governance Structure' appears within the text of initiation.htm
'Governance Structure' is also a menu item in the table.

The problem:
If I click 'Governance Structure' in the menu, gov.htm is loaded into
the iFrame and the iFrame is automatically resized. Kewl!

If I make the (initiation.htm ) text a simple link
blah blah blah blah <a href="gov.htm target="viewfra me">Governanc e
Structure</a> blah blah blah, the page is loaded into a new windows
because initiation.htm is unaware of 'viewframe' target.

My desired solution:
Can I make my links in *initiation.htm * activate/run/call the
corresponding menu items (links!) in default.htm?? My goal obviously is
that when an initiation.htm link is clicked, the appropriate page is
loaded into the iFrame AND the resize function activates/runs!

I would appreciate your ideas. I have not been able to find ANY topics
like this after a couple hours of searching.

G'day

gary b
gbowesATstate.p a.us - during business day

Jul 24 '05 #1
6 3619
"SF RVN" wrote:
Can I make my links in [framed HTML file] activate/run/call the
corresponding menu items (links!) in [parent frame]??
What you described isn't your biggest problem. What do you suppose will
happen if a visitor reaches one of your pages (e.g., initiation.htm) from a
search engine? There's no way the search engine can tell the visitor's
browser to put this page in an IFRAME with your navigation menu beside it.
So as a result the visitor is stuck in a single page with no menu. Basically
that means your site is unusable.
I would appreciate your ideas. I have not been able to find ANY topics
like this after a couple hours of searching.


Try starting here: <http://www.google.co.u k/search?q=frames +suck>

Phil

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/
Jul 24 '05 #2
Ahhhhh... you are quite correct, Phil. For brevity, I did not provide
some other info -- such as: this website is on an large intranet. It
is not visible to the Internet -- nor is it intended to be indexed by
any search engine. So I'm not concerned about this scenario. Although
it would be possible for a user to ascertain the name of the 'child'
web page and point the browser directly at this page (bypassing the
'container' page and the menu), they have no reason to do so.

Therefore, my original question stands: Is it possible to click a link
on a 'child page' and have it execute a link on the 'parent page'? The
only way I can envision this type of action is through an onMouseDown
event (on the child page link) running a script. That script would
then have to shift focus to the parent page, then to the specific
element/link, and then 'click' (execute) the link. If this is
possible, I can/would hardcode each script for each such child page
link.

Whew...

Thanks again, Phil. Anyone else have any ideas??

Philip Ronan wrote:
"SF RVN" wrote:
What you described isn't your biggest problem. What do you suppose will
happen if a visitor reaches one of your pages (e.g., initiation.htm) from a
search engine?


Jul 24 '05 #3
Tim
On Fri, 03 Jun 2005 19:26:50 -0700, SF RVN wrote:
Therefore, my original question stands: Is it possible to click a link on
a 'child page' and have it execute a link on the 'parent page'? The only
way I can envision this type of action is through an onMouseDown event (on
the child page link) running a script. That script would then have to
shift focus to the parent page, then to the specific element/link, and
then 'click' (execute) the link. If this is possible, I can/would
hardcode each script for each such child page link.


Try a scripting news group, as that's not really an HTML issue...

Having said that, I wonder why do it. Why isn't what you want to happen
in the windows that you're currently using?

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.

Jul 24 '05 #4
The 'why' is because the people making the decision believe our website
users will be 'inconvenienced ' if they must scroll up in order to see
the links for any SUB-process pages that are listed on the left-side
(nav) menu tree. Therefore, we should put links to subordinate pages
where they can see them without having to scroll up to the nav menu.
[Of course, if they want to go to the next sequential process step,
they have to scroll up anyway!]

Your point about a script newsgroup is well-made. Hadn't thought about
that, since my problem originated with an HTML link activation. I'll
post there.

Thanks, Phil.

Jul 24 '05 #5
Tim
On 4 Jun 2005 10:32:45 -0700,
"SF RVN" <sf***@earthlin k.net> posted:
The 'why' is because the people making the decision believe our website
users will be 'inconvenienced ' if they must scroll up in order to see
the links for any SUB-process pages that are listed on the left-side
(nav) menu tree. Therefore, we should put links to subordinate pages
where they can see them without having to scroll up to the nav menu.
Perhaps the overall layout needs a rethink, then? On my pages I took an
approach of putting links to major sections of the site near the top of the
page (so those who'd got lost, or wanted something different) could quickly
go somewhere else, as well as newcomers being able to see what else was
around, straight away. But links to the next page, etc., are nearer the
bottom (where it's more likely that you'll be when you've finished with
that page).

There's other approaches, like sidebars, where the links always stay close
by, no matter the length of the main page information.
[Of course, if they want to go to the next sequential process step,
they have to scroll up anyway!]


No matter what you do, especially if the page is big, it's hard to do some
things in an optimum way.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
Jul 24 '05 #6
Call off the dogs... problem has been resolved!

Thanks to all who put some thought into this question.

Jul 24 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
14482
by: Xing Rong | last post by:
I have an asp page to authenticate users by checking their uid and password: --------------------------------------- If (request("UID") = "user" and request("Password") = "pwd") then session("UID") = "user" Session.Timeout= 300 End if ---------------------------------------
2
2739
by: epaetz | last post by:
Is there a way to decouple the linkage between a parent and a child window? Does the parent window have any sort of a collection that holds all the children that it has spawned? I want to break that connection from the parent side or the child side, it doesn't matter as long as the communication link is completely broken. I don't want...
1
11408
by: ace danger | last post by:
I have some javascript that works in Firefox 2 but not in IE 7. In the parent page, a user clicks a link and a new window is opened so that they can maintain some values. When the user is finished, they can click either a save or a cancel button. If the user clicks the save button, I want the parent page to be refreshed and then the child...
3
5439
by: Irocivan | last post by:
Hello, I download a nice collapse menu for free distribution from the internet. It works very well except that none of the parents nodes are clickable (i.e. when clicking on the parent node, the link does not work). For example, if the below content is included in the html page, I would like that page www.fruit.com can be loaded whenever I click...
5
2144
by: aljamala | last post by:
Hi, I have a link for an employee directory search page. The link (http:// xxxx/Search.aspx) works fine, however, I have another link to do an Advanced Find. and its href is javascript:SEC38536A_OSA()
16
3723
by: Alan Jones | last post by:
Hello everyone, any help would be greatly appreciated. :) What I'm trying to do may not be advisable, but here goes... I want a page named signature.php to appear conditionally as an include within another include so that it will, for example, appear in index.php but not in other result pages that use the same top level include. The...
1
3585
by: soms2m | last post by:
HELLO ALL, I want to fill the parent window height with respect to the sub window height which is loading using ajax (mootools). For example if the parent window height is normal and the loading child window height is 1200px (saying), when the child window load the height of the parent window changs but the backgorund color which is given 100%...
1
4458
by: michal.podlewski | last post by:
Hi All, I have a problem with a simple (as I thought till now) thing: I want to make a link in a child-window which would change site in the parent-window and along with closing child window. The parent window name is "main". A made a link like this in the child-site: <a href="new_address.html" target="main" class="about"...
1
2617
by: btreddy | last post by:
Hii all.., I have one query not able to find a solution. I've one javascript page(parent)on which upon clicking one link it willopen one more page(child page). here my question is how to set the value for a variable, which is there in the child window,once the user clicks on the link in parent window. I tried this.
0
7542
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7467
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7982
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6066
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5110
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3514
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3494
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1961
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
783
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.