Spam box and HTML

Rules & Regs, new member intros, membership cards, EGG merchandise, sponsors, etc...

Spam box and HTML

Postby Pro Victim on Tue Nov 18, 2008 3:26 pm

OK, Vlad mede a very good point. If I want people to use HTML tags in the spam box, I would have to have some referrence material. This post is it.

to create a link in html, the tags <a> </a> are used, like below:

<a href="http://egg.org.au/forum">Your Text Here</a>

will show text reading [Your Text Here] that has an imbedded link to http://egg.org.au/forum
looking at the example tag, it can be seen that the command href="..." tells the html interpreter (in this case, your web broswer) where the link points to.

A similar tag is used to display an image: <img> this tag is different in that it does not need the end placeholder.
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/GermanChocolateCake.jpg/450px-GermanChocolateCake.jpg" alt="the cake is a lie" border=0>

will show an image of a cake. If the image cannot be shown, the image placeholder will have the text [the cake is a lie]. there will be NO visible border around the image.



if we combine the two tags like this
<a href="http://en.wikipedia.org/wiki/Cake">
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/GermanChocolateCake.jpg/450px-GermanChocolateCake.jpg" alt="the cake is a lie" border=0>
</a>

clicking on the image of the cake will take you to the wikipedia page for "cake". there will be no border around the image. It is fine to have the tags over several lines, as the compiler will recognise the link end tag </a> as the last part.


Some words of warning:
1) make sure that you end the link, otherwise all text after your post will be part of the link to your website. This may result in the admins kicking you.
2) html version 4 and later calls for lower case tags. Upper case tags work, but are considered sloppy programming.
3) use your powers for the improvement of humankind.
I aim to be an impulse function on the Laplace Transform that we call life.
All my TF2 stuff, there for the looting
User avatar
Pro Victim
Super Mega Powerup SPAM®
 
Posts: 1065
Joined: Fri Feb 25, 2005 1:51 pm
Location: Transmitting the information to the tubes via a radio in an undisclosed location
Points: 105
Medals: 6
Advocate (1) Specialist (1) We Can Rebuild It (1) Avast! (1) Signal to Noise (1)
Strike the Earth! (1)

Re: Spam box and HTML

Postby lycurgus on Wed Nov 19, 2008 10:30 pm

Pro Victim wrote:3) use your powers for the improvement of humankind.

on the internet? pull the other one.

also, was it such a good idea to tell everyone how to put images in the spambox? exponential spam in 3...2...1...
for the forseeable future we remain prisoners of the present
la fin du monde n'a pas de sentiments
User avatar
lycurgus
Super Mega Powerup SPAM®
 
Posts: 1384
Joined: Tue Aug 05, 2008 9:21 pm
Location: Digging up graves at an ancient werewolf burial ground
Points: 520
Medals: 30
Advocate (1) Pyramid Schemer (1) Quartermaster (1) Lieutenant (1) Watchful Eye (1)
Builder (1) We Can Rebuild It (1) Assembler (1) Dissembler (1) Consoler (1)

Re: Spam box and HTML

Postby Pro Victim on Sat Nov 22, 2008 6:41 pm

people still have not posted links to 4chan yet, so they did not read this post, or they took point 3 seriously. Either way, why are you complaining?
I aim to be an impulse function on the Laplace Transform that we call life.
All my TF2 stuff, there for the looting
User avatar
Pro Victim
Super Mega Powerup SPAM®
 
Posts: 1065
Joined: Fri Feb 25, 2005 1:51 pm
Location: Transmitting the information to the tubes via a radio in an undisclosed location
Points: 105
Medals: 6
Advocate (1) Specialist (1) We Can Rebuild It (1) Avast! (1) Signal to Noise (1)
Strike the Earth! (1)

Re: Spam box and HTML

Postby lycurgus on Mon Nov 24, 2008 7:32 am

hm. it appears nobody's read the thread? we may have been lucky this time :D

