Solved

dynamicdrive ajax script

Posted on 2007-11-25
4
394 Views
Last Modified: 2012-08-13
http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm
i am using this script...it's very good-the tabs open iframes inside the div that replaced under them,
 but there is a big problem cause there is no option to
create a script that you can run from iframes and to made the main page move to another tab....
for example you in tab1 reading from some i frame and want to click inside the iframe some link to move the main page to tab2.

is there any body here that worked with ajax tabs and know how to create sucj a link?
0
Comment
Question by:sasha85
  • 2
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
B_Dorsey earned 500 total points
ID: 20348490
using the same script as the main page jsut put parent infront of it perhaps?

so for that first example in their code, on the frame page you could do something like


<a href="javascript:parent.countries.expandit(2)">test</a>

Open in new window

0
 

Author Comment

by:sasha85
ID: 20350847
it's not working...gives me error. are you sure that this is the right way? cause if you do i will start scanning my other coding to find may be i got wrong in other place...
0
 
LVL 14

Expert Comment

by:B_Dorsey
ID: 20351293
it should work... if I call a page in an iframe from my parent window, I should be able to do something like "parent.testfunction()"

in the original page I would ahve a javascript function named testfunction()
0
 

Author Comment

by:sasha85
ID: 20353476
i can understand what you are saying but it somehow not working as i need...
but never mind i found alternative way to do this:)
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question