Dynamic content/HTML Sub Call from Style Sheet

Discussion in 'HTML & Website Design' started by puremonopoly, Jun 12, 2009.

  1. #1
    I was wondering if anyone knows how to call HTML scripts from different folders. I want the dynamic content to be on a separate folder so I can call it on many pages rather than editing every single page when I need to make changes. Do I have to use RSS Feeds for this or can I call HTML to specific locations on the page from separate origins?

    Thank you for your help in advance! Everything is appreciated. :D
     
    puremonopoly, Jun 12, 2009 IP
  2. frogjy

    frogjy Well-Known Member

    Messages:
    394
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #2
    jscript...
    iframe?

    or if your webserver ASP...include it
     
    frogjy, Jun 12, 2009 IP
    puremonopoly likes this.
  3. puremonopoly

    puremonopoly Active Member

    Messages:
    925
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    70
    #3
    Is there a simple way to call dynamic content from a sub-folder? :confused: Like:

    <div id="contentscript"></div>

    yet, for calling script on another folder with HTML? I'm not sure if it works the same as when calling css. I tryed the iFrame and it didn't work out like I wanted it to. When I call the HTML content it doesn't engage properly onto the page like it would if I wasn't calling it. Is this the best way to go about adding HTML content that's called from another folder? Or maybe I'm calling it wrong. :rolleyes:

    Thank you for your suggestions. I'll look into jscript and iFrame's more. :D
     
    puremonopoly, Jun 12, 2009 IP
  4. puremonopoly

    puremonopoly Active Member

    Messages:
    925
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    70
    #4
    Thank you!!! :D lol... I wasn't looking at it right. You did already solve my issue.

    <IFRAME SRC="/scriptexample.html" WIDTH=500 HEIGHT=500 frameborder="0">
    </IFRAME>

    That was easy :D And it looks nice... wow, I don't know what I was thinking! I was staying away from iFrame's mostly b/c I didn't appreciate their borders, without even speculating that they can be transparent or canceled out. ^_^

    :cool: Thank you again... My issue has been resolved :)
     
    puremonopoly, Jun 12, 2009 IP