Support Forums / Support forum / Archives / 08-12-2004 / HTML Help

Topic: HTML Help
June 29th, 2004 10:18 AM
Koga_Wolf_Demon Ok...I have a prob..........I am doing some links for a forum site........when I put up the links...a border goes around them automatically......I got some help to get rid of the border......but know the link in inactive......I see it...but can't click it.........here is the code that I am using for one of the links.........could you tell what is wrong with it plz......



< table cellpadding=0 cellspacing=0 border=0 onClick="go(< a href="register.php?boardid={boardid}">); " >
< tr class=clickable >
< td >
< img src=" http://img78.photobucket.com/albums/v309/Pony123/register.gif " > border=0 alt=0 >
< /td >
< /tr >
< /table >
June 29th, 2004 11:27 AM
Dave what was with all the spaces? try this, i added one thing and it should help

<table cellpadding=0 cellspacing=0 border=0 onClick="go(<a href="register.php?boardid={boardid}">; ")>
<tr class=clickable>
<td>
<img src=" http://img78.photobucket.com/albums...23/register.gif "> border=0 alt=0>
</td>
</tr>
</table>
[Edited by Dave]
June 29th, 2004 11:31 AM
TK-7771 <img src=" http://img78.photobucket.com/albums...23/register.gif "> border=0 alt=0>

Its this line. You dont need the > after the url . should look like this...

<img src="http://img78.photobucket.com/albums...23/register.gif " border=0 alt=0>

June 29th, 2004 11:56 AM
Koga_Wolf_Demon To Dave........I did the spaces so that i could post it...i didn't know I could put it all together and it would show the code.......

To TK-7771........Thanks for the correction


Thanks both of you again.
June 29th, 2004 12:00 PM
Koga_Wolf_Demon ok..it didn't work......

How bout this code.......

<table cellpadding=0 cellspacing=0 border=0 onClick="go(<a href="register.php?boardid={boardid}">
<tr class=clickable>
<td>
<img src=" http://img78.photobucket.com/albums...23/register.gif " border=0 alt=0>
</td>
</tr>
</table>

I took out 1 or 2 things.

[Edited by Koga_Wolf_Demon]
June 29th, 2004 12:10 PM
Sage <table cellpadding=0 cellspacing=0 border=0 onClick="go(<a href="register.php?boardid={boardid}")">
<tr class=clickable>
<td>
<img src=" http://img78.photobucket.com/albums...23/register.gif " border=0 alt=0>
</td>
</tr>
</table>


the bold )" is the only thing that i can see...

and i dont think that you need alt="0"
[Edited by Sage]
[Edited by Sage]
June 29th, 2004 12:22 PM
Koga_Wolf_Demon So this is how it should look?

<table cellpadding=0 cellspacing=0 border=0 onClick="go(<a href="register.php?boardid={boardid}">
<tr class=clickable>
<td>
<img src=" http://img78.photobucket.com/albums...23/register.gif " border=0;>
</td>
</tr>
</table>
June 29th, 2004 12:39 PM
Sage <table cellpadding=0 cellspacing=0 border=0 onClick="go(a href="register.php?boardid={boardid}")">
<tr class=clickable>
<td>
<img src="http://img78.photobucket.com/albums...23/register.gif " border="0">
</td>
</tr>
</table>

try this...if this doesnt work, then I dont know
June 29th, 2004 12:49 PM
Koga_Wolf_Demon I tried this code and the image doesn't work..I get a box with a red x in it.

<table cellpadding=0 cellspacing=0 border=0 onClick="go(<a href="register.php?boardid={boardid}">
<tr class=clickable>
<td>
<img src=" http://img78.photobucket.com/albums...23/register.gif " border=0;>
</td>
</tr>
</table>
June 29th, 2004 12:56 PM
TK-7771 Make sure you have no spaces between the "'s and the url for the image. Also, loose the ; after the border value.
June 29th, 2004 01:08 PM
Koga_Wolf_Demon Still got the box with an x......ok..here is what i am trying to do......I am doing some links for a forum site........when I put up the links...a border goes around them automatically......I got some help to get rid of the border......but know the link in inactive......I see it...but can't click it....could one of you give me a code or way to do it?
June 29th, 2004 01:22 PM
TK-7771 well you dont have a link tag.

<a href="urloflink"><img src="urlofimage"></a>
June 29th, 2004 01:43 PM
Koga_Wolf_Demon <table cellpadding=0 cellspacing=0 border=0 onClick="go(<a href="register.php?boardid={boardid}"><img src=" http://img78.photobucket.com/albums...23/register.gif "></a>
<tr class=clickable>
<td>
<img src=" http://img78.photobucket.com/albums...23/register.gif " border=0;>
</td>
</tr>
</table>


Is that how it would look?
June 29th, 2004 01:58 PM
TK-7771 Your opening table tag, <table cellpadding=0 cellspacing=0 border=0 onClick="go(<a href="register.php?boardid={boardid}"><img src=" http://img78.photobucket.com/albums...23/register.gif "></a>, doesnt have a closing >. That might be your problem.

But where you have your image tags in the cell, put the link tags around it...

<a href="url"><img src="imgurl"></a>
June 29th, 2004 01:58 PM
Sage <table cellpadding="0" cellspacing="0">
<tr>
<td>
<a href="register.php?boardid={boardid}"><img src=" http://img78.photobucket.com/albums...23/register.gif " border="0"></a>
</td>
</tr>
</table>

try this.
[Edited by Sage]
June 29th, 2004 03:59 PM
Koga_Wolf_Demon
quote:
Sage wrote:
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<a href="register.php?boardid={boardid}"><img src=" http://img78.photobucket.com/albums...23/register.gif " border="0"></a>
</td>
</tr>
</table>

try this.
[Edited by Sage]

Didn't work
June 29th, 2004 04:15 PM
TK-7771 Are you sure you have the full url of the image? If I click the url posted, I get "Page connot be displayed".
June 29th, 2004 04:48 PM
Sage thats because thats what the link is. the ... was added to the real url for some reason.

o btw photobucket is messing up, some images dont show up at times.
June 29th, 2004 04:51 PM
TK-7771 Thats what I mean. with the ... added it wont show the image. It needs the full url.
June 29th, 2004 06:29 PM
Gary Use your free hosting from exco!! Then it will work.
June 30th, 2004 12:23 AM
Koga_Wolf_Demon I got it to work now......here is the code I used....


This goes at the top of the page directly underneath the <body> tag

<script language="javascript">

function go(where,target) {
if(target) {
if(where != "void" && where!="") target.location.href = where;
} else {
if(where != "void" && where!="") location.href = where;
}
}

</script>


Then this is the code I used......

<center>
<table border=0>
<tr>

<td>
<table border=0 onClick="go('the URL link goes here');">
<tr>
<td>
<img src="Thie image link goes here" border=0 alt=0>
</td>
</tr>
</table>
</td>



Thanks for all your help ppl...It help greatly as a refrence point.

[Edited by Koga_Wolf_Demon]
June 30th, 2004 12:37 AM
TK-7771 SO, do we get to see it?
June 30th, 2004 10:03 AM
Koga_Wolf_Demon yes......look to the top of the page......the register, My Account, Search, Memberlist, FAQ, and Administration buttons.....


http://s2.excoboard.com/exco/index.php?boardid=1841


edit...plz tell me what you think?
[Edited by Koga_Wolf_Demon]
June 30th, 2004 10:09 AM
TK-7771 Good job :cool:
June 30th, 2004 10:19 AM
Koga_Wolf_Demon Thanks.
June 30th, 2004 12:21 PM
Dave looks really nice :)
June 30th, 2004 01:35 PM
Koga_Wolf_Demon
quote:
Dave wrote:
looks really nice :)

Thanks.