473,396 Members | 1,834 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,396 software developers and data experts.

"unlink" a hyperlink without it being seen on the page

Flickr
5
I have been reading through the site and have found a wealth of absolutely phenomenal information. For that, I thank you.

I am having trouble even asking my question, as I don't know the "tech" speak to present it. Here it goes.

I have a started an online photography Group on Flickr.com. I need to put the simple HTML "copy and paste" code on the page so others can invite pictures to be added to our Group.

Is there a way to "unlink" a hyperlink without it being seen on the page? For example, I need it say "copy and paste" this: <a href=blah, blah....</a>

and when you're done it should look like this: my aviator icon and the real invitation.

I can't seem to "unlink" the written out HTML for them to "copy"...it just keeps turning into my icon and invitation. There are no break the link buttons for me to choose.

There has got to be something I can do. Maybe you can take a look at an example page and give me a clue. Please look at the invitation codes on the "Beauty is in the eye of the beholder" page on http://www.flickr.com/groups/beauty_..._the_beholder/

If this makes any sense to you, will you please try to assist me.

Thank you.
Jul 27 '07 #1
16 12165
MMcCarthy
14,534 Expert Mod 8TB
Hi Flickr

Welcome to thescripts.

I am moving this to the HTML/CSS forum where they should be able to help you out.

Mary
Jul 27 '07 #2
bartonc
6,596 Expert 4TB
I have been reading through the site and have found a wealth of absolutely phenomenal information. For that, I thank you.

I am having trouble even asking my question, as I don't know the "tech" speak to present it. Here it goes.<snip>
Thank you.
Hi Flickr. The first thing that we need to do is find the relevant forum for your question. Perhaps you are looking for the HTML/CSS Forum or one of the other Web Development forums under the "Forums" tab, above.

Now for the business of this (the Member Introductions) forum:

Welcome. I am happy to hear that you have found this site useful.
Thanks for joining.
Jul 27 '07 #3
bartonc
6,596 Expert 4TB
Hi Flickr

Welcome to thescripts.

I am moving this to the HTML/CSS forum where they should be able to help you out.

Mary
You moved it while I was replying. I wonder if that's why there is no redirect left in member introductions?
Jul 27 '07 #4
MMcCarthy
14,534 Expert Mod 8TB
You moved it while I was replying. I wonder if that's why there is no redirect left in member introductions?
Sorry, I didn't leave a redirect. I don't usually.
Jul 27 '07 #5
Flickr
5
I've been reading around the Forum, as suggested, and I think what I need might be referred to as an "Ignore-Me Code"?

Thank you for the suggestions. I am looking for the proper way to research on your website without being inappropriate or disrespectful. I, too, am a work in progress. Thank you for your patience.
Jul 27 '07 #6
dafodil
392 256MB
Sorry but as much as I want to help you I cannot go to the link that you posted because there is a security control in our office that prevents me from accessing your site.

Anyway, if you try to unlink a hyperlink, that will no longer be a hyperlink . It'll be just words contained inside your html.

Do you want to display it as plain words?
Jul 27 '07 #7
Flickr
5
Yes...plain words for the invitation to be copied and pasted...then show up as an invitation and a link to the photo sharing Group.

I was only using the link as an example...NOT to promote another website. Boy, I just keep making oops tonight!
Jul 27 '07 #8
dafodil
392 256MB
<a href="sample.com"> link </a>

From the code above, just delete the: <a href="sample.com"> and </a>
Just paste the word, without the tag and the link will be removed.

Cheers
Jul 27 '07 #9
Flickr
5
This has got to be so simple that it's going to smack me when I figure it out. That's why I came to the experts.

Okay. The web page I'm working on is templated. I don't have a lot of options to choose from. When I open up the Admin page and enter the information it gets converted automatically into HTML.

I need it to read something like this:

"Cut and Paste this: <a href="sample.com"> link </a>

and it will look like this: link"

What I end up with on the page is....

Cut and Paste this: link

and it will look like this: link


Ultimately, what do I put in front of the <a href="sample.com"> link </a>
to make it copyable (in plain text) for the reader?

<!--***--> makes it disappear altogether
<plaintext> </plaintext> no effect at all
Jul 27 '07 #10
dafodil
392 256MB
<a href="g">link</a>

Should be pasted like this so that it will not be a link.

&lt;a href=&quot;g&quot;&gt;link&lt;/a&gt;
Jul 27 '07 #11
Flickr
5
I have worked on this all night long. I'm tired...and stupid. This is like algebra for me.
I just cant get it correct. I don't know where to place the "g" to open and close the information...

<a href="g""http://www.flickr.com/groups/ILoveYourFace/"><img
src="http://farm2.static.flickr.com/1165/buddyicons/403210@N24.jpg?1185125373" width="40" height="30" alt="I Love Your Face Flickr Group"/></a> <b>Please add your photo to our Group
because:</b><a href="http://www.flickr.com/groups/iloveyourface/">I Love Your Face!
Jul 27 '07 #12
Coldfire
289 100+
I have worked on this all night long. I'm tired...and stupid. This is like algebra for me.
I just cant get it correct. I don't know where to place the "g" to open and close the information...

<a href="g""http://www.flickr.com/groups/ILoveYourFace/"><img
src="http://farm2.static.flickr.com/1165/buddyicons/403210@N24.jpg?1185125373" width="40" height="30" alt="I Love Your Face Flickr Group"/></a> <b>Please add your photo to our Group
because:</b><a href="http://www.flickr.com/groups/iloveyourface/">I Love Your Face!
havnt u put the html script allright. In similar way u can use the html tag textaea

