How to hide link in status bar

Started on the old forum in March 2013 · view the original in the archive · old links redirect here

4 replies · 762 views · started 13 years ago · 1 min read

2 participants
sanjida Newbie · 5 posts #1

I cannot understand how can hide link in status bar to guest, my php codes below:

/file column echo '<td width="75%" class="default_td" align="left" valign="top"><a class="default_a" href="', $this_file; $npart = $dir . $value; if (preg_match('/\|$/', $value)) //it is a link, not an actual file { $value = substr($value, 0, -1); $npart = substr($npart, 0, -1); $display = get_stored_info($value, $dir.$links_file); if ($display == '') { $display = $value; } echo 'dir=', translate_uri($subdir), '&amp;link=', translate_uri($value), '" title="Click here to Download ', $filename, '">', icon(ext($display)), htmlentities($display), '</a>'; }

and i have found a method, the method working html fine. but how can i apply the method my above php code or how it worked? the method below:

<a style="cursor: pointer" onclick="javascript: window.location = 'http://www.mydomain.com/';">Go To SO</a>

GumSlone Administrator Principal · 1,690 posts #2
echo '<td width="75%" class="default_td" align="left" valign="top"><a class="default_a" href="javascript:void(0);" onclick="javascript: window.location = \'', $this_file;
 $npart = $dir . $value;
 if (preg_match('/\|$/', $value)) //it is a link, not an actual file
 {
 $value = substr($value, 0, -1);
 $npart = substr($npart, 0, -1);
 $display = get_stored_info($value, $dir.$links_file);
 if ($display == '')
 {
 $display = $value;
 }
 echo 'dir=', translate_uri($subdir), '&link=',
 translate_uri($value), '\'" title="Click here to Download ', $filename, '">',
 icon(ext($display)), htmlentities($display), '</a>';
 }

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

sanjida Newbie · 5 posts #3

Thanks, its hide link to guest. and now mouse hove showing under status bar with (javascript:void(0); but when click hyperlink, nothing work.

sanjida Newbie · 5 posts #4

pls help me i need it very urgent

sanjida Newbie · 5 posts #5

My problem solved, anyway thanks CT admin

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close