By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,312 Members | 1,877 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,312 IT Pros & Developers. It's quick & easy.

Rollover button problem

P: n/a
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
Jul 23 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
On Tue, 9 Nov 2004 22:41:59 -0000, biggles <ho**@bigglesgb.fsnet.co.uk>
wrote:

[snip]
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


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.
Jul 23 '05 #2

P: n/a
On Tue, 09 Nov 2004 23:21:30 GMT, Michael Winter wrote:
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. ..


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
Jul 23 '05 #3

P: n/a

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!
Jul 23 '05 #4

P: n/a
On 10 Nov 2004 08:56:23 GMT, kate jackson wrote:
Hi Mike,

can i send you the link via email?


...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
Jul 23 '05 #5

P: n/a

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

http://www.jindesigns.com/portfolio_graph_logos.html

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!
Jul 23 '05 #6

P: n/a
On 10 Nov 2004 10:06:23 GMT, kate jackson wrote:
Fair enough, we all need sleep I guess!
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.. ;)
..Here's the link...

http://www.jindesigns.com/portfolio_graph_logos.html
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.org/>

The results for this page are here..
<http://validator.w3.org/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).
PS I read your article. I'll no longer paste a message without putting a
link in to the problem.
*Sometimes* it might be appropriate, but often a
(SHORT) page and a link is more useful.
..Sorry for wasting anyone's time. You made some
good points.


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
Jul 23 '05 #7

P: n/a

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!
Jul 23 '05 #8

P: n/a
On 10 Nov 2004 10:06:23 GMT, kate jackson <ka****@postmaster.co.uk> wrote:

[snip]
http://www.jindesigns.com/portfolio_graph_logos.html


[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.pwp.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.pwp.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.
Jul 23 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.