473,804 Members | 4,288 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

target="_top" tag problems

Hello,

I have written a website www.pusspaws.net, my problem is in the
gallery section.
I have coded ...

<object type="text/html" data="galleryob j.html" border="0" width="422"
height="325"></object><br>

to make a scrolling window (Or is it a frame with an <object> tab ?),
which seems to work well,

Inside the window I have made every image a clickable link to view a
larger picture. The code I have used is ...

<a href="card1.htm l"
target="_top">< img src="jpegs/card1.jpeg" alt=
"Diamond wedding invitation card" title=
"Diamond wedding invitation card" align="left" border="0" width=
"200" height="141"></a> <span class="midtext" > ...

Where jpegs/card1.html is the larger image.

MY PROBLEM ...

In windows 98SE it works perfectly. The _top target breaks out of the
<object> tag & displays the image full screen. If I click the browser
back arrow I go back to the main galler page, just as I intended.

In windows XP it apparently (I do not run XP) does not work. The large
image is caught inside the <object> "frame" & you have to use the
scroll bars to see a tiny portion of it. Not what I intended.

Can anyone suggest some coding changes to make it work in XP ?

Many thanks in advance
Dave
Jul 20 '05 #1
8 6718
Els
Dave wrote:
Hello,

I have written a website www.pusspaws.net, my problem is in the
gallery section.
I have coded ...

<object type="text/html" data="galleryob j.html" border="0" width="422"
height="325"></object><br>

to make a scrolling window (Or is it a frame with an <object> tab ?),
which seems to work well,

Inside the window I have made every image a clickable link to view a
larger picture. The code I have used is ...

<a href="card1.htm l"
target="_top">< img src="jpegs/card1.jpeg" alt=
"Diamond wedding invitation card" title=
"Diamond wedding invitation card" align="left" border="0" width=
"200" height="141"></a> <span class="midtext" > ...

Where jpegs/card1.html is the larger image.

MY PROBLEM ...

In windows 98SE it works perfectly. The _top target breaks out of the
<object> tag & displays the image full screen. If I click the browser
back arrow I go back to the main galler page, just as I intended.

In windows XP it apparently (I do not run XP) does not work. The large
image is caught inside the <object> "frame" & you have to use the
scroll bars to see a tiny portion of it. Not what I intended.

Can anyone suggest some coding changes to make it work in XP ?


It's not XP that's the problem, but IE.
Netscape under XP displays it the way you intended.
I don't know anything about using <object>, so I'll leave
the answering of your question to others ;-)
--
Els

Mente humana é como pára-quedas; funciona melhor aberta.

Jul 20 '05 #2
go****@pusspaws .net (Dave) wrote:
I have coded ...

<object type="text/html" data="galleryob j.html" border="0" width="422"
height="325"></object><br>
Stop doing that. Problem solved.
In windows XP it apparently (I do not run XP) does not work. The large
image is caught inside the <object> "frame" & you have to use the
scroll bars to see a tiny portion of it. Not what I intended.
What made you think the target="_top" attribute should work in some
particular way in this context? An element embedded via <object> is to be
rendered autonomously, just in a canvas embedded into another page's
content, so it's a moot point what "_top" reallt refers to.
Can anyone suggest some coding changes to make it work in XP ?


Stop using frames, and especially stop using fake frames.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #3
> <object type="text/html" data="galleryob j.html" border="0" width="422"
height="325"></object><br>
I have only limited experience with <object> used like this but it was
sufficient for me to avoid it. Weird and wonderful things happened when I
tried to use it, especially with IE which in particular behaved very
strangely unless the embedded page was XHTML instead of HTML 4.01.
In windows XP it apparently (I do not run XP) does not work. The large
image is caught inside the <object> "frame" & you have to use the
scroll bars to see a tiny portion of it. Not what I intended.
As has been suggested, this is probably an IE v other browsers problem
though which is the 'correct' behaviour seems a little unclear. It seems to
me that IE's interpretation has a lot going for it. <object> is not a
'frame' after all so treating it like a separate canvas seems to make a lot
of sense.
Can anyone suggest some coding changes to make it work in XP ?


