The money is in the eyes

Welcome to TMO

Home
Talk
Rants
Life
Music
Web
Media
Society
Sex
Announce
Games

How do I get a tag ?

Read the FAQ !



email us
TMO Talk Post New Topic  Post A Reply
my profile login | search | faq | forum home

  next oldest topic   next newest topic
» TMO Talk » Web » Clueless twat monkeys around with HTML (Page 1)

 
This topic is comprised of pages: 2 1  2 
 
Author Topic: Clueless twat monkeys around with HTML
Thorn Davis

 - posted      Profile for Thorn Davis           Edit/Delete Post   Reply With Quote 
I don't even know where to start with this. I'm completely clueless about HTML, but I want to add a section to the standard book page that says 'Enjoy this? Try this!' and has a link and an image to another book. Most of the changes I make, to the site I do through and idiot-proof tool designed by the owners' son, but this it can't do.

I think this is the code for the product page template...

code:
<!-- Make sure that there are no open and closing <HTML> tags because this is wrapped by the store template file which already has those. -->
<!-- Start productPageHTML.txt file -->
<div align="center">
<center>
<table border="0" cellpadding="5" cellspacing="0">
<tr>
<td valign="top">
<p align="center">
<a href="pid_{product_id}.htm">
<IMG SRC="../../books/covers/{image}" BORDER="0" alt="{name}"><font face="ARIAL" size="3"><b><br>
</b></font><font face="ARIAL" size="2">{name}<br>
{price}
</font></a></p>
</td>
</tr>
</table>
</center>
</div>
<!-- End productPageHTML.txt file -->

How would I make a 'recommended' thing come on the bottom?
Posts: 13758  |  IP: Logged
ralph

 - posted      Profile for ralph           Edit/Delete Post   Reply With Quote 
code:
<!-- Make sure that there are no open and closing <HTML> tags because this is wrapped by the store template file which already has those. -->
<!-- Start productPageHTML.txt file -->
<div align="center">
<center>
<table border="0" cellpadding="5" cellspacing="0">
<tr>
<td valign="top">
<p align="center">
<a href="pid_{product_id}.htm">
<IMG SRC="../../books/covers/{image}" BORDER="0" alt="{name}"><font face="ARIAL" size="3"><b><br>
</b></font><font face="ARIAL" size="2">{name}<br>
{price}
</font></a></p>
</td>
</tr>

*** ADD THIS PART THORN YOU IDIOT
<tr>
<td>
<a href=''>Enjoy this? Try this!</a>
<br>
<IMG SRC="../../books/covers/{image}" BORDER="0" alt="{name}">
</td>
</tr>
*** END OF ADD THIS PART THORN YOU IDIOT

</table>
</center>
</div>
<!-- End productPageHTML.txt file -->



[ 03.10.2008, 07:34: Message edited by: ralph ]

Posts: 7436  |  IP: Logged
Thorn Davis

 - posted      Profile for Thorn Davis           Edit/Delete Post   Reply With Quote 
Thank you Ralph! Welcome back!
Posts: 13758  |  IP: Logged
MiscellaneousFiles

 - posted      Profile for MiscellaneousFiles           Edit/Delete Post   Reply With Quote 
Looks like you've got a missing image on *this page. You should probably fix that...
Posts: 14015  |  IP: Logged
Cherry In Hove
Channel 39
 - posted      Profile for Cherry In Hove           Edit/Delete Post   Reply With Quote 
Didn't people stop using tables about 5 years ago?
Posts: 4934  |  IP: Logged
MiscellaneousFiles

 - posted      Profile for MiscellaneousFiles           Edit/Delete Post   Reply With Quote 
I'd do it like this so the image also links to the other book's page.

code:
<tr>
<td>
<a href="{link}">Enjoy this? Try this!</a>
<br>
<a href="{link}"><IMG SRC="../../books/covers/{image}" BORDER="0" alt="{name}"></a>
</td>
</tr>


Posts: 14015  |  IP: Logged
Thorn Davis

 - posted      Profile for Thorn Davis           Edit/Delete Post   Reply With Quote 
quote:
Originally posted by MiscellaneousFiles:
Looks like you've got a missing image on *this page. You should probably fix that...

eh? where?
Posts: 13758  |  IP: Logged
MiscellaneousFiles

 - posted      Profile for MiscellaneousFiles           Edit/Delete Post   Reply With Quote 
quote:
Originally posted by Thorn Davis:
quote:
Originally posted by MiscellaneousFiles:
Looks like you've got a missing image on *this page. You should probably fix that...

eh? where?
The January-June 2009 image is linking to a local file - file:///O:/Marketing%20&%20PR/cat09.jpg rather than your server. I'm sure it works in your office, but anyone elsewhere will see this:

 -

ETA: In fact, looking at the source, there are loads of links to:

code:
file:///O:/Marketing%20&amp;%20PR/website/ONEWORLD%20WEBSITE%20BACKUP/www/...

