Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Html Help


  • Please log in to reply
5 replies to this topic

#1 RyanH15

RyanH15

  • Members
  • 12 posts
  • OFFLINE
  •  
  • Local time:03:12 AM

Posted 24 August 2007 - 03:10 PM

I'm sorry if this is not in the right section, but I'm not sure what this belongs in.

I'm trying to allow people to copy and paste an html code, but I don't know how to get the program I use to read the code as plain text, rather than html

<a href="http://www.picksandstixx.com/drumdaybga" target="_blank"><img src="http://i8.photobucket.com/albums/a30/picksandstixx/largelink.jpg" border="0" alt="COME JOIN DRUM DAY BGA"></a>

that's the code

please help

BC AdBot (Login to Remove)

 


#2 Noot

Noot

  • Members
  • 98 posts
  • OFFLINE
  •  
  • Gender:Female
  • Location:Central New York
  • Local time:03:12 AM

Posted 24 August 2007 - 07:43 PM

Try using <XML></XML> before and after the coding. So:

<XML><a href="http://www.picksandstixx.com/drumdaybga" target="_blank"><img src="http://i8.photobucket.com/albums/a30/picksandstixx/largelink.jpg" border="0" alt="COME JOIN DRUM DAY BGA"></a></XML>

You can also use:

To display a simple link as code: &lt;a href=&quot;http://www.simplelink.com&quot;&gt;Here&lt;/a&gt;

Would show as : <a href="http://www.simplelink.com">Here</a>

Which is easy, as this site: http://www.felgall.com/htmlt47.htm will help you. Just copy and paste the code you want people to copy and paste in the first white box, hit convert and then copy and paste what appears in the second box into your site.

So, whichever will be easier or more useful to your needs.

Good luck! :thumbsup:
Posted Image

"I would feel more optimistic about a bright future for man if he spent less time proving
that he can outwit Nature and more time tasting her sweetness and respecting her seniority."
E. B. White (1899 - 1985)

#3 Andrew

Andrew

    Bleepin' Night Watchman


  • Moderator
  • 8,260 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:Right behind you
  • Local time:12:12 AM

Posted 25 August 2007 - 06:32 AM

This should do it.

&lt;a href=&quot;http://www.picksandstixx.com/drumdaybga&quot;  
target=&quot;_blank&quot;&gt;&lt;img  src=&quot;http://i8.photobucket.com/albums/a30/picksandstixx/largelink.jpg&quot;  
border=&quot;0&quot; alt=&quot;COME JOIN DRUM DAY BGA&quot;&gt;&lt;/a&gt;

Note: The above HTML is on three lines here but you should put it all on one line in your code.

Edited by Amazing Andrew, 25 August 2007 - 06:33 AM.


#4 RyanH15

RyanH15
  • Topic Starter

  • Members
  • 12 posts
  • OFFLINE
  •  
  • Local time:03:12 AM

Posted 25 August 2007 - 05:40 PM

Thanks guys. It worked like a charm. Now I need one last bit of help. When you go to my website (www.picksandstixx.com/drumdaybga and all pages related to it), you click on a link and it opens in a new window. What could I do to change that?

#5 Noot

Noot

  • Members
  • 98 posts
  • OFFLINE
  •  
  • Gender:Female
  • Location:Central New York
  • Local time:03:12 AM

Posted 25 August 2007 - 11:09 PM

That is really easy. You just have to tell it to open within itself, rather than in another page. It's all where you have the a href code.

So, this is what you see:

<a href="http://www.sample.com" target="_blank">Sample</a>

You need to change _blank to _self.

I hope this helps! :thumbsup:

Edited by Noot, 25 August 2007 - 11:12 PM.

Posted Image

"I would feel more optimistic about a bright future for man if he spent less time proving
that he can outwit Nature and more time tasting her sweetness and respecting her seniority."
E. B. White (1899 - 1985)

#6 Andrew

Andrew

    Bleepin' Night Watchman


  • Moderator
  • 8,260 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:Right behind you
  • Local time:12:12 AM

Posted 26 August 2007 - 05:29 AM

Or, you can put <base target="_self"> in the header and save a few bits of space:

<head>
<base target="_self">
</head>

But make sure to also delete all the target="_blank" references in your links :thumbsup:

Edited by Amazing Andrew, 26 August 2007 - 05:31 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users