Rollover button problem

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

    Rollover button problem

    I'm building a site in Dreamweaver MX where I have a set of rollover
    buttons. These buttons go dim when the mouse is over them. When clicked,
    another image appears on a different part of the page (I built this using
    the Set Nav Bar image function). This all works fine on my Mac, using my
    browser safari and Internet Explorer. But on a PC using Internet Explorer
    the rollovers dim but when clicked nothing happens. Does anybody know why?
    I can paste the code if that helps anybody . I'm not too good at
    understanding Java script code so let me know what bits might help



    Thanks



    Kate


  • Michael Winter

    #2
    Re: Rollover button problem

    On Tue, 9 Nov 2004 22:41:59 -0000, biggles <home@bigglesgb .fsnet.co.uk>
    wrote:

    [snip]
    [color=blue]
    > I can paste the code if that helps anybody . I'm not too good at
    > understanding Java script code so let me know what bits might help[/color]

    If you can manage it, a link would be best. Preferably one to a page that
    is as simple as possible but still displays the problem. It's much easier
    to see something in action that to wade through code, especially as you
    don't know what's wrong.

    Mike

    --
    Michael Winter
    Replace ".invalid" with ".uk" to reply by e-mail.

    Comment

    • Andrew Thompson

      #3
      Re: Rollover button problem

      On Tue, 09 Nov 2004 23:21:30 GMT, Michael Winter wrote:
      [color=blue]
      > If you can manage it, a link would be best. Preferably one to a page that
      > is as simple as possible but still displays the problem. ..[/color]

      That sounds like a small, self-contained, correct, example. For tips..
      <http://www.physci.org/codes/sscce.jsp>

      --
      Andrew Thompson
      http://www.PhySci.org/codes/ Web & IT Help
      http://www.PhySci.org/ Open-source software suite
      http://www.1point1C.org/ Science & Technology
      http://www.LensEscapes.com/ Images that escape the mundane

      Comment

      • kate jackson

        #4
        Re: Rollover button problem


        Hi Mike,

        can i send you the link via email?

        Thanks,

        Kate

        *** Sent via Developersdex http://www.developersdex.com ***
        Don't just participate in USENET...get rewarded for it!

        Comment

        • Andrew Thompson

          #5
          Re: Rollover button problem

          On 10 Nov 2004 08:56:23 GMT, kate jackson wrote:
          [color=blue]
          > Hi Mike,
          >
          > can i send you the link via email?[/color]

          ...can you post it here?

          It will probably get quicker answers since
          even (the mighty) Mike has to sleep!

          --
          Andrew Thompson
          http://www.PhySci.org/codes/ Web & IT Help
          http://www.PhySci.org/ Open-source software suite
          http://www.1point1C.org/ Science & Technology
          http://www.LensEscapes.com/ Images that escape the mundane

          Comment

          • kate jackson

            #6
            Re: Rollover button problem


            Fair enough, we all need sleep I guess! Here's the link...

            Jin Designs offers a range of animal themed homeware and gifts designed & made in the UK.


            PS I read your article. I'll no longer paste a message without putting a
            link in to the problem. Sorry for wasting anyone's time. You made some
            good points.

            *** Sent via Developersdex http://www.developersdex.com ***
            Don't just participate in USENET...get rewarded for it!

            Comment

            • Andrew Thompson

              #7
              Re: Rollover button problem

              On 10 Nov 2004 10:06:23 GMT, kate jackson wrote:
              [color=blue]
              > Fair enough, we all need sleep I guess![/color]

              I've been trying some experiments that invlove a drip of
              coffee, and some strange herb from south America, but it is
              trciky to judge if the halucinations are actually dreams.. ;)
              [color=blue]
              >..Here's the link...
              >
              > http://www.jindesigns.com/portfolio_graph_logos.html[/color]

              Now we're cooking with gas.

              The first thing to remember with anything to do with a web-page is
              that the HTML is like a 'building foundation'. If it is invalid,
              all bets are off as to how the multitude of user agents (browsers)
              might render it. Your 'building might fall down'.

              To check if HTML is valid, there is a very handy tool here..
              <http://validator.w3.or g/>

              The results for this page are here..
              <http://validator.w3.or g/check?uri=http://www.jindesigns. com/portfolio_graph _logos.html>

              There's a few problems you need to look at before the
              problems with script can be dealt with (and fixing the
              HTML might *fix* the script).
              [color=blue]
              > PS I read your article. I'll no longer paste a message without putting a
              > link in to the problem.[/color]

              *Sometimes* it might be appropriate, but often a
              (SHORT) page and a link is more useful.
              [color=blue]
              >..Sorry for wasting anyone's time. You made some
              > good points.[/color]

              Keep displaying that you are willing to read links and listen
              to advice and you will get lots of help here. It's a great group.

              --
              Andrew Thompson
              http://www.PhySci.org/codes/ Web & IT Help
              http://www.PhySci.org/ Open-source software suite
              http://www.1point1C.org/ Science & Technology
              http://www.LensEscapes.com/ Images that escape the mundane

              Comment

              • kate jackson

                #8
                Re: Rollover button problem


                gosh, what a lot of errors on my page. I'll go and make the changes now
                and see if it helps the script. Thanks for the link to the validator
                website
                - this is great.

                Kate



                *** Sent via Developersdex http://www.developersdex.com ***
                Don't just participate in USENET...get rewarded for it!

                Comment

                • Michael Winter

                  #9
                  Re: Rollover button problem

                  On 10 Nov 2004 10:06:23 GMT, kate jackson <kate26@postmas ter.co.uk> wrote:

                  [snip]
                  [color=blue]
                  > http://www.jindesigns.com/portfolio_graph_logos.html[/color]

                  [snip]

                  Sorry for the delay. I encountered some intriguing rendering bugs whilst
                  constructing a demonstration. In addition, because you took the site down,
                  I had problems finishing said demo.

                  While the page was up, I tested with Opera and nothing happened there. I
                  forget how Mozilla did. I imagine the cause to be simple: Dreamweaver's
                  crappy scripts. Any code I've seen on the Web generated by DW has been
                  abismal.

                  What precisely was supposed to happen when you clicked on one of the
                  images? I assume a full version of the image was to appear to the right of
                  the page. That's simple enough.

                  On another matter, particularly relevant as it seems you're performing a
                  site-wide makeover, you should really drop the table layout. If you care
                  to look at
                  <URL:http://www.mlwinter.pw p.blueyonder.co .uk/jin/portfolio.html> , you'll
                  see an equivalent implementation with no tables in sight.

                  As a Web design company, I think it's a rather poor advertisment to be
                  using implementation techniques that should have died a good couple of
                  years ago. That particular page[1] (2KBs), plus the images (12KBs),
                  stylesheet (2KBs), and scripts (2.5KBs), is smaller than the mark-up of
                  your original page *alone* (21.9KBs). I think that goes to show just how
                  verbose table layouts are.

                  With that demonstration, I added my own rollover script which is much
                  easier to maintain that DW's. A brief description can be found at
                  <URL:http://www.mlwinter.pw p.blueyonder.co .uk/image-swap/>.

                  Mike


                  [1] I know it's incomplete, but the remaining content won't add that much
                  to the overall size.

                  --
                  Michael Winter
                  Replace ".invalid" with ".uk" to reply by e-mail.

                  Comment

                  Working...