Welcome to TalkGraphics.com
Results 1 to 5 of 5

Thread: IFRAMES

  1. #1
    Join Date
    Jan 2018
    Location
    London
    Posts
    25

    Default IFRAMES

    Hello All,

    I need more help on creating an iframe within my website. I have a lot of information to add to my website and I don't want to create a new page for each article so I wanted to
    write all the articles on one page with a list of the titles for each article on the main page. Once you click on one of the titles on the list it would show that specific article within the iframe.

    I would also have to create links to each article.

    I hope I have not confused anyone lol

    Any help would be greatly appreciated

    Thank you
    Paul777

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    7,656

    Info Re: IFRAMES

    Quote Originally Posted by paul777 View Post
    Hello All,

    I need more help on creating an iframe within my website. I have a lot of information to add to my website and I don't want to create a new page for each article so I wanted to
    write all the articles on one page with a list of the titles for each article on the main page. Once you click on one of the titles on the list it would show that specific article within the iframe.

    I would also have to create links to each article.

    I hope I have not confused anyone lol

    Any help would be greatly appreciated

    Thank you
    Paul777
    Paul777, my design concept would go like this.

    Build a long, long Article page with filename articles.
    For each new article title, add a suitable Name (simple as title1, title2, etc), which will become anchors.
    Create an iframe with similar code to Embed a Website widget that has an initial source of articles.htm ensuring it has an HTML ID.
    Create the Article buttons with JavaScript code links that conjure up the source as articles.htm#titlen, where n is the number for the article anchor.

    You will have to consider if the articles are different lengths and so need a vertical scrollbar in the iframe.

    Acorn

    P.S. A small boon in return? It is not TG's style to capitalise Thread titles. Such Threads appear as if they are shouting for attention. "IFRAMES" also doesn't help for later searches; include a bit more context to whet interest.
    Acorn - My current Xara software: XDPX365, XDPX11 (32/64-bit), WD365 Premium, XPGD10, X3D7 and lots of licences back through time (to CC's Artworks)

  3. #3
    Join Date
    May 2002
    Location
    Canada
    Posts
    1,598

    Default Re: IFRAMES

    Acorn, I guess a blog can also be made this way?

  4. #4
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    7,656

    Default Re: IFRAMES

    Quote Originally Posted by behzad View Post
    Acorn, I guess a blog can also be made this way?
    Easily behzad, but you need to fudge the Blog Search somehow.
    I would typically use an array of keywords and the resultant URL. It gets complicated when there is more than one hit.

    This approach is also useful as the articles page need not be a Xara page at all. Egg favours Google Docs and I like the freedom of a shared HTML page with an HTML text editor at hand.

    Acorn
    Acorn - My current Xara software: XDPX365, XDPX11 (32/64-bit), WD365 Premium, XPGD10, X3D7 and lots of licences back through time (to CC's Artworks)

  5. #5
    Join Date
    Jan 2018
    Location
    London
    Posts
    25

    Default Re: IFRAMES

    Thanks Acorn

    Paul777

 

 

Bookmarks

Posting Permissions

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