Help Trying To Have an Iframe on my page But

Discussion in 'HTML & Website Design' started by jwzzr, Nov 19, 2010.

  1. #1
    When ever I put the Iframe up it redirects my website to the site that I have Iframed,How can I stop this,And Just let the Iframe page stay in the Iframe
     
    jwzzr, Nov 19, 2010 IP
  2. workingsmart

    workingsmart Well-Known Member

    Messages:
    411
    Likes Received:
    12
    Best Answers:
    9
    Trophy Points:
    120
    #2
    Would need to see the iframe code you are trying to use in order to debug this for you...

    Cheers!~
     
    workingsmart, Nov 19, 2010 IP
  3. jwzzr

    jwzzr Peon

    Messages:
    108
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    <iframe src ="Link" width="100" height="300">
    <p>Your browser does not support iframes.</p>
    </iframe>
     
    jwzzr, Nov 19, 2010 IP
  4. littlewing1977

    littlewing1977 Greenhorn

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #4
    What is the link you are putting in it? Are you using the link to your homepage as the src link? I guess I'm still unclear as to the problem. Why do you want to use an iframe anyway? They are deprecated. It might be better to use a div tag.
     
    littlewing1977, Nov 19, 2010 IP
  5. jwzzr

    jwzzr Peon

    Messages:
    108
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I dont want to disclose the link it is just a regular http link
     
    jwzzr, Nov 19, 2010 IP
  6. littlewing1977

    littlewing1977 Greenhorn

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #6
    I am still not sure what the problem is. Is it when the page loads? Or when you are clicking on a link? If it's on a link, you may need to change the target attribute. If its on pageload, the site in the window may have a script to make it take over as the parent window. I guess I still need more information. Can you give a more detailed description of what you are doing when the problem occurs and exactly what is happening.
     
    littlewing1977, Nov 19, 2010 IP
  7. jwzzr

    jwzzr Peon

    Messages:
    108
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7

    This is what is going on
     
    jwzzr, Nov 19, 2010 IP
  8. jwzzr

    jwzzr Peon

    Messages:
    108
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    is there any iframes alternatives?
     
    jwzzr, Nov 19, 2010 IP
  9. jwzzr

    jwzzr Peon

    Messages:
    108
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Hello Guys I could still use some help here
     
    jwzzr, Nov 20, 2010 IP
  10. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #10
    JavaScript
     
    radiant_luv, Nov 20, 2010 IP
  11. jwzzr

    jwzzr Peon

    Messages:
    108
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    what would be an example of it
     
    jwzzr, Nov 21, 2010 IP
  12. littlewing1977

    littlewing1977 Greenhorn

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #12
    You can do it in CSS also. Use a div tag and use the styles to set it to a specific size and location on your page. Use Overflow:Auto; to allow it to have scrollbars. That way if the page you insert into the div is too big, you can scroll.
    Look here for an example: http://seminsights.com/web-development/iframes-are-evil-if-you-must-try-this-alternative
     
    littlewing1977, Nov 21, 2010 IP
  13. jwzzr

    jwzzr Peon

    Messages:
    108
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Ok here is what I want done size does not matter aal I want is a few 1x1 iframes of a webpage

    Put the webpage I want iframed has to have somthing with java script where it makes it redirect to the page i want iframed
     
    jwzzr, Nov 21, 2010 IP
  14. jwzzr

    jwzzr Peon

    Messages:
    108
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    still need help
     
    jwzzr, Nov 22, 2010 IP