HighDots Forums  

youtube link to disable

alt.html alt.html


Discuss youtube link to disable in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
K.
 
Posts: n/a

Default youtube link to disable - 05-20-2008 , 04:27 AM






Hello!

I would like to disable youtube movie which is located on the main page.
I want it have enabled but on subpage.

I`ve tried to do such code:


<div onclick="followLink('#faq1')">
<object width="270" height="226">
<param name="movie"
value="http://www.youtube.com/v/y51uG9FGNoA&hl=pl"></param>
<param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/y51uG9FGNoA&hl=pl"
type="application/x-shockwave-flash" wmode="transparent" width="270"
height="226">
</embed>
</object>
</div>
<a name="#faq1">
test
</a>


where followLink (stored in the seperate file) looks like this:

function followLink(path) {
window.document.location.href = path;
}

I would like to have this movie on the main page, but I want it have
viewable and playable
on subpages. On the main page I would like to have only first frame of this
movie

How to achieve it using javascript? Is it possible?

Thank you in advance for help
M.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.