Refreshing Two Frames With Only One Click

Jul 20, 2005

I have a web welcome-page consisting of three frames. On the left there is
an index. The two others (above each other on the right of the screen)
contain data related to the index-items.

I'm looking for the possibility to refresh the two related frames when an
index-item in the frame on the left is clicked.

I tried this with the HREF-command but this only works for one frame at the
time.
<a href = "info1.htm" target = right_above>index-item_1</a>
or
<a href = "info2.htm" target = right_under>>index-item_1</a>

Id there a way to solve this in java-script? Or perhaps HTML?

View 4 Replies


ADVERTISEMENT

Refreshing Frames

Jul 23, 2005

Let me just start by saying... and I truly do mean this... I HATE frames. Now that I have that out of my system, unfortnualty I do not have a choice and am forced to use the complex structure that I am so SO needing help with. My framesets look like this

---------------------
| title |
|--------------------
| buttons |
|--------------------
| base |
|--------------------

inside the base frame I have ANOTHER frameset... split into frmLeft and frmRight... now if your mind isnt tied into knots... I am sure this will do it... I have a button called 'add category', which is on the buttons frame. When I click the button, I get a popup with the details... I add the category details... then I need the frame titled frmLeft to refresh. Is this possible?

View 1 Replies View Related

1 Click 2 Frames DHTML Menu?

Mar 17, 2010

Because i'm a javascript newbie, i decided to use a application (allwebmenus) to create a tree menu.But I wasn't able to find a option in the program to change 2 frames with 1 click.This is the situationI've got 2 frames (maincontent & logo) and 2 documents (opschoning.html & herinstalleren.html).At the moment the menu is working fine. When clicking on "- opschonen" ,opschoning.html is nicely loaded in the maincontentframe.But i would like to see that at the same moment herinstalleren.html gets loaded in the logoframe.I've been trying hard, but couldn't find the solution for the problem.

Code:
//----------DHTML Menu Created using AllWebMenus PRO ver 5.1-#766---------------
//F:ProgjesawmTheme GallerySlidingscott.awm

[code]....

View 1 Replies View Related

On Click, Change Content In 2 Frames At Same Time

Apr 1, 2004

When someone clicks link in topNavigation frame (the top nav bar), I want 2 things to happen at the same time. A new html page will load into mainContent frame and I want an image to change in rightFrame. Is there a way to make this work?

Here's how the frameset looks now.

<frameset rows="105,*" cols="*" frameborder="NO" border="0" framespacing="0">
<frame src="frames/topNavigation.htm" name="topNavigation" frameborder="no" scrolling="NO" noresize marginwidth="0" marginheight="0" id="topNavigation" title="topNavigation">
<frameset rows="100%" cols="60%,40%" framespacing="0" frameborder="NO" border="0">
<frame src="frames/mainContent.htm" name="mainContent" frameborder="no" scrolling="auto" marginheight="*" id="mainContent" title="mainContent">
<frame src="frames/rightFrame.htm" name="rightFrame" frameborder="no" scrolling="NO" marginwidth="376" marginheight="*" title="rightFrame">
</frameset>
</frameset>

View 3 Replies View Related

JQuery :: Post Form To Mysql Without Refreshing Page Or Click Button?

Aug 8, 2011

My programme is to let people play roulette wheel, record their choice of bet, amount of bet, result of bet, number of bets, bet limit. I would like these data being posted to myqsl each time the person bet, without the disruption of page refreshing. I have code as below, but it does not work. There is no error msg, just no data could be inserted.

