Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » link disabling


link disabling

Reply
  #1 (permalink)  
Old 07-13-04, 08:00 AM
sharad sharad is offline
Newbie Coder
 
Join Date: Jun 2004
Location: noida
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Question link disabling

hi,
How to disable a link on a web page.
is there any option availble in HTML by which we can represnt alink in a
relative link in a disabled form i.e. clicking on link , it shoud not dispaly any page it attached with.
pls help.
Reply With Quote
  #2 (permalink)  
Old 07-13-04, 09:41 AM
gezer77 gezer77 is offline
Newbie Coder
 
Join Date: Jul 2004
Location: Texas
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
you mean when you click a link it goes no where?

for that you just do <a href="#">Link</a>
Reply With Quote
  #3 (permalink)  
Old 07-15-04, 04:03 AM
clawdragos clawdragos is offline
Newbie Coder
 
Join Date: Jul 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
mhm, I suggest to put an anchor on the same page. In this case when the user click the link the page will not reload. <a name="here"/> and the link should be <a href="#here">Text of the link</a>.
__________________
Free Online Iq Test || Perle
Reply With Quote
  #4 (permalink)  
Old 07-23-04, 11:53 PM
WWW.CGISCRIPT.NET WWW.CGISCRIPT.NET is offline
New Member
 
Join Date: Jul 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Need more clarification on this question.

Are you suggesting that a series of navigation links on the page for the site exists. These links are shared on multiple pages. If you click HOME, for example, when you go to home page the ALINK aspect of the link will disable it?

I wonder if you could use CCS and make the link change to HIDDEN when it is ALINK, I bet you can.
__________________
Free CGI Scripts and JavaScripts
http://www.cgiscript.net
Reply With Quote
  #5 (permalink)  
Old 07-24-04, 12:10 AM
WWW.CGISCRIPT.NET WWW.CGISCRIPT.NET is offline
New Member
 
Join Date: Jul 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Something like this maybe?

Code:
<style TYPE="text/css"><!--
	a:link {text-decoration: none; color: "00FF00";}
	a:active {text-decoration: none; color: "red"; visibility: hidden}
	a:visited {text-decoration: none; color: "white";}
	a:hover {text-decoration: underline;}
--></style>
__________________
Free CGI Scripts and JavaScripts
http://www.cgiscript.net
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to link to insert pages samkry ASP 0 06-13-04 11:14 PM
$ in http:// link via email? GG Dart PHP 2 01-15-04 11:23 AM
Passing a table or variable through a link? chinablack1480 PHP 1 12-07-03 03:55 AM
Different type of link counter mdhall Script Requests 2 10-10-03 01:19 PM


All times are GMT -5. The time now is 10:14 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.