473,385 Members | 2,044 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,385 software developers and data experts.

Linking in an horizontally scrolling web page

I am attempting to create <A HREF> links to <A NAME> targets in a series
of extremely wide web pages composed of tables with text and images
sitting side by side. This is a failure since both Netscape and
Explorer seem to assume that <A NAME> anchors target part of a vertical
web page, where all that is needed is for the window to advance to the
first character or whitespace after the target. In a horizontal page,
this means that each link moves the window horizontally just enough to
expose the beginning of the area I'm trying to target, leaving the rest
unexposed to the right.

Trying to set the <A HREF> to target table cells or graphics in order to
get it to align correctly doesn't seem to work. What needs to be done ?

Eric Rosen

Jul 20 '05 #1
14 2759
eric wrote:
I am attempting to create <A HREF> links to <A NAME> targets in a
series of extremely wide web pages composed of tables with text and
images sitting side by side. This is a failure since both Netscape
and Explorer seem to assume that <A NAME> anchors target part of a
vertical web page, where all that is needed is for the window to
advance to the first character or whitespace after the target. <snip> What needs to be done ?


Redesign the page so it doesn't scroll horizontally?

--

Mark Parnell
http://www.clarkecomputers.com.au
Jul 20 '05 #2
Actually the build is is far too advanced for a redesign. Next
suggestion, anyone ?

Mark Parnell wrote:
eric wrote:
I am attempting to create <A HREF> links to <A NAME> targets in a
series of extremely wide web pages composed of tables with text and
images sitting side by side. This is a failure since both Netscape
and Explorer seem to assume that <A NAME> anchors target part of a
vertical web page, where all that is needed is for the window to
advance to the first character or whitespace after the target.


<snip>
What needs to be done ?

Redesign the page so it doesn't scroll horizontally?


Jul 20 '05 #3
eric wrote:

Actually the build is is far too advanced for a redesign. Next
suggestion, anyone ?


I have 2, actually:

1. Don't top-post.
2. Do trim the quoted parts of messages.

--
Brian
follow the directions in my address to email me

Jul 20 '05 #4
On Wed, 10 Sep 2003 22:08:53 -0700, eric <er***@bway.net> wrote:
Actually the build is is far too advanced for a redesign. Next
suggestion, anyone ?


If you're at all concerned with usability, you'll be redesigning it
eventually. It may as well be now!

If you're not concerned with usability, then just leave it how it is,
"broken" links and all.

