Beginner question: External JS to write text to layer?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kris Krieger

    #1

    Beginner question: External JS to write text to layer?

    Hello, Group,

    I hope it's OK for me to ask this question here, since I'm a "dabbler", not
    a "programmer ".

    What I'd like to do, if it's possible, is find a reference or
    example/template that will show me how to create a "quote gallery" that
    uses a mouseover/mouseout to show/hide text in a layer - the idea is that,
    when the visitor mouses over a quote title, the appropriate text is called
    from a separate file and shows in a reserved and pre-positioned layer. I
    have it working using a show/hide layer function (the titles are image
    files of decorative text - the page layout uses <DIV></DIV> and
    <SPAN></SPAN> to set up "layers" such that a mouseOver of the image (title)
    makes the appropriate text show up in a reserved space). The problem is
    that all the text is in the HTML page itself, so the page is getting
    incredibly *long*. I'd like to have the text reside in a separate file, so
    that the page only has the HTML and JavaScript and the text of the quotes
    is "pulled from" a separate file.

    I don't know what the technical (i.e. short) name for this would be, so my
    web searches have not been successful. I have books at home, but the
    examples are either far to simplistic, or far too abstract, for me to
    figure out how to apply them to my situation.

    I'd also like this to be compatable, if possible, with IE4 and above.
    ((From the examples I've seen, Netscape etc. cross-compatability is a
    nightmare beyond my skill level, so I'm admittedly doing the lazy thing and
    going for compatability with IE 4 and above, since that encompasses
    something like 98% of all my visitors.))

    Thank you in advance :) !
    (And I hope this made some sense!)

    --
    - Kris M. Krieger
  • Robert

    #2
    Re: Beginner question: External JS to write text to layer?

    Look at this page:



    Robert

    Comment

    • RobB

      #3
      Re: Beginner question: External JS to write text to layer?

      Kris Krieger wrote:[color=blue]
      > Hello, Group,
      >
      > I hope it's OK for me to ask this question here, since I'm a[/color]
      "dabbler", not[color=blue]
      > a "programmer ".
      >
      > What I'd like to do, if it's possible, is find a reference or
      > example/template that will show me how to create a "quote gallery"[/color]
      that[color=blue]
      > uses a mouseover/mouseout to show/hide text in a layer - the idea is[/color]
      that,[color=blue]
      > when the visitor mouses over a quote title, the appropriate text is[/color]
      called[color=blue]
      > from a separate file and shows in a reserved and pre-positioned[/color]
      layer. I[color=blue]
      > have it working using a show/hide layer function (the titles are[/color]
      image[color=blue]
      > files of decorative text - the page layout uses <DIV></DIV> and
      > <SPAN></SPAN> to set up "layers" such that a mouseOver of the image[/color]
      (title)[color=blue]
      > makes the appropriate text show up in a reserved space). The problem[/color]
      is[color=blue]
      > that all the text is in the HTML page itself, so the page is getting
      > incredibly *long*. I'd like to have the text reside in a separate[/color]
      file, so[color=blue]
      > that the page only has the HTML and JavaScript and the text of the[/color]
      quotes[color=blue]
      > is "pulled from" a separate file.
      >
      > I don't know what the technical (i.e. short) name for this would be,[/color]
      so my[color=blue]
      > web searches have not been successful. I have books at home, but the[/color]
      [color=blue]
      > examples are either far to simplistic, or far too abstract, for me to[/color]
      [color=blue]
      > figure out how to apply them to my situation.
      >
      > I'd also like this to be compatable, if possible, with IE4 and above.[/color]
      [color=blue]
      > ((From the examples I've seen, Netscape etc. cross-compatability is a[/color]
      [color=blue]
      > nightmare beyond my skill level, so I'm admittedly doing the lazy[/color]
      thing and[color=blue]
      > going for compatability with IE 4 and above, since that encompasses
      > something like 98% of all my visitors.))
      >
      > Thank you in advance :) !
      > (And I hope this made some sense!)
      >
      > --
      > - Kris M. Krieger[/color]

      Kris...analyze *this*.

      http://www.dyn-web.com/

      Comment

      Working...