Welcome to TalkGraphics.com
Results 1 to 10 of 11

Threaded View

  1. #7
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,941

    Default Re: Single Navbar for all pages

    Hello again TD

    I've done some hunting around the tinternet & found some JavaScript code to dynamically load pages into an iframe.

    The particular one I used is supposed to also dynamically change the iframes height but I couldn't get this to work but it isn't required anyway. I had to include height: 1000px into the code to force the iframe to be lage enough (it was defaulting to 150px)

    Had a bit of bother getting it to work at first but it works fine in the attached xar. Obviously you'll need to change the button links to folders on your computer to view them in action.

    The JavaScript source code

    Watch in HD
    Attached Files Attached Files
    Last edited by Egg Bramhill; 18 June 2014 at 02:40 PM. Reason: Added link to source code
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

 

 

Tags for this Thread

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
  •