473,466 Members | 1,445 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Hyperlink HREF

Hi. I have the following question - is it possible (I assume it is, but I
have no idea how to do it) to HIDE the href text which automatically shows
in the status bar of IE ?

I have build a templated, data-bound custom control. Using it, I am showing
a list of names from the Authors table, using hypertext links with the text
set to the name of the person, such as:
RINGER, PAUL
RINGER, JANE
each of the links pointing to a Details form, with the syntax:

<a id=lnkOdd style="COLOR: #ff0066" href= '<%#
string.format("Details.aspx?id={0}", container.dataitem("au_id"))%>'>
<%# container.dataitem("au_lname") & ", " &
container.dataitem("au_fname") %>
</a>

Now when I move the mouse over such a link, I see in the status bar
something like:
.......Details.aspx?id=109-29-2932

I imagine that in some situations I would NOT like the users to see the
(supposedly secret) ID. How can I convince IE NOT to show the href of the
link I'm hovering over ?

Should I write some JScript to kill/modify the onmouseover event ? If so,
how would one do that ? Or is there some property to set ? (I haven't found
one).

Thank you.
Alex
Nov 19 '05 #1
8 2401
Sorry, I forgot something:

I would also like to HIDE the ID which shows in the address of details when
it opens, such as:

http://localhost/aspnetprojects/vsne...id=109-10-1093

I would be happy if I could show only:

http://localhost/aspnetprojects/vsne...r/Details.aspx

Thanks again,
Alex.
Nov 19 '05 #2
Hi,

Write a script to scroll some text in the staus bar...this will hide the
href text in the staus bar of IE during mouse over on the links.

Cheers,

Jerome. M
"Alex Nitulescu" wrote:
Hi. I have the following question - is it possible (I assume it is, but I
have no idea how to do it) to HIDE the href text which automatically shows
in the status bar of IE ?

I have build a templated, data-bound custom control. Using it, I am showing
a list of names from the Authors table, using hypertext links with the text
set to the name of the person, such as:
RINGER, PAUL
RINGER, JANE
each of the links pointing to a Details form, with the syntax:

<a id=lnkOdd style="COLOR: #ff0066" href= '<%#
string.format("Details.aspx?id={0}", container.dataitem("au_id"))%>'>
<%# container.dataitem("au_lname") & ", " &
container.dataitem("au_fname") %>
</a>

Now when I move the mouse over such a link, I see in the status bar
something like:
.......Details.aspx?id=109-29-2932

I imagine that in some situations I would NOT like the users to see the
(supposedly secret) ID. How can I convince IE NOT to show the href of the
link I'm hovering over ?

Should I write some JScript to kill/modify the onmouseover event ? If so,
how would one do that ? Or is there some property to set ? (I haven't found
one).

Thank you.
Alex

Nov 19 '05 #3
Hello
to hide the link in the status bar you should user Java Script in your
Anchor Tag.
Write a Event of Onclick in the tag .
2nd is in which situation you are redirecting to that id ,
if you are redirecting to some page with that id in Query String then you
should change your form data posting method,,,Save this id in some Text
Field and submit the form on the page.
Regards,
Malik Asif
"Alex Nitulescu" <RE***********************@yahoo.com> wrote in message
news:uK**************@TK2MSFTNGP15.phx.gbl...
Hi. I have the following question - is it possible (I assume it is, but I
have no idea how to do it) to HIDE the href text which automatically shows
in the status bar of IE ?

I have build a templated, data-bound custom control. Using it, I am showing a list of names from the Authors table, using hypertext links with the text set to the name of the person, such as:
RINGER, PAUL
RINGER, JANE
each of the links pointing to a Details form, with the syntax:

<a id=lnkOdd style="COLOR: #ff0066" href= '<%#
string.format("Details.aspx?id={0}", container.dataitem("au_id"))%>'>
<%# container.dataitem("au_lname") & ", " &
container.dataitem("au_fname") %>
</a>

Now when I move the mouse over such a link, I see in the status bar
something like:
......Details.aspx?id=109-29-2932

I imagine that in some situations I would NOT like the users to see the
(supposedly secret) ID. How can I convince IE NOT to show the href of the
link I'm hovering over ?

