Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    erk
    erk is offline
    New to the CF scene
    Join Date
    Sep 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question opening in a specific table HELP!!

    Hello,
    so i'm pretty lost on this... i have thumbnails at the bottom of a page, and a scrolling table on top. i need the thumbnails to open in the scrolling table when clicked.

    thanks for any help!

  • #2
    Senior Coder TheShaner's Avatar
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Posts
    1,126
    Thanks
    2
    Thanked 40 Times in 40 Posts
    Scrolling table? Is it an iframe or is it a script?

    If an iframe, then you set the image's anchor's target equal to the name of the iframe.

    Example:
    Code:
    <a target="myframe" href="images/myimage1.jpg"><img src="images/myimage1_thumb.jpg" alt="My Image" /></a>
    If this is a script, then people will need to see the actual script or website with this problem.

    -Shane

  • #3
    erk
    erk is offline
    New to the CF scene
    Join Date
    Sep 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    it's a script... and the page, for example is at http://www.hotheadcrafts.com/n.html

    thanks!

  • #4
    Senior Coder TheShaner's Avatar
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Posts
    1,126
    Thanks
    2
    Thanked 40 Times in 40 Posts
    Ah ha. You're the one that needed the scrollable iframe. You took the script from Dynamic Drive like I had suggested. It uses an iframe, so you would do what i suggested above. First, go into your code and find where you inserted that code. You should see this line:

    Code:
    <iframe id="datamain" src="new.html" width=200 height=300 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=1 scrolling=no></iframe>
    Put in the name attribute: name="datamain", so that it looks like the below:
    Code:
    <iframe name="datamain" id="datamain" src="new.html" width=200 height=300 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=1 scrolling=no></iframe>
    Now, for your image links, you just make sure the link has: target="datamain"

    -Shane

  • #5
    Regular Coder Lerura's Avatar
    Join Date
    Aug 2005
    Location
    Denmark
    Posts
    878
    Thanks
    0
    Thanked 114 Times in 113 Posts
    it has nothing to do with a script.
    it is to iframes.
    the lower contains a page with thumbs targeting the upper iframe.

    as i can see you have what you want unless u want to modify it


  •  

    Posting Permissions

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