473,698 Members | 2,434 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Linking inside a doc using IE

1) I have this link like:

<a href='#A1' onclick="go_ans wer('A1');">How do I find ....</a>

then an anchor like:

<a name='A1'></a>

It works in Mozilla but not IE.

What's up with that?

You can see this at www.hulenbend.net/cgi-bin/faq.cgi

Mike
Jul 20 '05 #1
3 1675
I'm sorry. It did sound too easy a question to post. After I set back to
look at the code I found that I need a space in the anchor name attribute
like:

<a name='A1'>&nbsp ;</a>

Mike
"Michael Hill" <hi****@charter .net> wrote in message
news:vm******** ****@corp.super news.com...
1) I have this link like:

<a href='#A1' onclick="go_ans wer('A1');">How do I find ....</a>

then an anchor like:

<a name='A1'></a>

It works in Mozilla but not IE.

What's up with that?

You can see this at www.hulenbend.net/cgi-bin/faq.cgi

Mike

Jul 20 '05 #2
Michael Hill wrote:
1) I have this link like:

<a href='#A1' onclick="go_ans wer('A1');">How do I find ....</a>

then an anchor like:

<a name='A1'></a>


What's the point of the "onclick" portion? Looking at your site, it
seems like it calls a JavaScript function containing only commented out
lines, so it seems like an entirely superfluous part of your code, and
might somehow be interfering with the operation of the normal link.

--
== 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 #3
Michael Hill wrote:
I'm sorry. It did sound too easy a question to post. After I set back to
look at the code I found that I need a space in the anchor name attribute
like:

<a name='A1'>&nbsp ;</a>


Nasty. A better solution might be:

<h2><a name="A1">A1</a></h2>

or, if you don't mind ditching support for Netscape 4 and similar obsolete
browsers...

<h2 id="A1">A1</h2>

--
David Dorward http://dorward.me.uk/
Jul 20 '05 #4

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

Similar topics

1
2587
by: Jeff Hagelberg | last post by:
I'm trying to create a python module which can be used by a python interpreter embedded inside a fortran program I have. To do this, I first created python wrappers for all the functions in my fortran program using f2py. I then start an embedded python interpreter in c code which I link against the fortran program. I invoke the fortran program with a filename containing python code. This file is passed to the c code which passes it on...
7
2202
by: Oleksii | last post by:
Hello, I'm rather new to the advanced topics, therefore I cannot explain the following myself. Could anyone give me a hint on this one? I'm trying to avoid link-time dependencies on (a test version of) certain classes. In other words I don't want to link stuff that I don't use. One thing that worked for me was replacing instance members (MyClass myClass) within a class with auto_ptr (auto_ptr<MyClass> myClass) and initializing it with...
2
1272
by: gurpreet | last post by:
Hi this is gurpreet, I know this is a very simple question but still I want to clear some doubts. What happens when we compile and link a c-program? I hope aquite a lot of responses to my querry. BYE! BYE!
7
6549
by: wmkew | last post by:
Hello everyone I'm encountering a R6002 Runtime error and several bugs when trying to generate a simple Managed C++ application with .NET 2003. The main problem seems to arise from linking with LIBCMT(D).DLL. (My requirement is that we can't link with MSVCRT(D).LIB.) Below are steps I've followed, and the resulting problems 1. Using the New Project wizard, generate a Visual C++ .NET Class Library project (call it "Doomed") and a VC++...
5
1388
by: Joerg M. Colberg | last post by:
My apologies if this is a trivial problem. I have been trying to solve this for a few days now and I just can't get it done. Here's what I have. I have a C++ project in VisualStudio.NET whose code relies on external C code (GNU Scientific Library). That external code I added using Configuration Properties->Linker->Input->Additional Dependencies There, I specified two .lib files and the code compiles just fine. However, when it generates...
2
1433
by: Joerg M. Colberg | last post by:
I have a VS.Net solution that contains various projects. Some of the projects contain programme blocks (legacy code) that are used by some of the other projects. One project contains some C code (managed and unmanaged) that uses external libraries (GNU Scientific Library). These external libraries are linked to in the Properties->Linker->Input page and the linking so far has worked fine. I just wrote a C# web application that references...
0
1392
by: empiresolutions | last post by:
I will use a local linking stucture to illustrate my questions. You can read the forum titled "File Organization and Aliasing" for a larger picture of what im trying to accomplish. I have three folders living in /htdocs/ A(main site), B(admin), & C(shopping cart). Inside each folder are files that have at line 1, <?php include('es_starter.php') ?>. es_starter.php is in folder /htdocs/includes/, this file is manditory for the site to run....
0
2029
by: ivan.leben | last post by:
I am writing this in a new thread to alert that I found a solution to the problem mentioned here: http://groups.google.com/group/comp.lang.c++/browse_thread/thread/7970afaa089fd5b8 and to avoid this topic getting lost before people interested in the problem notice it. The important tricks to the solution are two: 1) make the custom classes take a TEMPLATE argument which defines their BASE class 2) EMBED the custom classes in a "Traits"...
2
2726
by: pssraju | last post by:
Hi, At present application was built on solaris 9 using sun studio 9 (Sun C++ 5.6) & rouguewave sorce pro 5. We are planning to port the same application onto SuSE Linux 9.5.0 using GCC 3.3.3 & RW source pro 9. My application heavily uses RW tools through wrapper classes on the top existing RW classes. RW libraries were built using gcc on linux platform and standalong RW examples are working fine. Since the application compilation is moving...
3
2851
by: Pixel.to.life | last post by:
Hi, Gurus, I recently attempted to build a .Net forms application, that links with old style unmanaged C++ static libs. Of course I had to recompile the static lib projects to link properly with the managed application. My questions are two fold: The managed project uses /clr and /MDd (in debug) options. The
0
9160
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
9029
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
8897
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
7729
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...
0
5860
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
4370
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
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2331
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.