473,786 Members | 2,607 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with Anchor link now working properly in IE!

Hi All,

I'm having a problem with an anchor link in IE which is working
inconsistantly and I can't figure out why.

On the following website:

http://www.friendlyrentals.com/

If you click on an apartment to go to a detail page, if you scroll
down the page a bit you'll find a section called "Availabili ty". If
you select a different month from the "jump to" dropdown menu, it
should reload the page and then jump down to the anchor located just
above the "availabili ty" header. In IE it doesn't do this, it does in
Opera & Firefox. Also after the dropdown menu has been used, if you
click on the "Availabilt y" link located near to top of the same page
under the section "Further down the page you will find:", it doesn't
jump down the first time you click it, but it does the second time you
click it! I checked the link URL's and they are identical for the
right after the page reloads after the "jump to" dropdown has been
selected, for when you click on the "availabilt y" link for the first
time, and for when you click on it for the second time!

Has anyone else experienced something like this? The HTML is correct
as far as I can see. Is this an IE issue? If so is there some
workaround?

Thanks in advance for any help.

Quintus
Jul 23 '05 #1
3 6033
Quintus Snapper <qs******@gmail .com> wrote:
http://www.friendlyrentals.com/

If you click on an apartment to go to a detail page, if you scroll
down the page a bit you'll find a section called "Availabili ty". If
you select a different month from the "jump to" dropdown menu, it
should reload the page


Why should it do anything? I haven't submitted the form. All I've done is
choose an option in a select list. And besides, there doesn't seem to be a
submit button anywhere.

It isn't a good idea to subvert basic interface features (e.g., the normal
operation of forms) with JavaScript. And it isn't a good idea to rely on
JavaScript.
--
Darin McGrew, mc****@stanford alumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp. com, http://www.HTMLHelp.com/

"Who is General Failure and why is he reading my hard disk?"
Jul 23 '05 #2
Darin,

Thanks for your tip on the use of JavaScript. That aside though, if
you select a different month from the dropdown, it will reload the page
(unless you have JavaScript disabled that is) which by the sounds of it
is what you have.

But it can't be the JavaScript which is casuing the problem. Even if
paste in the URL manually with it don't jump down.

For example, paste this in IE and I won't jump down, in Firefox it
will!
http://www.friendlyrentals.com/Prope...n_availability

Any idea?

Thanks,

Quintus

Jul 23 '05 #3
Fish <qs******@gmail .com> wrote:
But it can't be the JavaScript which is casuing the problem. Even if
paste in the URL manually with it don't jump down.

For example, paste this in IE and I won't jump down, in Firefox it
will!
http://www.friendlyrentals.com/Prope...n_availability

Any idea?


Maybe it's a problem with the empty A element:

<a id="an_availabi lity" name="an_availa bility"></a><br>

Or maybe it's a side effect of the many validation errors. A lot of them
are because you're using HTML syntax in a document that claims to be XHTML,
so they should be easy to fix (either by switching back to HTML, or by
converting to XHTML properly, if you really want to go that route).
--
Darin McGrew, mc****@stanford alumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp. com, http://www.HTMLHelp.com/

"Cheaters never win; they just finish first." - Johhny Hart
Jul 23 '05 #4

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

Similar topics

2
7642
by: Christian Kusenbach | last post by:
Hello group! I've a problem with JavaScript and IMG-Objects. On my webpage I use a big image and several small images. If you click on a small image, it executes a JavaScript to change the source of the big image to the source of the small image. It's working fine, but on some browsers (I use IE 6.0.2800.1106) the image doesn't change properly. I click on the image and the big image turns white. Now I have to
2
2550
by: delerious | last post by:
Please take a look at this page: http://home.comcast.net/~delerious1/index10b.html There is javascript code that is executed when the page is loaded. The code calls the focus() method and then the blur() method on the first anchor in the box. In IE and Opera the code works. But in Mozilla, you can see the dotted line around the first anchor, so it's as if the blur() method is not working. Anyone know what's going on?
3
2308
by: ehm | last post by:
I have encountered an issue that has me totally confused. I have a page where the user clicks on a hyper-text link and is then directed towards another page (passing additional variables, etc.). If the anchor text does not contain the "@" symbol, clicking on the link works in a normal fashion. However, if the anchor text is something like "foo@test", then clicking on the text displays the full URL (still goes to the correct link, but I...
3
2486
by: DonnyW | last post by:
I am working on an application that displays a list of items (biglist.aspx). With each item, there is a link that takes the user to another aspx page for updating the specific details of that item (updatedetails.aspx). That page has a button event that saves changes and then redirects back to the main list. Here's my issue -- the list page takes a parameter in the querystring. I have set up anchor tags for each item within the list....
3
5165
by: Greg | last post by:
This works properly: 1. Create a new Form and set it's size to 229, 474. 2. Drag a Panel to the form and set the following properties: Size = 216, 438 Location = 3,1 Anchor = Top, Bottom 3. Add a PictureBox control to the top of the panel and set the following
1
1678
by: shapper | last post by:
Hello, I have redefined the anchor styles in my page as follows: a, a:link {color: #B33100; text-decoration: underline} a:visited {color: #D53A00} a:hover, a:active {background-color: #FDFFA8; color: #B33100; text- decoration: none} Then I have on my HTML code:
3
4216
by: rpaterso47 | last post by:
Hello, I am trying to insert a background image into URLs that link to pages outside our intranet and thus when clicked open a new window. The image used is the common one seen on many sites, the little overlapping windows. This code: a.newWindow { padding-right: 14px; background: url(/bcasinfo/images/productionFiles/icons/newWindow.gif)
3
4524
by: Joseph Gruber | last post by:
Hi all -- I have two questions. First, I'm adding a control to my form at runtime and the control/form seems to ignore the anchor property of the runtime control. Any idea how I can get a runtime control to anchor properly? Second -- the program I'm writting is supposed to look like a dos application (long story). When the application is "Normal" aka a small window then everything looks great. But when I resize the window to...
1
7738
by: praveenb000 | last post by:
Hi every one, I designed a web page, having horizontal menu using UL and LI tags; I need to be set rollover effect for a menu items. whenever user hover on a menu item, the entire item(including anchor tag text) has to change to another color, but since iam using anchor tag in LI tag, the text in the menu item is not changing color when i hover on the menu item(LI). (but changing color when i hover on the anchor tag Text). But i...
0
9647
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
9496
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
10363
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10164
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...
0
9961
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...
1
7512
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
6745
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5397
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...
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.