473,394 Members | 1,761 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Using Targets with Objects

Hello, I'm working on a site http://www.koala-tea.com

the site uses php and objects
in the center of the page there is an HTML object
<object data="page.html">

the object has links in it, if i click on a link from inside the
object, the object will change.

I want to be able to target the parent window, but i haven't
been able to have any luck so far.

if I specify a target for the link like
<a href="page2.html" target="_top">
or
<a href="page2.html" target="_parent">

then i only have success in mozilla based browsers
in MSIE the links still open inside the object

if i use javascript for something like

onclick="location.href='page.html'"
only the page inside the object is affected in MSIE and mozilla

i was thinking of giving the parent window a name somehow
and setting the target to be that window name

but I do not know of any way to rename a window that is already
open, or even to get the name of it

does anyone have any advice?
Nov 24 '05 #1
1 1244
test wrote:
Hello, I'm working on a site http://www.koala-tea.com

the site uses php and objects
in the center of the page there is an HTML object
<object data="page.html">


Looks like a frame.
Acts a lot like a frame.
Isn't as well supported as a frame.

Frames have a bundle of problems, so I won't suggest you use them instead.
Take a look at preprocessing to include common content, or do it on the fly
with a server side technology such as SSI, Perl, PHP, JSP, ASP, etc

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Nov 24 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Edvard Majakari | last post by:
Suppose you have a program containing commands and file name parameters. A simple class providing completion could first read all the commands to list, and extend that list later using all file...
6
by: Ramon M. Felciano | last post by:
Helo all -- I'm trying to gain a deeper understand for what type of semi-declarative programming can be done through XML and XPath/XSLT. I'm looking at graph processing problems as a testbed for...
0
by: BlueMonkMN | last post by:
I've been trying to think of the right way to design relationships between objects with different desired lifetimes that raise events. If an event source is a relatively permanent object and the...
2
by: Rudi Groenewald | last post by:
In our production line we have targets for our machines, which changes monthly. In a table I have 3 coloumns: Machine, date, target. this has a relationship with a query that runs a report...
1
by: jennifer1970 | last post by:
Hello. I am trying out the new OneCLick publishing tool that comes with .Bet 2005 Bets 2. I am getting a lot of warnings and I'm not sure what they mean or what to do about it. I've got one of...
5
by: Lance Hoffmeyer | last post by:
Hey all, in perl I was able to use the same regular expression multiple times changing one part of it via a previously defined array and put the results into a new array IN PERL: my @targets =...
10
by: Ray | last post by:
I am reading Andrei Alexandrescu's book. The ideas presented there sound really good, but I wonder--is there really a lot of people using it? Or it's simply too esoteric for mortals? Cheers Ray
17
by: Flic | last post by:
Is this possible? I know about a bit about ODBC and found how to import an ODBC database stored on the computer, however I am after accessing an SQL database stored on a webserver. I'd like to...
1
by: Junkode | last post by:
Hello, I'm embedding Python interpreter in a Win32 console application. I use C++. I would like to use the WinAPI LoadLibrary function to load the python dll at runtime (followed by...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.