>>>>>>result.html
input name= "spin" id="spin" type="button" value="spin"onclick="spin();postRecord()">
....
function postRecord() { $.ajax({ type:

[Code]....

View 2 Replies View Related

JQuery :: Which Plugin Can Achieve An Animation Of Frames Like The One Seen On [URL]where Click And Drag The Ipad To See It's Cover Functionality)?

Mar 4, 2011

I would like to know which plugin can help me achieve an animation of frames like the one seen on [URL]where you can click and drag the ipad to see it's cover functionality). I don't need the click and drag, just the animation, as I would set it on an auto animation.

View 1 Replies View Related

Refreshing A Div - Refreshing A Div Were For Updating Dropdown Boxes ?

Jun 6, 2009

I have been searching high and low on how to do this and I think I'm at a loss because I'm so unfamiliar with js and ajax.What I would like to do is have just a single div on a page refresh every 5-10 secs; the content of the div shows what users are logged on; the content is generated by a query on my db

<div id="players"><?php
$online_query = "SELECT user_log.user_id,user_log.ip,user_log.logged_in,user_log.logged_out,users.username,users.type_id FROM user_log LEFT JOIN users ON user_log.user_id=users.id WHERE user_log.logged_in IS NOT NULL AND user_log.logged_out IS NULL ORDER BY users.username";[code]....

almost all of the google results I got for refreshing a div were for updating dropdown boxes or dealt with some kind of page event...so now I'm at a loss on what else to look for..

View 3 Replies View Related

JQuery :: My .click With UI Dialog Is Making Me Have To Double Click Instead Of One Click To Open It?

Jul 13, 2009

I cant really figure this out, the only thing i could see messing it up is the javascript:void(0) inside the anchor link but since there is a double click function and a click, it should only be one click.I put autoOpen which i think is also causing it, but i did that so theuser can open it, close it, and open it again so the delay "double click" is saying for the first time initialize and then the second click is opening?? if so how do i get around this?

HERE IS MY JQUERY
$(document).ready(function(){
$("#pro_edit_profile").hide();[code]....

HERE IS MY HTML FOR THE LINK

<a href="javascript:void(0);" id="pro_edit_pic_link" name="Change
Profile Picture">Change Profile Picture</a>

View 1 Replies View Related

Frames Within Frames

Jul 23, 2005

As a rule, I don't like frames but I'm stuck supporting a web that uses
them. I have a page, default.asp, that has a header and body frame: "fHead"
and "fBody". What I want to do is to prevent default.asp from ever loading
itself into "fBody". Some users still have code that causes this behavior.

So how, using javascript , can I do something to the effect of: "If
default.asp tries to load default.asp (itself) into fBody, then reload the
top-level browser window with what fBody is trying to load."

Make sense? Any thoughts?

View 1 Replies View Related

Frames & Ssi

Feb 5, 2001

my main page consists of frames.
i'm using ssi to include copyright info, tos, and a privacy statement at the bottom of each page.

the ssi is working on all regular (ie non-frame) pages, but it doesn't seem to be called or parsed on the main page.

a look at the source shows the ssi call just sitting there, doing nothing.
has anyone dealt with this before?
i didn't think it mattered if an ssi was called from within a framed page, but i might be wrong.

i suppose i can just use the actual html for that one page but i'd rather just be able to use ssi since it's used through out the rest of the site.

View 4 Replies View Related

JQuery :: Simulating Click With Click() 1.4 And Lower VS. Click() 1.4.1 And Higher?

Jun 27, 2011

There is a checkbox on a form page, when you check it, a div will become visible with some extra inputs needed for that situation. To simulate this click on the checkbox external, I use click(). With jquery files 1.4 and lower this works properly and like expected. When using jquery library 1.4.1 or higher, something does not seem to work properly. Sooooo, the code:

<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.min.js"></script>
<!--<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.1.min.js"></script>-->
<script type="text/javascript">[code]....

Somehow I managed to get this thing 'sort of' working with 1.4.1 or higher. But the code to accomplish this is absurd. See functioncheckTheBox4Plus() on line 8. It works :) but shouldn't.. Or is it the other way around?

View 8 Replies View Related

Printing Other Frames

Jul 23, 2005

I have a frameset with two frames, and want to have a button in one
frame call print() in the other one:

This is the layout:

<frameset rows="*,40" frameborder="NO" border="0" framespacing="0">
<frame src="..." name="pritableText">
<frame src="..." name="printButton" scrolling="NO" noresize>
</frameset>

And, in printButton, I got this code:

<a href="#" onClick="parent.printableText.focus();
parent.printableText.print();">Print the page</a>

However, nothing happens in Netscape (7.01) and Firefox (0.8), and in IE (6)
I get an "error in the script". However, I do not identify the error.

Does anyone have a clue onto what's happening?

View 1 Replies View Related

Cookies And Frames

Jul 23, 2005

What's the trick to sharing cookies between frames? I can set and read a
cookie in the same frame, but if I try to read the cookie in another frame
it is undefined. :o(

There are some other cookies that are available in all frames, so I know
that the frames are capable of reading cookies, just not the ones that I set
in the other frame.

View 1 Replies View Related

Using Frames / Iframes

Sep 12, 2005

I believe that different browsers treat frames/iframes differently, and this
is one of the reasons to avoid using them in websites/applications.

Are there any other reasons to avoid them?

In my experience I find them clunky and messy to implement using javascript
and prefer to keep the whole web page as a single page.

View 1 Replies View Related

Need Help With Forms Within Different Frames.

Sep 14, 2005

I have to iframes within one page. When I triger action in one frame, I
need to update the content's of other frame's selection list.

How to access second frame's form element from my first frame in index
page?

Suppose I named my second frame "content", and form element is named
simply "form1". If I try to access that form by refering:

parent.content.document.form1, I get nothing at all.

View 3 Replies View Related

Inline Frames

Sep 22, 2005

I apologize if this is not the right group for this, but I saw some
other messages on this topic in here, so thought I'd take a shot in the
dark...

I am running IE 6, XP, SP2. When I connect to certain sites that use
inline frames, I get the message 'Your browser does not support inline
frames or is currently configured not to display inline frames.'

The aggravating thing is I recently bought multiple Dell computers,
have 2 in the room with me right now, haven't touched a thing
browser-wise on either, and it works fine on 1 and not the other. Same
OS, same IE version, etc.

View 2 Replies View Related

Refresh Frames

Nov 23, 2005

How can I refresh a page in a separate frame. For example, when someone logs in in the main frmae, I want to refresh another frame to display info differently.

View 4 Replies View Related

Using Frames And Getting InnerHTML

Mar 8, 2006

I am using a frameset with two frames that looks like this:

|------------------------------|
| |--------------------------| |
| | FRAME 1 | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| |--------------------------| |
| |
| |--------------------------| |
| | FRAME 2 | |
| | | |
| | <html><body> | |
| | <table><tbody> | |
| | <tr> | |
| | <td>Data 1</td> | |
| | <td>Data 2</td> | |
| | </tr> | |
| | </tbody></table> | |
| | </body></html> | |
| |--------------------------| |
|------------------------------|

FRAME 2 has no height, so it looks as if you only have 1 frame. I am
using FRAME 2 to retrieve data from my server.

I open up FRAME 1 with my webpage and leave FRAME 2 empty. When the
user request data I target FRAME 2 and the data is loaded into FRAME 2.

What I have been trying to do is this. Take the innerHTML of the FRAME
2's table and load it into a table in FRAME 1.

View 1 Replies View Related

Monthly Frames

Sep 19, 2006

I am using frames - yes frames - I do not know how to do anything but and I
know that there is better out there......but........
I am trying to set a frame so that it automatically puts a page
corresponding to the month in that frame (a calendar) Code:

View 6 Replies View Related

Print Using Frames

Jan 26, 2007

how do I create a print button that is on my index page that prints my
target page (and only the target page)

I tried
<INPUT onclick=window.print(); type=button value="Print This Page"
style="font-size: 10px; float:right">

But it prints the index page.

View 2 Replies View Related

Printing Frames

Jul 20, 2005

I have a script for printing the contents of a frame.
It works fine but I would like it not only to print the designated frame
but to add a header or message at the top or bottom.

View 1 Replies View Related

Frames And Forms

Jul 20, 2005

i'm trying to use javascript to change the content of a textbox in a
different frame.

by clicking on a 'folder' link in 'leftFrame' i want to put the value
assigned by that link into the 'folderName' textbox in the
'uploadForm' form in 'mainFrame'. i'm doing this as...

onClick="parent.mainFrame.uploadForm.folderName.value='fold er'"

this works perfectly fine with IE and Safari on my Mac OS X machine
and IE 6 on my PC laptop but anything Mozilla-based on either machine
gives me an error i just can't seem to get round...

'parent.mainFrame.uploadForm has no properties'

View 1 Replies View Related

Basic I-Frames

Jul 20, 2005

Suppose I have a page, call in parent.html . Inside, there is an iframe,
call it child.html . I want it so that in response to a keyboard event
in either parent or child, child.html will respond in a particular way.

Do I need to use a different set of code for each html page, or can I
reuse the same code?

If the code is different, what are the fundamental differences in code?

How do I make one frame respond to events in a different frame as a
general rule?

View 2 Replies View Related

How To Resize Frames

Jul 20, 2005

How can I define the size of this whole window, i.e. to 600 * 800 pixels ?
Is there a script I can includre here?

<FRAMESET FRAMEBORDER=0 BORDER=0 FRAMESPACING=0 ROWS="130,*">
<FRAME SRC="head.html" NAME="head" SCROLLING=NO>
<FRAMESET FRAMEBORDER=0 BORDER=0 FRAMESPACING=0 COLS="205,*">
<FRAME SRC="menu.html" NAME="menu" NORESIZE>
<FRAME SRC="menu-exe.html" NAME="main">
</FRAMESET>

View 1 Replies View Related

Floatable Frames

Nov 6, 2005

You people might have seen some calendars used in sites float every where when the mouse moves.I don't know whether it's a frame or layer.My question is i need to use something like that in my site too.Just now i'm submtting some form values in a pop up window.I need to replace this with that kind of frames or layers.So how to make frames moving.U people help me find a sample code for a floatable frame.I've searched for this in google but i'm not getting a desired result.I need to know the site names for tutorials or open source code for this floatable frames.

View 1 Replies View Related

Working With Frames

May 15, 2006

i have 3 frames on one page. I want to know how can i access the elements such as a listbox or a button defined in one frame from the other frame or the main page.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved