Results 1 to 6 of 6

Thread: Question about making a script

  1. #1
    Join Date
    Jun 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Question about making a script

    Well, i'm kindoff new to js,
    but i know some things

    Now, i woudld like to make something kinda difficult,
    and i really don't know how to get started

    if you go over a link with ur mouse. ( mouseover )
    a picture most come into a table in another frame
    i don't even know if that's possible.

    Just a start might help me out.

    I think it might work out with javascript.
    Thanks
    Last edited by indexspelen; 06-19-2008 at 02:45 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Do you mean literally another frame? Frames generally aren't the best idea for anything these days. If you do mean frame, it would be better to put the image into the entire frame, rather than a table in it. Because, if another page without the required table were to be in that frame, there would be an error.

    Anyways, the rest of what you propose has been done a lot, with javascript:

    http://www.dynamicdrive.com/dynamici...thumbnail2.htm

    and without:

    http://www.dynamicdrive.com/style/cs...image-gallery/

    These are just two examples from the DD libraries, there must be more (probably tons more) on the web.

    As a point of interest, to do the frame idea, if you are wedded to it, would require javascript (unless you changed from onmouseover to onclick as your activating method). It could be adapted from the first of the above links by adding parent.window['frame_name'] in a one or more key spots (to display in markup - a table or whatever) or by editing a bit more to launch your image into the frame by itself (the better idea IMO,if you must use frames).
    - John
    ________________________

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

  3. #3
    Join Date
    Jun 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I really need to work with frames, but it's alright.

    Thanks for your help, thumbmail 2 is exacly what i was looking for.

    I can't thank you engough

  4. #4
    Join Date
    Jun 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    now,

    i've got a small problem.

    <a href="http://www.nasa.gov/images/content/167040main_image_feature_738_ys_4.jpg" rel="enlargeimage::mouseover" rev="loadarea::http://www.dynamicdrive.com" title="1 on 1 soccer" target="top"> 1 On 1 Soccer </a>

    This works fine

    But when i use this:

    <a href="http://www.nasa.gov/images/content/167040main_image_feature_738_ys_4.jpg" rel="enlargeimage::mouseover" rev="loadarea::http://www.dynamicdrive.com" title="1 on 1 soccer" target="top"><a href="www.idon'tcare.com"> 1 On 1 Soccer </a></a><br>

    :S maybe it has to do with the dubble <a> tags?

  5. #5
    Join Date
    Jun 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Does nobody has any idea?

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by indexspelen View Post
    Does nobody has any idea?
    This isn't live chat. Sometimes it can take awhile to get an answer. But the answer to your question is yes. Nested links confuse the browser.
    - 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
  •