here is the code
for copy-paste
[HTML]<textarea name="txt" rows="6" cols="90" readonly="true"><a
href="http://www.flickr.com/groups/beauty_is_in_the_eye_of_the_beholder/"><img src="http://static.flickr.com/61/222339465_91c2d6dd48_t.jpg" width="40" height="30" alt="Beauty is in the *EYE* of the Beholder" /> </a>
<b>Please add your Beautiful Photo to:</b>
<a href="http://www.flickr.com/groups/beauty_is_in_the_eye_of_the_beholder/">Beauty is in the *Eye* of the Beholder! </a></textarea>[/HTML]
for cut-paste
[HTML]<textarea name="txt" rows="6" cols="90" ><a
href="http://www.flickr.com/groups/beauty_is_in_the_eye_of_the_beholder/"><img src="http://static.flickr.com/61/222339465_91c2d6dd48_t.jpg" width="40" height="30" alt="Beauty is in the *EYE* of the Beholder" /> </a>
<b>Please add your Beautiful Photo to:</b>
<a href="http://www.flickr.com/groups/beauty_is_in_the_eye_of_the_beholder/">Beauty is in the *Eye* of the Beholder! </a></textarea>[/HTML]
Jul 27 '07 #13
The way to get your <a href = "www.example.com" >linktext< /a > code to appear just like that, and NOT as a link (so your users can copy and paste it to make their own link) is to

replace < with &lt;
and replace > with &gt;

So in this example, you'd have &lt; a href = "www.example.com" &gt; linktext &lt; /a &gt;
Obviously, you can remove the spaces. I just put them in to make it look clearer.

This causes the HTML code to appear as plain text, rather than the HTML code disappearing and turning the word 'linktext' into a hyperlink. I think this is what you want...?
Jul 27 '07 #14
drhowarddrfine
7,435 Expert 4TB
I don't know where to place the "g" to open and close the information...

<a href="g""http://www.flickr.com/groups/ILoveYourFace/"><img
src="http://farm2.static.flickr.com/1165/buddyicons/403210@N24.jpg?1185125373" width="40" height="30" alt="I Love Your Face Flickr Group"/></a> <b>Please add your photo to our Group
because:</b><a href="http://www.flickr.com/groups/iloveyourface/">I Love Your Face!
The 'g' was just an example. Just change it to <a href="http:// etc.
Jul 27 '07 #15
harshmaul
490 Expert 256MB
This may be too little too late but....

<SCRIPT LANGUAGE="JavaScript">
function ClipBoardCopy()
{
txtText.innerText = pText.innerText;
Copied = txtText.createTextRange();
Copied.execCommand("Copy");
}
</SCRIPT>
<SPAN ID="pText">
&lt;a href="www.thesandhus.net"&gt;gg&lt;/a&gt;
</SPAN>
<TEXTAREA ID="txtText" STYLE="display:none;"></TEXTAREA>
<a onclick="ClipBoardCopy();" href="javascript:void(0)"/>Copy</a>
Jul 30 '07 #16
gits
5,390 Expert Mod 4TB
This may be too little too late but....

[HTML]<SCRIPT LANGUAGE="JavaScript">
function ClipBoardCopy()
{
txtText.innerText = pText.innerText;
Copied = txtText.createTextRange();
Copied.execCommand("Copy");
}
</SCRIPT>
<SPAN ID="pText">
&lt;a href="www.thesandhus.net"&gt;gg&lt;/a&gt;
</SPAN>
<TEXTAREA ID="txtText" STYLE="display:none;"></TEXTAREA>
<a onclick="ClipBoardCopy();" href="javascript:void(0)"/>Copy</a>[/HTML]
hi ...

mozilla and firefox don't have innerText ... but innerHTML ... and execCommand and createTextRange are IE-specific jscript-statements too. so such a script will not work with other browsers and has to be adapted for cross-browser-purposes. but in case you have a strict IE-environment (for example an intranet you may use such things, and more browser-specific things like ActiveX for IE or even XUL for Mozilla-(Gecko)-Browsers in an strict Gecko-Environment) ...

kind regards
Jul 30 '07 #17

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

Similar topics

9
by: Peter Hansen | last post by:
The term "mock filesystem" refers to code allowing unit or acceptance tests to create, read and write, and manipulate in other ways "virtual" files, without any actual disk access. Everything is...
40
by: Steve Juranich | last post by:
I know that this topic has the potential for blowing up in my face, but I can't help asking. I've been using Python since 1.5.1, so I'm not what you'd call a "n00b". I dutifully evangelize on the...
10
by: Eric E | last post by:
Hi all, I am using an Access client linked to a PG 7.4 server via ODBC. I have a stored proc on the server that inserts rows into a table.particular table, accomplished via an INSERT within the...
20
by: Frank Millman | last post by:
Hi all This is probably old hat to most of you, but for me it was a revelation, so I thought I would share it in case someone has a similar requirement. I had to convert an old program that...
350
by: Lloyd Bonafide | last post by:
I followed a link to James Kanze's web site in another thread and was surprised to read this comment by a link to a GC: "I can't imagine writing C++ without it" How many of you c.l.c++'ers use...
25
by: tekctrl | last post by:
Anyone: I have a simple MSAccess DB which was created from an old ASCII flatfile. It works fine except for something that just started happening. I'll enter info in a record, save the record,...
3
by: aki | last post by:
Hello , i want to use system commnad in my code to delete files in specified manner. but this way i am not able to delete files. Can somebody answer . i tried with this as following ,...
9
by: Kelii | last post by:
Currently I have a button that allows the user to "Close Company" - at the moment it doesn't do anything :D I would like the button to "disconnect" the back end then show my Open Company form. ...
17
by: malathib | last post by:
Hi, I have used a rich text editor in my application. I got it from one of the site.all are JS files. My problem is, i want to call a javascript function from the iframe. Can anybody help...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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
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...

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.