--
Greg Schmidt (gr***@trawna.com)
Trawna Publications (http://www.trawna.com/)
Jul 20 '05 #5

"eric" <er***@bway.net> schrieb im Newsbeitrag
news:3F**************@bway.net...
Actually the build is is far too advanced for a redesign. Next
suggestion, anyone ?


You can write a function with javascript to scroll either to a position (in
pixels) or a distance (in pixels, too) to the left or to the right side.
Then call this function instead of a link to an anchor. There is no way to
acess an anchor horizontally.

HTH
Markus
Jul 20 '05 #6
Markus Ernst wrote:
You can write a function with javascript to scroll either to a position
(in pixels) or a distance (in pixels, too) to the left or to the right
side. Then call this function instead of a link to an anchor. There is no
way to acess an anchor horizontally.


But be aware that this is very unlikely to work correctly on any browser or
version other than the one used to design the page.
--
Chris Lambert (http://web.trout-fish.org.uk/)
Approximately 95% of all AIDS orphans live in Africa.
Jul 20 '05 #7
eric wrote:
I am attempting to create <A HREF> links to <A NAME> targets in a
series of extremely wide web pages composed of tables with text and
images sitting side by side. This is a failure since both Netscape
and Explorer seem to assume that <A NAME> anchors target part of a
vertical web page, where all that is needed is for the window to
advance to the first character or whitespace after the target.


This appears to be a limitation on the part of current browsers. Have
you filed bug reports to the ones that accept them?
Jul 20 '05 #8

"Chris Lambert" <ne**@trout-fish.org.uk> schrieb im Newsbeitrag
news:10************@troutfish.plus.com...
Markus Ernst wrote:
You can write a function with javascript to scroll either to a position
(in pixels) or a distance (in pixels, too) to the left or to the right
side. Then call this function instead of a link to an anchor. There is no way to acess an anchor horizontally.
But be aware that this is very unlikely to work correctly on any browser

or version other than the one used to design the page.


Well it will work on IE 4+, Netscape 4+, Mozilla, Opera... as long as
Javascript is turned on. That'll be about 98 percent of installed browsers
out there.

With a nonscript-fallback (<a href="#anchor"
onClick="scrollfunction('scrollvalue'); return false">) and an appropriate
use of CSS you can also make sure text-only browsers and search engines are
supported, too.

--
Markus
Jul 20 '05 #9
Markus Ernst wrote:

[snip]
Well it will work on IE 4+, Netscape 4+, Mozilla, Opera... as long as
Javascript is turned on. That'll be about 98 percent of installed browsers
out there.

[snip]

Where did you get this 98% statistic? Others disagree:

<URL:http://www.thecounter.com/stats/2003/May/javas.php>

The Javascript qualification alone drops it down to 86%, according to them.
--
Jim Dabell

Jul 20 '05 #10
Markus Ernst wrote:
Well it will work on IE 4+, Netscape 4+, Mozilla, Opera... as long as
Javascript is turned on. That'll be about 98 percent of installed browsers
out there.


Only if the point you want to scroll to is at the pre-determined distance
from the left hand side.

--
Chris Lambert (http://web.trout-fish.org.uk/)
Error: Sector not found -- search behind couch? (Y/N)
Jul 20 '05 #11
In article <3f***********************@news.easynet.ch> in
comp.infosystems.www.authoring.html, Markus Ernst
<de******@yahoo.com> wrote:
Well it will work on IE 4+, Netscape 4+, Mozilla, Opera... as long as
Javascript is turned on. That'll be about 98 percent of installed browsers
out there.


Citation please?

I have heard that over 10% of users surf without JavaScript, though
I admit I don't have documentation to hand. Id be pleased to know
where your 98% figure comes from.

N.B. even if your 98% is correct, that 2% is still millions of Web
surfers.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #12
"Jim Dabell" <ji********@jimdabell.com> schrieb im Newsbeitrag
news:Ar********************@giganews.com...
Markus Ernst wrote:

Where did you get this 98% statistic?
I am sorry I don't remember where I read this.
<URL:http://www.thecounter.com/stats/2003/May/javas.php>


This is an interesting site. Anyway statistics depend a lot on how and from
whom the data are collected. For example thecounter.com display a total of
4% for all Netscape versions. I don't doubt this but my own website
statistics display Netscape shares of 13% (general interest site) and 23%
(graphics related).

So the statistics may differ a lot regarding to where the audience are
located, what work they do, how old they are, how much money they can spend
for their computers and so on. Unfortunately thecounter.com does not provide
information on this.

Anyway I don't insist on the 98%, they might be an extreme value, but it is
a fact that most average web users don't change their browser's default
settings. So I don't think it is a bad idea in every case to consider a
solution that relys on Javascript, but of course you have to know what you
want to offer to the others, be it 2% or 12% of the audience.

--
Markus
Jul 20 '05 #13
On Tue, Sep 16, Markus Ernst inscribed on the eternal scroll:
a fact that most average web users don't change their browser's default
settings.


I'm not sure that I have anything to say to "most average web users",
but they're perfectly welcome to peruse my web pages if they want,
along with the discerning webnauts I had in mind.
Jul 20 '05 #14
Markus Ernst wrote:
"Jim Dabell" <ji********@jimdabell.com> schrieb im Newsbeitrag
news:Ar********************@giganews.com...
Where did you get this 98% statistic?
I am sorry I don't remember where I read this.
<URL:http://www.thecounter.com/stats/2003/May/javas.php>


Anyway statistics depend a lot on how and from whom the data are
collected. For example thecounter.com display a total of 4% for all
Netscape versions. I don't doubt this but my own website statistics
display Netscape shares of 13% (general interest site) and 23%
(graphics related).

So the statistics may differ a lot regarding to where the audience
are located, what work they do, how old they are, how much money
they can spend for their computers and so on.


Thus, such statistics are unreliable. Strange that you should have
relied on them to make your argument about js in the first place.
Anyway I don't insist on the 98%, they might be an extreme value,
It might even have been made up.
but it is a fact that most average web users don't change their
browser's default settings.
And how do you know this to be "a fact?" Leaving that aside, what
about those who do not have access to js?
So I don't think it is a bad idea in every case to consider a
solution that relys on Javascript,
Even though some don't have it?
but of course you have to know what you want to offer to the
others, be it 2% or 12% of the audience.


Especially when that 2% or 12% includes indexing robots.

--
Brian
follow the directions in my address to email me

Jul 20 '05 #15

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

Similar topics

4
by: metalseb | last post by:
Hi folks I built up a small website which is designed for 800x600 display. Runs just fine in this resolution but if you have a system in 1024 or 1280 pixels wide, the site just "sticks" in the...
0
by: skumar | last post by:
I want to lock the first column while scrolling the datagrid horizontally. The scroll should happen from 2nd column.first column should be always visible. Can anybody throw some ideas. ...
0
by: Tom | last post by:
I need to know how far my windows form data grid is scrolling horizontally. Ideally I would like to know how many pixels. I know there is a protected (at least) property in the datagrid called...
2
by: P2P | last post by:
Hi I am wondering if someone know of a free cross-browsers vertical scrolling script that - is cross cross-browsers - will call the scrolling content from an external html page or from a...
5
by: shanti.miller | last post by:
I've got a grid that uses paging and displays a maximum of 10 records at a time. Sometimes the fields have a lot of data in them and the datagrid takes up way too much horizontal space. I've...
0
by: Tarik Monem | last post by:
I have been working on an all AJAX/DOM web site which is set to go live today and I thought I'd share my discoveries with all of you whom have helped me when I have encountered different issues along...
1
by: mb | last post by:
I know this sounds strange, but I have set up a dataview with a fixed header, so the header does not scroll up with the rows of data. However, I need the header to scroll horizontally (not...
16
by: Stan The Man | last post by:
I'm a CSS novice trying unsuccessfully to make three thumbnail images display horizontally instead of vertically. I suspect I'm missing something really stupid but I'll take the flak if someone...
4
by: naveenmurthy | last post by:
Hello All, I have created a .mht file in following format. 1. The .mht file contains following htmls. a. MHTLinkingProblem.html b. Left.html c. Right.html d. Start.html
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...

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.