...

View Full Version : Video in iframe



haveacigar
08-30-2006, 06:57 PM
Ok, im juggling learning a few different language at once (i know html, and css, but i am learning c++, php, mysql, and javascript) so progress is slow. Anyway what id like to do is create a section of my site which allows people to watch different videos, in the same page by clicking an image of the video, and having it launch in the same page, just right of the images.

I understand that it must be annoying having noobies ask for help, but i would appreciate your help, as i am a long way of learning how to do this on my own.

Thanks

Ciggy

Scriptbanger
08-30-2006, 07:20 PM
:cool: Basic HTML link with a target attribute.


<a href="videofilename" target="iframename">Text or image here.</a>

haveacigar
08-30-2006, 07:26 PM
Hi :)
Thanks for the reply, although i have tried that and just get the link to open in a different window. There could be a problem with the code...



<div id="left">
<p>
<a href="http://www.google.co.uk" target="iframe">google</a>
</div>


<div id="right">
<iframe id="iframe" frameborder="0" align="middle"> your browser doesnt support frames</iframe>
</div>


can you see a problem?

Cheers

Ciggy

Scriptbanger
08-30-2006, 07:45 PM
<a href="http://www.google.co.uk" target="iframe">google</a>
<iframe name="iframe" id="iframe" frameborder="0" align="middle"> your browser doesnt support frames</iframe>

haveacigar
08-31-2006, 02:23 PM
<a href="http://www.google.co.uk" target="iframe">google</a>
<iframe name="iframe" id="iframe" frameborder="0" align="middle"> your browser doesnt support frames</iframe>

awesome. It works great, cheers for your help, i shall be visiting your forum frequently :D



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum