Solved

dynamicdrive ajax script

Posted on 2007-11-25
4
395 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Anyone familiar with PhotoSwipe? 3 41
PHP Web Development 6 68
Cannot exit IF statement in PowerShell 4 47
How to confirm and grey the submit button using JavaScript ? 14 66
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

734 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