Results 1 to 5 of 5

Thread: Tabbed Document Viewer

  1. #1
    Join Date
    Jan 2012
    Location
    Kansas
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Tabbed Document Viewer

    Tabbed Document Viewer

    Just wondering if there is a code I could use that would allow me to use buttons I already have with this script rather than the tabs.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    You can't use that script in that way because it uses links to generate the tabs, rather than buttons.

    You could create a similar script. And in fact, the iframe component of that script isn't really the hard part to code. The part that generates the tabs from the links then makes them work with the iframe is the complicated part.

    All you'd need to do is make your buttons (in any way you'd like) then make an onclick event that changes the SRC of the iframe whenever you click it.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. The Following User Says Thank You to djr33 For This Useful Post:

    OTR-Driver (01-06-2012)

  4. #3
    Join Date
    Jan 2011
    Location
    Southeastern CT
    Posts
    612
    Thanks
    46
    Thanked 32 Times in 32 Posts

    Default

    You can use an image with the css code but that is one I used to make it.I suppose if you want to use a lot of css to do each button that could work but I don't have time now to do it and see.Here is the script using a image(button)
    http://www.web-user.info/test/testing/tabsa.html
    Thanks,

    Bud

  5. The Following User Says Thank You to ajfmrf For This Useful Post:

    OTR-Driver (01-06-2012)

  6. #4
    Join Date
    Jan 2012
    Location
    Kansas
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    I appreciate the reply for sure and the additional ideas. Im no expert coder and I dont just have to have buttons but I like the idea. I may just use it like it is or try something similar.
    Thanks again.

  7. #5
    Join Date
    Jan 2012
    Location
    Kansas
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Wow thats looks pretty darn good, I have to say. Ok well I will work with this and see what I can come up with. Thanks greatly for your help.

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
  •