Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: Video in iframe

  1. #1
    New Coder
    Join Date
    Aug 2006
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Video in iframe

    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

  • #2
    New Coder
    Join Date
    Aug 2006
    Location
    Idaho
    Posts
    52
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Basic HTML link with a target attribute.
    Code:
    <a href="videofilename" target="iframename">Text or image here.</a>
    .
    + Christ is the Rock - Rock On!

  • #3
    New Coder
    Join Date
    Aug 2006
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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...

    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

  • #4
    New Coder
    Join Date
    Aug 2006
    Location
    Idaho
    Posts
    52
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Code:
    <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>
    .
    + Christ is the Rock - Rock On!

  • #5
    New Coder
    Join Date
    Aug 2006
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Scriptbanger
    Code:
    <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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •