|
|
| 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 >
|
|
|
| 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] |
|
|
| 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>
|
|
|
| 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. |
|
|
| 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] |
|
|
| 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] |
|
|
| 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>
|
|
|
| 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 |
|
|
| 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>
|
|
|
| TK-7771 |
Make sure you have no spaces between the "'s and the url for the image. Also, loose the ; after the border value. |
|
|
| 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? |
|
|
| TK-7771 |
well you dont have a link tag.
<a href="urloflink"><img src="urlofimage"></a> |
|
|
| 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? |
|
|
| 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> |
|
|
| 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] |
|
|
| 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
|
|
|
| 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". |
|
|
| 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. |
|
|
| TK-7771 |
Thats what I mean. with the ... added it wont show the image. It needs the full url. |
|
|
| Gary |
Use your free hosting from exco!! Then it will work. |
|
|
| 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] |
|
|
| TK-7771 |
SO, do we get to see it? |
|
|
| 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] |
|
|
| TK-7771 |
Good job :cool: |
|
|
| Koga_Wolf_Demon |
Thanks. |
|
|
| Dave |
looks really nice :) |
|
|
| Koga_Wolf_Demon |
quote: Dave wrote:
looks really nice :)
Thanks. |