These are mostly spacer images I think, but it's probably worth switching them over anyway.

[ 03.10.2008, 09:00: Message edited by: MiscellaneousFiles ]

Posts: 14015  |  IP: Logged
Thorn Davis

 - posted      Profile for Thorn Davis           Edit/Delete Post   Reply With Quote 
Yeah, I see what's happened. Hurm. Turns out the idiot proof tool isn't that idiot proof.
Posts: 13758  |  IP: Logged
MiscellaneousFiles

 - posted      Profile for MiscellaneousFiles           Edit/Delete Post   Reply With Quote 
<img src="http://www.oneworld-publications.com/books/covers/cat09.jpg" alt="January-June 2009 Catalogue" />
Posts: 14015  |  IP: Logged
Thorn Davis

 - posted      Profile for Thorn Davis           Edit/Delete Post   Reply With Quote 
I tried something else. Does it work now?
Posts: 13758  |  IP: Logged
Thorn Davis

 - posted      Profile for Thorn Davis           Edit/Delete Post   Reply With Quote 
Apparently that catalogue is "the best looking one we've ever had".
Posts: 13758  |  IP: Logged
MiscellaneousFiles

 - posted      Profile for MiscellaneousFiles           Edit/Delete Post   Reply With Quote 
quote:
Originally posted by Thorn Davis:
I tried something else. Does it work now?

It works, but you've got loads of space underneath the image.

Replace this:

code:
<tr>
<td height="150" colspan="2">
<div align="left">
<a href="http://http//www.oneworld-publications.com/books/covers/cat09.jpg"/>
</div>
</td>
<td height="150" width="231">
<div align="center"/>
</td>
</tr>

with this:

code:
<tr>
<td height="150"><a href="http://www.oneworld-publications.com/books/covers/cat09.jpg"/></td>
</tr>

quote:
Originally posted by Thorn Davis:
Apparently that catalogue is "the best looking one we've ever had".

Then don't sell it short with that dodgy image. Use this one instead:

 -

(no charge)

[ 03.10.2008, 09:23: Message edited by: MiscellaneousFiles ]

Posts: 14015  |  IP: Logged
dang65
it's all the rage
 - posted      Profile for dang65           Edit/Delete Post   Reply With Quote 
quote:
Originally posted by Thorn Davis:
I tried something else. Does it work now?

The image shows now and the PDF opens fine, but it looks like you've got a spurious table row beneath the image and before the text link, so there's a big space there. I don't know if that's intentional though. Doesn't look right if it is.

code:
<tr>
<td height="150" colspan="2">
<div align="left">
<a href="http://http//www.oneworld-publications.com/books/covers/cat09.jpg"/>
</div>
</td>
<td width="231" height="150">
<div align="center"/>
</td>
</tr>

EDIT. Yeah, a bit like Misc said.

[ 03.10.2008, 09:28: Message edited by: dang65 ]

Posts: 8467  |  IP: Logged
MiscellaneousFiles

 - posted      Profile for MiscellaneousFiles           Edit/Delete Post   Reply With Quote 
For the first time in literally years I didn't drink or smoke anything last night. So don't worry if you can't keep pace Dang, I'm on fucking fire today.
Posts: 14015  |  IP: Logged
Thorn Davis

 - posted      Profile for Thorn Davis           Edit/Delete Post   Reply With Quote 
Yeah that's much better [Mad]
Posts: 13758  |  IP: Logged
dang65
it's all the rage
 - posted      Profile for dang65           Edit/Delete Post   Reply With Quote 
quote:
Originally posted by MiscellaneousFiles:
For the first time in literally years I didn't drink or smoke anything last night. So don't worry if you can't keep pace Dang, I'm on fucking fire today.

You are, but I don't think your fix will solve the problem. I'm suggesting that whole row needs to go. The anchor tag in that row doesn't do anything (it's empty). The image link is in the previous row, and the text link is in the next row.

EDIT: See.

[ 03.10.2008, 09:44: Message edited by: dang65 ]

Posts: 8467  |  IP: Logged
MiscellaneousFiles

 - posted      Profile for MiscellaneousFiles           Edit/Delete Post   Reply With Quote 
LOL, I mistook the <a> for an <img>

What a retard!

Now Thorn's copied the code in through his WYSIWYG editor and fucked it up good and proper...

[Roll Eyes]

Posts: 14015  |  IP: Logged
Thorn Davis

 - posted      Profile for Thorn Davis           Edit/Delete Post   Reply With Quote 
It's about to get better! I've opened the html file in Dreamweaver and sort of spannered about with it without really understanding things. About to upload now, so fans of total fuck up should get their fingers on the 'refresh' button!
Posts: 13758  |  IP: Logged
Thorn Davis

 - posted      Profile for Thorn Davis           Edit/Delete Post   Reply With Quote 
