B
Bernd Liebermann
Hi,
I need some help on a simple question: I have a link that should open a new
window (no action in main window), which is realized by a function that
calls window.open(). The function itsself works fine, but here is the
problem:
1) If I use
<A HREF="openToolWindow()">LinkText</A>
then the plain source code of my function is loaded into the window.
2) If I use
<A HREF="" onClick="openToolWindow()">LinkText</A>
my function runs correctly, but the original window loads my start page.
3) If I use
<P onClick="openToolWindow()">LinkText</P>
everything works like intended except that my paragraph does not behave like
a normal hypertext reference, i.e. it is not undelined, has a different
color, and the mousecursor does not change into the "hand"-cursor on
mouseover.
How would the cracks handle this problem? The document in the main window
should not be reloaded, if possible. It is a php-script that performs some
database action, and I want to keep the workload low for my server.
Best regards,
Bernd
I need some help on a simple question: I have a link that should open a new
window (no action in main window), which is realized by a function that
calls window.open(). The function itsself works fine, but here is the
problem:
1) If I use
<A HREF="openToolWindow()">LinkText</A>
then the plain source code of my function is loaded into the window.
2) If I use
<A HREF="" onClick="openToolWindow()">LinkText</A>
my function runs correctly, but the original window loads my start page.
3) If I use
<P onClick="openToolWindow()">LinkText</P>
everything works like intended except that my paragraph does not behave like
a normal hypertext reference, i.e. it is not undelined, has a different
color, and the mousecursor does not change into the "hand"-cursor on
mouseover.
How would the cracks handle this problem? The document in the main window
should not be reloaded, if possible. It is a php-script that performs some
database action, and I want to keep the workload low for my server.
Best regards,
Bernd