onmouseover or other problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marc R. Bertrand

    #1

    onmouseover or other problem

    I would be much obliged:

    1) Can someone tell me how to make the pictures show up in the bottom
    sections of the page http://www.goalseek.net/Buy_MCTM1.htm?

    In those sections, the French and German sections, hovering over the
    links with the mouse does not produce the effect obtained in other
    areas of the page, and yet the syntax used appears to be the same: a
    picture, pre-loaded, is supposed to show up.
    There is something wrong with my code and I can't see what it is.


    2)In the JavaScript slide show, I hard coded the path to the picture
    like so:
    <option value="/MCTM1/E_All_Good.jpeg " selected>All questions are...

    I would rather use the preload information, but how to insert it?
    Within double quotes? Single quotes?
    <option value="pic_E_Al l_Good.src" selected>All questions are...

    Cheers/Thanks.
  • Thomas 'PointedEars' Lahn

    #2
    Re: onmouseover or other problem

    Marc R. Bertrand wrote:
    [color=blue]
    > 1) Can someone tell me how to make the pictures show up in the bottom
    > sections of the page http://www.goalseek.net/Buy_MCTM1.htm?
    >
    > In those sections, the French and German sections, hovering over the
    > links with the mouse does not produce the effect obtained in other
    > areas of the page, and yet the syntax used appears to be the same: a
    > picture, pre-loaded, is supposed to show up.
    > There is something wrong with my code and I can't see what it is.[/color]

    http://validator.w3.org/check?uri=ht...line&verbose=1

    And you may want to read


    [color=blue]
    > 2)In the JavaScript slide show,[/color]

    Slide show? Where?
    [color=blue]
    > I hard coded the path to the picture like so:
    > <option value="/MCTM1/E_All_Good.jpeg " selected>All questions are...
    >
    > I would rather use the preload information, but how to insert it?
    > Within double quotes? Single quotes?
    > <option value="pic_E_Al l_Good.src" selected>All questions are...[/color]

    Sorry, I do not understand.


    PointedEars

    Comment

    • Marc R. Bertrand

      #3
      Re: onmouseover or other problem

      Someone solved the problems I posted below. The problems were due to
      an image variable name that I used twice. A 'common' but not easily
      detected oversight. That someone is a professional: Mr. Brad Hedge.

      Please check Brad's site out. You will *NOT* waste your time:



      Marc R. Bertrand


      =============== =============== =============== =============== ========
      mb@goalseek.net (Marc R. Bertrand) wrote in message news:<59bb2e05. 0312180229.1c27 e90e@posting.go ogle.com>...[color=blue]
      > I would be much obliged:
      >
      > 1) Can someone tell me how to make the pictures show up in the bottom
      > sections of the page http://www.goalseek.net/Buy_MCTM1.htm?
      >
      > In those sections, the French and German sections, hovering over the
      > links with the mouse does not produce the effect obtained in other
      > areas of the page, and yet the syntax used appears to be the same: a
      > picture, pre-loaded, is supposed to show up.
      > There is something wrong with my code and I can't see what it is.
      >
      >
      > 2)In the JavaScript slide show, I hard coded the path to the picture
      > like so:
      > <option value="/MCTM1/E_All_Good.jpeg " selected>All questions are...
      >
      > I would rather use the preload information, but how to insert it?
      > Within double quotes? Single quotes?
      > <option value="pic_E_Al l_Good.src" selected>All questions are...
      >
      > Cheers/Thanks.[/color]

      Comment

      • HikksNotAtHome

        #4
        Re: onmouseover or other problem

        In article <59bb2e05.03122 00947.c06cb8f@p osting.google.c om>, mb@goalseek.net
        (Marc R. Bertrand) writes:
        [color=blue]
        >Someone solved the problems I posted below. The problems were due to
        >an image variable name that I used twice. A 'common' but not easily
        >detected oversight. That someone is a professional: Mr. Brad Hedge.
        >
        >Please check Brad's site out. You will *NOT* waste your time:
        >
        >http://codepunk.hardwar.org.uk/[/color]

        From his page, in the Javascript tutorials, lesson 2, on alert boxes:

        <quote>
        Making alert() boxes is pretty simple, but it helps to have a little overview
        of the hierarchy of objects that JavaScript recognizes. At the top of the heap
        is "navigator" . This is the browser that the viewer is using. It's usually
        either Internet Explorer or Netscape. The "navigator" object has lots of
        properties, but you can't change any of them. We'll be using these properties
        later to see which browser a viewer is using (navigator.appN ame). The
        properties of "navigator" can tell you the browser's name, version, and other
        neat stuff like what plug-ins are installed.
        </quote>

        The part that struck me first was "We'll be using these properties later to see
        which browser a viewer is using (navigator.appN ame)."

        That, in and of itself, makes it a *bad* tutorial site.
        When I write a script, I dont care what browser you are using. I want to know
        if your browser supports the objects and methods that I want to use. It matters
        not if its IE6.0 or if its FunkyBrowser 3.77 (I made that name up).

        Throughout, he uses language="javas cript" which is deprecated. More bad habits
        he is "teaching".

        Further down that page:
        <quote>
        You don't need quotes for numbers. In fact, you can do a little math in your
        alert() box:
        </quote>

        While its not a major flaw, its a technically incorrect statement. And when
        teaching people, its best to be as accurate as you possibly can. The statement
        above, to me, implies that the alert is doing the math when in fact its not.
        All an alert box can do is display a message, thats all. The javascript
        interpreter does the rest. A better statement might be "You can display the
        results of math in your alert()"

        From his code for his pages:

        <a href="javascrip t:popmenu('menu 3')" class="nav">Dow nloads</a>



        I guess if you want to learn javascript, you must have it enabled eh? That is
        totally false.

        So I guess I take difference with whether a newbe would be wasting time there
        (I think they would be).
        --
        Randy

        Comment

        Working...