473,385 Members | 2,014 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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="viewframe">Governance
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.pa.us - during business day

Jul 24 '05 #1
6 3608
"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.uk/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***@earthlink.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
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...
2
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...
1
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...
3
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...
5
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...
16
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...
1
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...
1
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...
1
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.