473,663 Members | 2,903 Online
Bytes | Software Development & Data Engineering Community
+ 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.datai tem("au_id"))%> '>
<%# container.datai tem("au_lname") & ", " &
container.datai tem("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 2417
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.datai tem("au_id"))%> '>
<%# container.datai tem("au_lname") & ", " &
container.datai tem("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************ ***********@yah oo.com> wrote in message
news:uK******** ******@TK2MSFTN GP15.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.datai tem("au_id"))%> '>
<%# container.datai tem("au_lname") & ", " &
container.datai tem("au_fname") %>
</a>

Now when I move the mouse over such a link, I see in the status bar
something like:
......Details.a spx?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.datai tem("au_id"))%> '>
<%# container.datai tem("au_lname") & ", " &
container.datai tem("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************ ***********@yah oo.com> wrote in message
news:uR******** ******@TK2MSFTN GP12.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="On MouseOverScript ();return true"

where

<script language="javas cript">
function OnMouseOverScri pt()
{
}
</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.r illing.net> wrote in message
news:%2******** *******@TK2MSFT NGP12.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************ ***********@yah oo.com> wrote in message
news:uR******** ******@TK2MSFTN GP12.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
3179
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 href="#" class="toolbar">Others</a>
2
2328
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 iterate through the subfolders and list them, for some reason I cannot hyperlink to the sub folders. I am writing this software at home using a computer that has IIS and Windows 98 and am accessing this as my server from another computer on my network....
3
1368
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 want the data to have LINKS. thanks alot
6
1814
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 following javascript to open another window and would like to control these attributes with the hyperlink control: window.open(msgSubmitterInfo,t,s);return false" var s="toolbar=no,directories=no,scrollbars=yes,resizable=yes,"; s+= ...
4
5817
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 to the textbox, then a calendar will pop up for him to choose the date. The dates that the user can pick depends a lot on the quantity that he enters in the quantity field. Is there any way that I can parse the quantity field to the calendar page...
19
3481
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 to here as page_2). I need to cache the value of the link's text (hyperlink.text property) so that I can use it in the page_load event of page_2. I've thought of using a hidden field and then calling Request.Form("hdnClickedLinkText") in the...
15
2068
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
1252
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 linkage is addedin the form_load of the page thus: (simple example) HyperLink1.Attributes.Add("onClick", "addItem('" & HyperLink1.ClientID & "','" & "123" & "','" & "321" & "')")
20
2990
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 a control. I have 2 files "displayCompanyJobs.aspx" and "displayCompanyOverview.aspx" which are in both the folder "/jobseeker/" and "/employer/". I have a user control "displayCompanyJobs.ascx" that is in my /applicant/
4
3430
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 homepage. Also, when the user clicks on the description hyperlink they should see a dropdown with other hyperlinks such as hockey, baseball, etc. Here is what I have so far. I am new to asp and mysql, I would really appreciate the help. % ...
0
8345
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
8858
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
8634
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
6186
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
5657
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
4182
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
4349
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2763
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
1757
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.