Results 1 to 4 of 4

Thread: making links work

  1. #1
    Join Date
    Feb 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question making links work

    Hi. New to this Forum & new to HTML coding so needing some help and insperation, my problem:- i have a frameset which is 1 row & 2 coloums, the row is at the top of the page where my links live, the two coloums are below and make up 30% & 70% across the page, the links from the row above loads a page into the first coloum which will be picture thumbnails, what i need help with is when clicking on any one of these thumbnails i want it to load into the other 70% coloum and be displayed asa bigger version of the thumbnail.
    Any help would be more than appreciated as i have hit a brick wall with this even though i have scoured the web for help,

    Thanks
    Charlie

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,991
    Thanks
    43
    Thanked 3,198 Times in 3,160 Posts
    Blog Entries
    12

    Default

    Your frames should all have names. If they do, you can target any frame from any other by using its name -

    example frame with name:

    HTML Code:
    <frame name="rightcol" src="some.htm">
    example link targeting that frame:

    HTML Code:
    <a href="large_photo_1.htm" target="rightcol"><img src="small_photo_1.jpg" border="0"></a>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Feb 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ok i understand that, here is my code:-

    <FRAMESET ROWS="10&#37;,*" BORDER="0" FRAMEBORDER="0" FRAMESPACING="0">
    <FRAME SRC="menupanel.htm">

    <FRAMESET COLS="25%,75%">
    <FRAME NORESIZE SRC="displaypanel.htm" NAME="displaypanel">
    <FRAME NORESIZE SRC="showpanel.htm" NAME="showpanel">

    </FRAMESET>

    </FRAMESET>

    </HTML>
    </HTML>
    menupanel.htm loads the page with my links into the top row,
    Clicking a link loads a page into the " displaypanel "
    this page has small thumbnails, approx 10, i want to click on a thumb nail and it load into the frame called "showpanel " at a set size, say 500 x 500 pixcels, your example <a href="large_photo_1.htm" target="rightcol"><img src="small_photo_1.jpg" border="0"></a> is excellent so to include multiple pics on the page large_photo_1.htm how would i reference it ? how should the code look.
    Your help is more than appreciated

    Charlie

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,991
    Thanks
    43
    Thanked 3,198 Times in 3,160 Posts
    Blog Entries
    12

    Default

    It isn't very clear to me what you are asking. Using only HTML, the answer would be that large_photo_1.htm is a page like any other and can have on it whatever you like, referencing other pages for other thumbnails would simply be a matter of changing the href attribute for those thumbnail's links.

    It is possible to setup a script (on either the server and/or the client side) that could retrieve a single page and load into it whatever image, perhaps even based on the filename of the thumbnail image but, this is beyond HTML and, each way of doing it has drawbacks, even if it does save time in designing the image gallery. The time saved would be negligible, non-existent, or even negative for the first time this was set up anyway.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •