Reusing A Frameset Page With Js?
Jul 21, 2011
I would like to use a single page (say linkout.html) as a branding/linkback frameset for a set of links from a site. (Think Digg or StumbleUpon). My intuition is that this is a Javascript thing and that I should be able to access the frame src= from the DOM,
View 1 Replies
ADVERTISEMENT
Jul 23, 2005
I have a function sililar to the one below on one of my pages. It puts
the value of a field on a form into a variable called FieldName:
function checkSomething() {
var FieldName = document.frmFormName.FieldName.value
}
I'd like to reuse the function on a different page (instead of writing
another almost identical script on that page), but I need to change the
name of the field in the script depending on the page that the script is
used on.
How do I change the script so that I can put the script in an includes
file and then pass the name of the field to the script according to the
page that the script is being used?
View 2 Replies
View Related
Jul 20, 2005
I have a frameset with nav on the left frame and pages on the right
frame. The users would like the destination Url to show up on the
address bar as they navigate to different portions of the site.
Since it is a framset, it always displays the root url. Is there a way
in javascript/html/dhtml to do this?
View 1 Replies
View Related
Jul 23, 2005
I have two on-line manuals built with frames. Each has a unique
frameset. Some of the pages have related material and are linked.
Is there a way to have a page from Manual B called from manual A,
which will cause Manual B's frameset to load? In other words, I do
not want Manual B's page to load into the wrong frameset as the
navigation information will be wrong.
View 1 Replies
View Related
Aug 20, 2002
I used an online menu generator and thought I could use it in a frames page by using a normal HTML tag (target) but this didn't work and i don't know javascript to make any adjustments.
Here's the script I am trying to use
<form name="jump">
<select name="menu">
<option value="http://www.google.com" target= main">test</option>
</select>
<input type="button" onClick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO">
View 3 Replies
View Related
Sep 28, 2011
I have two framesets for a chat aplication, how can i scroll the messages frameset when a user submit a message from the input messages frameset ?I am using : parent.msg.window.scroll(1,400000); but it is not working
View 9 Replies
View Related
Feb 20, 2009
have a FrameSet (FS1) that contains another FrameSet (FS2) How can I break just out of FS2 without breaking out of FS1?
View 1 Replies
View Related
Aug 23, 2006
I'm trying to spread a table across a frameset. So I have index.htm that has an iframe sourcing the frameset. What I'm trying to do is create a table in index.htm to spread across the whole brower window. Code:
View 2 Replies
View Related
Aug 30, 2006
I have a frameset page as my index.html page and have noticed that if my
page is opened in other resolution than the one it was created in, some
pictures shift locatiuons.
If this was a non frames page i knew how to fix it...
Is there any was to automaticaly resize a frameset proportionaly to the
screen resolution?
ex: i want one picture to be exactly 1/4 of the screen, in a one-page i
would do someting like...
<img id="logo" border="0" src="Logotipo.jpg">
<script type="text/javascript">
document.getElementById("logo").width=screen.availwidth/4
document.getElementById("logo").height=screen.availheight/4
</script>
How do i do this with a frameset?
ex: banner frame be alway 1/6 of the screen height
View 2 Replies
View Related
Jul 20, 2005
We use a three-window frameset for online manuals. The "main" window
contains our document. Since the documents have hyperlinks between
them for related topics, we have "return" links built into a
navigation bar on some of the pages. Most of the time these work
fine, but if the person clicked on the top or left frame before
clicking on the "return" link, the wrong frame is changed.
Does anybody know how to alter the script so that only the main
document window is in focus? Here's the script we use in the page:
<a href="javascript:history.go(-1);">Back</a>
By the way, this is for a company Intranet - with all users on IE5.5
as a minimum.
View 1 Replies
View Related
May 10, 2010
I got a blank page returned when using javascript within the Frameset. Here is part of my codes:
(my javascript part)
<script language="JavaScript">
//this function will be used to get the parameter from URL using javascript
function gup (name)
[code]....
View 12 Replies
View Related
Jul 23, 2005
I have a site with frames. Like most sites with frames, clicking
links in one frame changes the page in the other frame.
Obviously, if someone puts in the URL for my site, they will get the
"homepage" when they first get there. What I would like to accomplish
is that if they leave my site, and then use the BACK button to come
back, that the site will open with the homepage, not whatever page
they were at when they left. Is that possible using javascript? If
so, how?
My site isn't actually "on the web" yet, so I can't give you a URL.
View 2 Replies
View Related
Jul 23, 2005
How do I ensure that a frameset is topmost in the window (and not inside another frame)?
View 4 Replies
View Related
Nov 23, 2005
After my web page has been loaded I'm doing some tests with a JavaScript. If
I figure out that something is wrong I'd like to reload the whole frameset.
With Internet Explorer and Mozilla Firefox I can reload the whole frameset
with
parent.location.href = "index.html";
However, this doesn't work with Opera.
Does someone know how to do that with Opera?
View 6 Replies
View Related
Mar 18, 2006
This problem is this:a page is made up of frameset, but i can't visit
the iframe(inline frame) of the frame in the framset.just like the
frameset have 3 frames,the third frame have a iframe(inline frame) .how
to?
View 2 Replies
View Related
Jul 20, 2005
I'm using a hierarchical menu made in javascript.
When I used it in a one frame page, it came out fine. But now I need to change my page to 3 frames: a top frame, a left frame and a right frame.
The menu is on the top frame and when hovering the categories, the sections appear under the left and right frame.
View 12 Replies
View Related
Jan 24, 2010
I'm having difficulty trying to refresh the whole frameset from a hyperlink on one of the frames. I've searched google and tried many options, about 6 or 7 codes, but failed. This is among one of which i tried:
<a href="#" onClick="opener.top.location.reload()">Homepage</a>
Very briefly, what i need to do is to refresh the entire frameset - the effect which can be obtained by pressing on the RELOAD button on the internet browser.This is how the frame looks like:
Code:
<html>
<head>
<title>Client</title>
[code]....
I am trying to refresh this entire frame using a link on the left frame, left.php.
View 1 Replies
View Related
Jan 27, 2006
I'm working on my website's intranet and I am having a problem defining and navigating a frameset in javascript. The source of the frame's code is this: Code:
View 4 Replies
View Related
May 4, 2002
I've pop'd a frameset and have placed a graphic button w/ the calling the following script:
function close_window() {
window.close();
}
Doesn't work in the frameset. How do you do a window.close that closes a frameset ?
View 5 Replies
View Related
Jul 29, 2010
I was woundering if I can use javascript to change the size of frames.I have a frameset like this:
<HTML>
<HEAD>
<TITLE>Carrier File Converter</TITLE>
</HEAD>
[code]....
And in one of my frames I used javascript try to change the height of the top frame:
parent.document.getElementById('head').scrollHeight
when I print it, it turn out to be 360 which is correct, but when I assign value to it, the browser turns an error.
View 1 Replies
View Related
Jan 24, 2010
I'm having difficulty trying to refresh the whole frameset from a hyperlink on one of the frames.I've searched google and tried many options, about 6 or 7 codes, but failed.This is among one of which i tried:[code]Very briefly, what i need to do is to refresh the entire frameset the effect which can be obtained by pressing on the RELOAD button on the internet browser.[code]I am trying to refresh this entire frame using a link on the left frame, left.php.
View 4 Replies
View Related
Jul 12, 2007
Here's my problem: It is necessary to have people enter in direct
links to pages on my site, which is frame-based, but when they go to
any page that isn't the home page, the frameset doesn't load, so
they're only presented with the content of the main frame, not the top
logo or sidebar frames.
Is there a quick Javascript fix for this? I tried to Google search for
a solution, but couldn't come up with the right search terms.
Also, when navigating to sub-pages from the main page via links in the
frames, is there a way to get the address bar to show the direct-link
address to the sub-page, instead of only showing the top-level
address?
View 1 Replies
View Related
Nov 23, 2010
I have a main window which produces a number of child windows when I press a button. Users need to be able to switch between windows using Ctrl+Tab hot key. I was trying to implement this by intercepting keyup/keydown events in one of the frames. But the problem is that main window has several frames and I don't have access to all of them because some of them are in different domains. As soon as a user clicks on a frame without my handler the hot key is not working anymore. how to implement it? Maybe an ActiveX component? If ActiveX could help me - how does it work? how to write an activeX to intercepts hot keys in IE?
View 3 Replies
View Related
Nov 23, 2010
I have a main window which produces a number of child windows when I press a button.Users need to be able to switch between windows using Ctrl+Tab hot key.I was trying to implement this by intercepting keyup/keydown events in one of the frames.But the problem is that main window has several frames and I don't have access to all of them because some of them are in different domains.As soon as a user clicks on a frame without my handler the hot key is not working anymore.
Maybe an ActiveX component? If ActiveX could help me - how does it work?Are there any tutorials or examples how to write an ActiveX to intercepts hot keys in IE?
View 1 Replies
View Related
Oct 6, 2009
How do I set the contents(src) of a frame in a frameset when opened in new window?(frameset has a frame called APtop)I have following code
newWind = window.open("http://server/db.nsf/ActionPlan?OpenFrameSet","_blank");
newWind.frames['APtop'].location.replace("http://server/db.nsf/Administration?OpenPage");
It does not work... I even tried
newWind.document.getElementById('APtop').src = "http://server/db.nsf/admin?OpenPage";
How do i do this?
View 4 Replies
View Related
May 4, 2002
I'm opening a new window that contains a simple frameset (topFrame,mainFrame). On the mainFrame page I have along list of service descriptions each with their own named anchor.
Here is the script i'm using to open / center window in browser (script is from 'ultimate window pack' extention for dreamweaver): Code:
View 4 Replies
View Related