but the threat of 4chan links is ever-present. and if we ever see serge back here (where did he go? does anyone know? i'm sure i haven't seen him in at least 3 months), the threat of enormous images (possibly including 4chan links) rears its head once more.
for the forseeable future we remain prisoners of the present
la fin du monde n'a pas de sentiments
User avatar
lycurgus
Super Mega Powerup SPAM®
 
Posts: 1384
Joined: Tue Aug 05, 2008 9:21 pm
Location: Digging up graves at an ancient werewolf burial ground
Points: 520
Medals: 30
Advocate (1) Pyramid Schemer (1) Quartermaster (1) Lieutenant (1) Watchful Eye (1)
Builder (1) We Can Rebuild It (1) Assembler (1) Dissembler (1) Consoler (1)

Re: Spam box and HTML

Postby Pro Victim on Thu Jan 22, 2009 3:32 pm

post this twice to get a working HTML link tag to google
Code: Select all
&amp;lt;a href=&amp;quot;http://www.google.com&amp;quot;&amp;gt;Link Text Here&amp;lt;/a&amp;gt;


the first intermediate stage is this:
Code: Select all
&lt;a href=&qout;http://www.google.com&quot;&gt;Link Text Here&lt;/a&gt;


the second intermediate stage is
Code: Select all
<a href="http://www.google.com">Link Text Here</a>


which when posted a third time gives a link pointing at google.
I aim to be an impulse function on the Laplace Transform that we call life.
All my TF2 stuff, there for the looting
User avatar
Pro Victim
Super Mega Powerup SPAM®
 
Posts: 1065
Joined: Fri Feb 25, 2005 1:51 pm
Location: Transmitting the information to the tubes via a radio in an undisclosed location
Points: 105
Medals: 6
Advocate (1) Specialist (1) We Can Rebuild It (1) Avast! (1) Signal to Noise (1)
Strike the Earth! (1)

Re: Spam box and HTML

Postby lycurgus on Fri Feb 06, 2009 12:40 pm

ok. as may be seen from a little incident in the spambox today, i'm not as crash-hot with html tags as i thought i was. what's a good way to scale an image? i tried to use height and witdth %'s, but it seems it didn't work :S

my code was
Code: Select all
<img src='http://icanhascheezburger.files.wordpress.com/2008/07/funny-pictures-cat-cannot-brain-today.jpg' height='50%' width='50%'>
for the forseeable future we remain prisoners of the present
la fin du monde n'a pas de sentiments
User avatar
lycurgus
Super Mega Powerup SPAM®
 
Posts: 1384
Joined: Tue Aug 05, 2008 9:21 pm
Location: Digging up graves at an ancient werewolf burial ground
Points: 520
Medals: 30
Advocate (1) Pyramid Schemer (1) Quartermaster (1) Lieutenant (1) Watchful Eye (1)
Builder (1) We Can Rebuild It (1) Assembler (1) Dissembler (1) Consoler (1)

Re: Spam box and HTML

Postby Pro Victim on Sat Feb 07, 2009 7:03 am

instead of setting the per cent size, drop the '%' to give the pixel size. My spambox breaking is often in the form of a table, as it is automatically added as a new line and left justified. a recommended small table is:
Code: Select all
<table border=0 cellspacing=0 cellpadding=0 width="200" height="200"><tr><td><a href="http://?"><img src="?.gif"  border=0></a></td></tr><tr><td>Caption Here</td></tr></table>

This gives a picture with an embedded hyperlink, WITHOUT the blue border. Don't worry about the formatting stuff, that is what the egg CSS is for. Note: heading 1 is white text; Use heading 2 if you must.
I aim to be an impulse function on the Laplace Transform that we call life.
All my TF2 stuff, there for the looting
User avatar
Pro Victim
Super Mega Powerup SPAM®
 
Posts: 1065
Joined: Fri Feb 25, 2005 1:51 pm
Location: Transmitting the information to the tubes via a radio in an undisclosed location
Points: 105
Medals: 6
Advocate (1) Specialist (1) We Can Rebuild It (1) Avast! (1) Signal to Noise (1)
Strike the Earth! (1)


Return to Housekeeping

Who is online

Users browsing this forum: Stephenenemn and 3 guests

cron