Help - Search - Members - Calendar
Full Version: Youtube link in my web site
HTMLHelp Forums > Web Authoring > General Web Design
Gorg27
Hi,

I hope someone can help me.

I am not sure if this is the right section to post this message.

I have been trying to make a link in my web site for a youtube video. I have a program that automatically makes my web pages and I was trying to write the following code on the web page template.

The first part is constant on each page of the template http://www.youtube.com/watch?v=

the second part {property field="Custom6"} is the youtube code that is retrieved from my database.

I am trying to join the 2 parts together


<td class="property_factlabel" width="35%" valign="top">YouTube Video:</td>
<td valign="top"><a href="http://www.youtube.com/watch?v={property field="Custom6"}</a></td>
</tr>

I have been trying for hours, but I am afraid I have not been very successful.


Can anybody help please.

Kind regards
Sue-Ellen
Not without knowing how your progam works...
Frederiek
And there are things wrong with the link anyway.
It lacks a ">"
<a href="http://www.youtube.com/watch?v={property field="Custom6"}></a>

Then, double quotes are used for both the HREF and the value of property field. That probably should be
<a href="http://www.youtube.com/watch?v={property field='Custom6'}></a>
(mark the single quotes inside double quotes).

And, the link is empty, there's nothing to click on, eg.
<a href="...">My video</a>
Christian J
Also this is not a proper double quote:

CODE
”></a>


Use this instead:

CODE
"></a>
Frederiek
Yep, I hadn't seen that one, it's easily overlooked.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.