473,406 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Hiding url in status bar

Hi

In a php script , i'm passing some values as parameter in anchor tag attribute.
e.g <a href = "test.php?id=110&name=xyz&sno=oo8s7"...

On mouse over this link , these values are displayed in the status bar.
To avoid this , i add a small javascript which makes the statusbar message null.
It is working on mouseover event . But on mousedown event , it fails and displays the url with parameter in status bar.

I added the same script for onmouseover and onmousedown event. But it fails in onmousedown event .

<a href = "test.php?id=110&name=xyz&sno=oo8s7" onmouseover = "return hide_statusurl()" > -- This works for onmouseover.

But , the following works for onmouseover and not for onmousedown

<a href = "test.php?id=110&name=xyz&sno=oo8s7" onmouseover = "return hide_statusurl()" onmousedown = "return hide_statusurl()" >

Thanks in advance
-somas
Aug 9 '06 #1
4 5312
ronverdonk
4,258 Expert 4TB
When you click you will always see it in the address field of your browser. If you don't want to show your URL parameters at all, you have to look at using something like cURL, which you can use to POST the variables.

See PHP documentation or other websites such as
http://curl.haxx.se/libcurl/php/
http://www.zend.com/pecl/tutorials/curl.php
http://www.phpit.net/article/using-curl-php/

Ronald :cool:
Aug 9 '06 #2
iam_clint
1,208 Expert 1GB
Expand|Select|Wrap|Line Numbers
  1. onmouseover="window.setTimeout('removestatus()',5);" onmousedown="window.setTimeout('removestatus()',5);"
  2. <script>
  3. function removestatus() {
  4. window.status = '';
  5. }
  6. </script>
  7.  
Use this on mouse over and on mouse down -- sets a timer it works how i figure you would want it to. put those in your link and wam your done -- that fixes the status i think ronverdonk didn't quite understand your original question.
By the way this should be in the javascript topic.
Aug 9 '06 #3
Hi

OnMouse Over and on mouse down event on a link , its url with full parameters is displayed in the
status bar. Hence i tried to hide it using

window.timout(window.status="",3);

This Javascript routine working in Internet Explorer.
But OnMouseDown event not working in Mozilla.
I need a browser independent solution for this.

Pls post ur replies.

Thanks n advance
somas
Aug 12 '06 #4
Banfa
9,065 Expert Mod 8TB
There isn't one. Access to the status bar is a browser implementation feature and allow web-pages to write to it is a security risk so the better browsers dont let that happen (like mozilla).
Aug 14 '06 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

17
by: Bob Weiner | last post by:
What is the purpose of hiding intead of overriding a method? I have googled the question but haven't found anything that makes any sense of it. In the code below, the only difference is that...
2
by: Xerxes | last post by:
Hi, I am trying to hide/change the window.status text when the mouse is over the hyperlink text but it does not seem to work on Mozilla (Firefox). Am I doing something wrong: <a...
4
by: RCHutch | last post by:
I would like to prevent the URL from appearing on the status bar when a user holds the mouse down on top of it. I am already using: oncontextmenu="window.status=''; return false" ....and...
4
by: Jon | last post by:
Hi, I am calling the function showpopupWindow(item) to open and write a popup window. When testing in IE6 locally the popup window displays my text in both the title and status bars but when...
2
by: Andrew Poulos | last post by:
I have a form with a submit button and an onsubmit event. fCheckform = function() { var status = false; // // some checking here, if its ok then status get set to true // if (status) { var...
11
by: JJ297 | last post by:
I want to hide the Pin field below in my repeater. How do I do this? <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1"> <ItemTemplate> <tr> <td><font...
162
by: Sh4wn | last post by:
Hi, first, python is one of my fav languages, and i'll definitely keep developing with it. But, there's 1 one thing what I -really- miss: data hiding. I know member vars are private when you...
27
by: matt | last post by:
Hello group, I'm trying to become familiar with the information hiding design rules, and I have a lot (3) of questions for all you experts. AFAIK, a generic module has 2 files: ...
0
by: bharathreddy | last post by:
Hi All, I am using a listview control in my usercontrol so that it can be used in more than one form. This user control has one column extraw, so i want to make it invisible depending on the...
6
by: Archana | last post by:
Hi all, i am facing one problem with status bar of IE. when i execute any javascript function or navigate to any link it is showing me that in status bar which i don't want. how will ido...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
0
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...
0
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...
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
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...

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.