Open Window Problem From Flash Inside A Frame
Mar 24, 2006Hi, I have a curius problem, I hava a flash in a html page. In flash I have a button to open a pop up with this code:
View 1 RepliesHi, I have a curius problem, I hava a flash in a html page. In flash I have a button to open a pop up with this code:
View 1 RepliesI have a little problem, I structure my site with a main page index.html with a frame in the central whit name CENTRALE, so every other page I will open within this frame. Now I need to have a direct link to these internal pages, give an example I wish it were possible to go to the page clothing giving a direct link to that section of the site type www.indirizzo.com / clothing.html because the state of things if I take the 'direct address to that page I open only the part inside of the frame, but I wish I would open inside the "main frame, there is a solution in javascrip to overcome this problem?
View 4 Replies View RelatedI have a page with 4 frames in it. If I click on a button in the 4th frame, a new window has to be opened and the value of the listbox in the 3rd frame hoas to be passed ....
My code works fine in IE, but doesn't in Netscape .....
First, the value of the listbox .... I try to get it with
parent.frame3.form.listbox.value ... But an alert of this (as a test)
does nothing .... I tried several combinations like parent.frames[2]
and parent.frames[frame3] but nothing happens ...
Another problem is that the frame4 is blanked ... strangely enough ...
I'm just doing window.open('blablabla');
How do I force a window, pened alone, to be displayed in its frame set?
tried this:
if (parent.location.href == self.location.href) {
window.location.href = '../'
}
the problem is that the original page is replaced by the main.htm page (the
default page for the 'main' frame)., because the open event of the menu page
calls for the main.htm to be loaded. Is there a way that I could pass a page name as an argument to the index page at all? Something like
window.location.href='index.html?Loc=IT_Study___In formation.htm'
I have a page of 2 frame:
menu (menu.php)
corpo (corpo.php)
In menu.php i have:
I have a page with 3 iframes it has a link to open up a page and when the user clicks on a link on that page - I want the new page to close and the link to open in the second iframe on the original page
View 4 Replies View RelatedI am working on a project in which I have to open my flash demo in a modal window. I got all the code for modal window and it is working great.The only problem is I am not able to open a flash file in modal window.
View 2 Replies View RelatedI'm trying to use window.open from inside a user defined function, and
it's not working.
Mountain Man
============
<script>
function openFootnote(contentURL) {
window.open('contentURL','footnotes','height=180,w idth=160');
}
</script>
I've tried calling on the function 2 different ways, as shown below.
Nothing happens either way.
<a href="javascript:(void)" onClick="openFootnote(fn1.html);">...</a>
<a href="javascript:(void)" onClick="return
openFootnote(fn1.html);">...</a>
[URL] I have an index.html that sets up 3 Frames. They are called FrameTop, FrameA and FrameB. See pic below. In FrameTop the user can type in a url into a textbox with id="urlINPUT". When user clicks LOADA it loads that url into FrameA. User can then browse web in FrameA, clicking links etc and going to new pages. The second button LOADB is designed to determine the current location/url of the page displayed in FrameA and load that into FrameB. So far when I write the javascript in FrameTop LOADA works but LOADB loads the FrameTop into FrameB! [error!]
I suspect my error lies in use of parent/self in the parent.frame.location.
Here is my page layout. [URL]
-----------------Index.html-------------------------------------
<frameset rows="5%,*">
<frame name="FrameTop" src="frame_top.html" />
<frameset cols="50%,50%">
[Code]....
index.html loads the index correctly and displays FrameTop, FrameA and FrameB. The load A button also works correctly BUT when I click LoadB it loads FrameTop into FrameB! This happens when no page is loaded into FrameA AND when an external page in loaded in. [URL]
I have this piece of code which is opening link in new window:
How to change this code so link would open in the same window?
Probably I should change this part: javascript:void window.open
how would I go about interacting with an element inside a Frame from JavaScript? For example, here's the HTML of the page:
[Code]...
I have a script that allows me to highlight a row of text.
This text is in a table.
The table is long and scrolls down the page below the visiable canvas.
What I need is a method to jump to the highlighted row.
I am able to jump to my anchor as long as the anchor isn't located
within the table (ie I can jump to the bottom of the table if I put the
anchor just below the table). However as soon as I place it within the
table...no luck.
Here is the code I am using to jump;
eval ("document.location='#row" + n + "'");
Can someone explain how I can reference the table in my jump method?
I need to open same url (flash streaming site) on multiple tabs (min 100 tabs) without crashing my browser or drinking all my cpu usage.
View 2 Replies View RelatedI have a code like this to swop images in a menu:
Code:
<a href="javascript:staySet('btn-contact')""><img border="0" src='../images/btns-menu/btn-contact.png' id='btn-contact' onmouseover="SwapImage('btn-contact')" onmouseout="SwapImage('btn-contact')" alt='''.>
I need to create a onClick event which tells te link to open a html file <blabla.html> into a frameset name.
I have a set of flash files called inside iframe. I need to put a play/ stop button into the parent html to control the flash. I tried using document.getElementById[iframename](playerId) but the JavaScript is not recognizing the flash object.
I am using strobe media playback. Is there any way I can communicate to flash object using javascript?
How can I access the "a" elements inside frameContent.html?I made the example files below as small as I could.[code]
View 3 Replies View RelatedMake the links below open in the "top" or "parent" frame of a window. For example, in HTML, code...
I just do not know how to make the links below perform in the parent window. (or even a new window if that is only possible.)code...
What I'm trying to do is make it so when a visitor or a search engine tries to view a page outside of the parent frame it reloads that particular page inside the parent frame. All the scripts I've tried WILL redirect the visitor back to the parent frame, but NONE of them will then load the previously viewed page into the 'main' frame. I don't want visitors to have to navigate through the site to find the particular page they were viewing.
I have seen this script before but I can't remember which site was using it, also without a redirection to the frames the site won't display properly and navigation would be difficult. Code:
I'm trying to create a website so when the small image is rolled over a new page opens in the frame ( called main) i will upload it now to [url]...
View 1 Replies View RelatedI have a problem on the links on my page im working.sorry guys still a noob and my english is not that good. :b. my question is like i have a list of packages of food. [link_a] [link_b] [link_c] and i have a function that i put in my head tag:
function linkA()
{
window.open('link_a.html','link','width=300,height=200,resizable=yes');
}
now i can go to linka.html by click my link <A HREF="javascript:linkA()" >link a</A> is there a way i can have one functions that can open a link depend on what page .when it clicks then go to its designated page or i have to stick on writing function for linkB ,C,D and so on.
How to open a link on the same window using window.open or any other method in JavaScript.
View 2 Replies View RelatedI have a HTML and I am opening another link in a separate window using window.open() . The child window is something like 'http://yahoo.com' which is out side html. I need to refresh the parent window when the child window is closed.
View 4 Replies View RelatedCode... I can open it up in the current page, but the menu is in a frame and I need to open it in a fram called "home".
How can I do that?
on the top of the page with the pictures scrolling with news and links inside of them without using flash. like with ajax or something? and if it can be done... how would i go about it?
View 2 Replies View RelatedHow do i make it so that when there is an event insidean iframe on the page, it affects and can call a function from the outerpage? (that houses the iframe
View 1 Replies View RelatedIm currently building a new discount-webpage and Im looking for a solution to be able to hover over a discount button to reveal a small text without clicking. And after clicking on the button that the text in the flash button is copied into the clipboard and a new page open with a small frame from my window with the new page underneith. examples of this kind of script can be viewed on this page: [URL]... Im not looking for someone to do this for me. All I want to know if there is another language to do this with like possibly java? and maybe some links to tutorials. (the current page solves this with flash which I havent worked with before.)
View 3 Replies View Related