That's dang's code that's not working now. Although I may have not implemented it properly. Going back into the crummy editor thing now to see if I can fuck things up from that end too.
Posts: 13758  |  IP: Logged
dang65
it's all the rage
 - posted      Profile for dang65           Edit/Delete Post   Reply With Quote 
quote:
Originally posted by Thorn Davis:
That's dang's code that's not working now. Although I may have not implemented it properly.

Yeah, what you've done is to delete the good rows (with the image and text links) and leave the row which I said needs to be deleted. Still, it's progress of sorts.
Posts: 8467  |  IP: Logged
MiscellaneousFiles

 - posted      Profile for MiscellaneousFiles           Edit/Delete Post   Reply With Quote 
Edit:

This is fucking brilliant! [Cool]

Can't you test your pages without putting them live or something?

[ 03.10.2008, 09:57: Message edited by: MiscellaneousFiles ]

Posts: 14015  |  IP: Logged
New Way Of Decay

 - posted      Profile for New Way Of Decay           Edit/Delete Post   Reply With Quote 
Fucking hell Thorn this is a shambles. When they asked you what web development you've done did you tell them your sister had a MySpace page or something? Jesus! Stop playing with code. You could erase the whole internet.

--------------------
BUY A TICKET AND WATCH SOME METAL

Posts: 11617  |  IP: Logged
New Way Of Decay

 - posted      Profile for New Way Of Decay           Edit/Delete Post   Reply With Quote 
lol @ Novin Doostdar. Is Jason Statham going to play him in his life story?

--------------------
BUY A TICKET AND WATCH SOME METAL

Posts: 11617  |  IP: Logged
Black Mask

 - posted      Profile for Black Mask           Edit/Delete Post   Reply With Quote 
There's a lot of jew books on that website...

--------------------
sweet

Posts: 13919  |  IP: Logged
dang65
it's all the rage
 - posted      Profile for dang65           Edit/Delete Post   Reply With Quote 
I just hope that none of the readers of this book happen to be visiting the site this afternoon...

 -

Posts: 8467  |  IP: Logged
Thorn Davis

 - posted      Profile for Thorn Davis           Edit/Delete Post   Reply With Quote 
quote:
Originally posted by New Way Of Decay:
Fucking hell Thorn this is a shambles. When they asked you what web development you've done did you tell them your sister had a MySpace page or something? Jesus! Stop playing with code. You could erase the whole internet.

It's not my fault - I was happy with the big gap because I knew if I tried to get it - you know - perfect, then this would happen.
Posts: 13758  |  IP: Logged
Black Mask

 - posted      Profile for Black Mask           Edit/Delete Post   Reply With Quote 
You should take a look at this...

 -

--------------------
sweet

Posts: 13919  |  IP: Logged
Thorn Davis

 - posted      Profile for Thorn Davis           Edit/Delete Post   Reply With Quote 
Alright man! We're cooking on gas now!

Maybe this should be a friday afternoon regular, where people give me pieces of HTML code and I implement them on a live site with no idea what they do or where to put them.

Posts: 13758  |  IP: Logged
MiscellaneousFiles

 - posted      Profile for MiscellaneousFiles           Edit/Delete Post   Reply With Quote 
[Removed for wide-on reasons]

[ 03.10.2008, 10:26: Message edited by: MiscellaneousFiles ]

Posts: 14015  |  IP: Logged
MiscellaneousFiles

 - posted      Profile for MiscellaneousFiles           Edit/Delete Post   Reply With Quote 
LOL! He didn't notice that I added [ ] Rimming to the Subject(s) of Interest checkboxes at the bottom of the page....

[Big Grin] [Big Grin] [Big Grin]

Posts: 14015  |  IP: Logged
Thorn Davis

 - posted      Profile for Thorn Davis           Edit/Delete Post   Reply With Quote 
quote:
Originally posted by Black Mask:
There's a lot of jew books on that website...

I'd have thought you'd be more interested in 'A Beginner's Guide to Bioterror and Biowarfare'. Except it's not educational in the way you might wish.
Posts: 13758  |  IP: Logged
MiscellaneousFiles

 - posted      Profile for MiscellaneousFiles           Edit/Delete Post   Reply With Quote 
 -
Posts: 14015  |  IP: Logged
Black Mask

 - posted      Profile for Black Mask           Edit/Delete Post   Reply With Quote 
 -

--------------------
sweet

Posts: 13919  |  IP: Logged
New Way Of Decay

 - posted      Profile for New Way Of Decay           Edit/Delete Post   Reply With Quote 
 -

Ha ha! I'm on the internets!

--------------------
BUY A TICKET AND WATCH SOME METAL

Posts: 11617  |  IP: Logged


 
This topic is comprised of pages: 2 1  2 
 
Post New Topic  Post A Reply Close Topic   Feature Topic   Move Topic   Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:


Contact Us | The Moon Online

copyright TMO y2k+

Powered by Infopop Corporation
UBB.classic™ 6.6.1