You seem to be using 4.01 Transitional so why not give <iframe> a go. That
is very much a 'frame' so browser behaviour should be consistent.
G.


Jul 20 '05 #4
Dave wrote:
In windows XP it apparently (I do not run XP) does not work. The large
image is caught inside the <object> "frame" & you have to use the
scroll bars to see a tiny portion of it. Not what I intended.


It works fine for me in Mozilla under Windows XP.

--
== Dan ==
Dan's Mail Format Site: http://mailformat.dan.info/
Dan's Web Tips: http://webtips.dan.info/
Dan's Domain Site: http://domains.dan.info/

Jul 20 '05 #5
"Graham J" <in************ ***@orangebucke t.co.uk> wrote in message news:<bk******* *****@ID-203032.news.uni-berlin.de>...
<object type="text/html" data="galleryob j.html" border="0" width="422"
height="325"></object><br>


I have only limited experience with <object> used like this but it was
sufficient for me to avoid it. Weird and wonderful things happened when I
tried to use it, especially with IE which in particular behaved very
strangely unless the embedded page was XHTML instead of HTML 4.01.
In windows XP it apparently (I do not run XP) does not work. The large
image is caught inside the <object> "frame" & you have to use the
scroll bars to see a tiny portion of it. Not what I intended.


As has been suggested, this is probably an IE v other browsers problem
though which is the 'correct' behaviour seems a little unclear. It seems to
me that IE's interpretation has a lot going for it. <object> is not a
'frame' after all so treating it like a separate canvas seems to make a lot
of sense.
Can anyone suggest some coding changes to make it work in XP ?


You seem to be using 4.01 Transitional so why not give <iframe> a go. That
is very much a 'frame' so browser behaviour should be consistent.
G.


Many thanks, I will give <iframe> a go

Dave
Jul 20 '05 #6
Hello,

I have modified <object> to <itable>, can anyone running XP IE look at
www.pusspaws.net & tell me if the gallery works as I had planned ...
ie initial e-mail.

Many thanks
Dave
Jul 20 '05 #7
Els
Dave wrote:
Hello,

I have modified <object> to <itable>, can anyone running XP IE look at
www.pusspaws.net & tell me if the gallery works as I had planned ...
ie initial e-mail.


Yep, it's working.
Just a little thing: Once the bigger pic is on the screen,
the only way back is with the back-button of the browser.
I, just speaking for myself, find it easy if I can go back
by clicking on the big picture.
(just a habit ;-) )

--
Els

Mente humana é como pára-quedas; funciona melhor aberta.

Jul 20 '05 #8
> Yep, it's working.
Just a little thing: Once the bigger pic is on the screen,
the only way back is with the back-button of the browser.
I, just speaking for myself, find it easy if I can go back
by clicking on the big picture.
(just a habit ;-) )


Tweeked it again, added a link at the bottom,hopefull y still works,
Thanks for your input

Dave
Jul 20 '05 #9

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

Similar topics

2
2643
by: Rob McLennan - ZETLAND | last post by:
Hi, I'm relatively clueless when it comes to correct ASP syntax. I'm testing out a search form for my company's website which is done in ASP. The results are displayed as per the code shown at the very bottom of this message. All I want to do is add a target="top" to the URL which is displayed as a link at the top of the results. I know enough about html to know that it probably goes somewhere into the follwing section: <a href=""" &...
19
11194
by: Arthur Connor | last post by:
Currently I specified a TARGET attribute inside an <A> tag which is not allowed under strict XHTML. How do I change the line to meet the requirements of strict HTML? <A HREF="http://www.targetedomain.com/" TARGET="_top">...</A> Arty
4
7372
by: socialism001 | last post by:
I have the following code in my cgi script. How would I use target="_top" in the code below so that it would prevent my page from opening in a frame. Thanks, Chris ********************* my $url_1 = 'http://www.company.com/cgi-bin/company.cgi/_address?for_sale=&_act=query&_dbf=retailol.dbf&_tar=_ret_m&';
0
9710
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9589
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10340
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10329
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10085
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9163
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7626
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5527
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5663
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.