Should I write some JScript to kill/modify the onmouseover event ? If so,
how would one do that ? Or is there some property to set ? (I haven't found one).

Thank you.
Alex

Nov 19 '05 #4
Thanks. I'll give it a try ! :-)))

Alex.
Nov 19 '05 #5
Hi,

Even yu can use "Link button" too..to hide the link text appearing in the
staus bar.

Cheers,

Jerome. M

"Alex Nitulescu" wrote:
Hi. I have the following question - is it possible (I assume it is, but I
have no idea how to do it) to HIDE the href text which automatically shows
in the status bar of IE ?

I have build a templated, data-bound custom control. Using it, I am showing
a list of names from the Authors table, using hypertext links with the text
set to the name of the person, such as:
RINGER, PAUL
RINGER, JANE
each of the links pointing to a Details form, with the syntax:

<a id=lnkOdd style="COLOR: #ff0066" href= '<%#
string.format("Details.aspx?id={0}", container.dataitem("au_id"))%>'>
<%# container.dataitem("au_lname") & ", " &
container.dataitem("au_fname") %>
</a>

Now when I move the mouse over such a link, I see in the status bar
something like:
.......Details.aspx?id=109-29-2932

I imagine that in some situations I would NOT like the users to see the
(supposedly secret) ID. How can I convince IE NOT to show the href of the
link I'm hovering over ?

Should I write some JScript to kill/modify the onmouseover event ? If so,
how would one do that ? Or is there some property to set ? (I haven't found
one).

Thank you.
Alex

Nov 19 '05 #6
There are ways to do this with JavaScript. JavaScript does allow you to
control the contents of the status bar, but I would like to offer a more
broad view of your request. There is nothing to prevent the user from
viewing the source of the webpage and seeing the parameters. In fact, that
is what I do all the time when a webpage tries to hide the contents of a
URL. I gets suspicions when a site does not want me to know what the URL of
a link is. Does it go to an adult site? Does it go to a spam site? Does
it go to a link that attempts to install a virus? All legitimate concerns
these days.

If you truly want to obfuscate the parameters, you might want to store them
in a database and send a "key" down in the querystring that represents those
querystrings. Then if the link is clicked, the parameters are gotten from
the database and used based on the "key". That key would be valid for a
period of time like the duration of the users session.

Or if you don't need that much security, you could simply BASE64 encode each
"secret" parameter and decode it when it returns to the server.

"Alex Nitulescu" <RE***********************@yahoo.com> wrote in message
news:uR**************@TK2MSFTNGP12.phx.gbl...
Sorry, I forgot something:

I would also like to HIDE the ID which shows in the address of details
when it opens, such as:

http://localhost/aspnetprojects/vsne...id=109-10-1093

I would be happy if I could show only:

http://localhost/aspnetprojects/vsne...r/Details.aspx

Thanks again,
Alex.

Nov 19 '05 #7
I found a very simple method by searching the net:

onmouseover="OnMouseOverScript();return true"

where

<script language="javascript">
function OnMouseOverScript()
{
}
</script>

The key here is the "return true" stuff.... I'm working now on the second
part of the problem - passing the ID in a different manner.
Nov 19 '05 #8
Yes, great idea, Peter, especially the first one. I'm working right now on
an algorithm to generate these keys dynamically.

Thanks ! :-))))

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
There are ways to do this with JavaScript. JavaScript does allow you to
control the contents of the status bar, but I would like to offer a more
broad view of your request. There is nothing to prevent the user from
viewing the source of the webpage and seeing the parameters. In fact,
that is what I do all the time when a webpage tries to hide the contents
of a URL. I gets suspicions when a site does not want me to know what the
URL of a link is. Does it go to an adult site? Does it go to a spam
site? Does it go to a link that attempts to install a virus? All
legitimate concerns these days.

If you truly want to obfuscate the parameters, you might want to store
them in a database and send a "key" down in the querystring that
represents those querystrings. Then if the link is clicked, the
parameters are gotten from the database and used based on the "key". That
key would be valid for a period of time like the duration of the users
session.

Or if you don't need that much security, you could simply BASE64 encode
each "secret" parameter and decode it when it returns to the server.

"Alex Nitulescu" <RE***********************@yahoo.com> wrote in message
news:uR**************@TK2MSFTNGP12.phx.gbl...
Sorry, I forgot something:

I would also like to HIDE the ID which shows in the address of details
when it opens, such as:

http://localhost/aspnetprojects/vsne...id=109-10-1093

I would be happy if I could show only:

http://localhost/aspnetprojects/vsne...r/Details.aspx

Thanks again,
Alex.


Nov 19 '05 #9

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

Similar topics

4
by: Thubaiti | last post by:
Hi, I have this code: <td> <a href="#" class="toolbar">Computers</a> <a href="commun.html" class="toolbar">Communications</a> <a href="electronics.html" class="toolbar">Electronics</a> <a...
2
by: laura | last post by:
I am writing an intranet and want to be able to hyperlink to all files within a specific folder AND it's subfolders. Whilst I can hyperlink to the files in the specified folder AND I can also...
3
by: naija naija | last post by:
Hi All, I have something like this on my ASPX page nodeProd.Text = rowProd("ProductName") I'm getting Data from a table which is ProductName. How can i input "<a href=""></a> to this if i...
6
by: sck10 | last post by:
Hello, Can you control the window attributes (toolbar, scrollbars, left and right exc.) when using the hyperlink control as you would when using javascript? For examle, I am using the...
4
by: wrytat | last post by:
I have a form with a textbox for the user to enter a quantity and another textbox for the delivery date. I disabled this delivery date textbox such that the user has to press a calendar link next...
19
by: Joe | last post by:
I have an aspx page (referred to here as page_1) with a datagrid whose first column contains hyperlinks. When a user clicks one of these hyperlinks, he will navigate to another aspx page (referred...
15
by: Jeff | last post by:
Hey gang. i have this Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") & vbCrLf coming from access db. how can i get that to make a hyperlink clickable as well??
2
by: =?Utf-8?B?QW5keQ==?= | last post by:
I have a Hyperlink... <asp:HyperLink id="HyperLink1" runat="server" CssClass="LinkButton" href="#">Add Item</asp:HyperLink></TD> Which when clicks calls a javascript function AddItem. This...
20
by: tshad | last post by:
I had posted this problem earlier and just noticed that the Hyperlink is the problem. Apparently, it doesn't figure out the path correctly. It uses the path of the file it is in, even if it is...
4
by: mramsay | last post by:
Hi, I'm having a real problem creating a dynamic hyperlink for my website. I want to pull the field name from mysql table. Field name is description. I would like this to be a hyperlink on my...
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
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,...
0
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...
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...
0
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,...
0
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.