View Full Version : Website: Java text or Flash text?

August 12th, 2008, 07:17 AM
Just wondering what people's general thoughts are here?

I have a dark styled website. And thought the nav bar could do with some brightening up. A roll over effect.

With flash text I get a nice effect. As I do with java script roll over.

On analytics it seems both are split with 3% having neither one nor the other.

Java roll overs increase page load speeds. But flash is easier to quickly set up.

Which do you think will have the greatest compatibility on FF3 and IE7?

August 12th, 2008, 07:19 AM
I'd say go with JavaScript, not Flash.
Better yet, go CSS

August 12th, 2008, 07:27 AM
I feel that JavaScript is much better supported than Flash.

August 12th, 2008, 07:29 AM
Why not use CSS for the rollovers?

August 12th, 2008, 08:34 AM
Why not use CSS for the rollovers?

I am afraid I am a bit old school and still use tables. CSS is something I can't get my head around! :confused:

So far Java script is in the lead then!

August 12th, 2008, 10:30 AM
<style type="text/css">
background-color: #FFFFFF;
color: #000000;

background-color: #000000;
color: #FFFFFF;

<tr><td class="menu">On the left</td><td class="menu">On the right</td></tr>
<tr class="menu"><td>On the left</td><td>On the right</td></tr>

TOP LINE OF TABLE: Individual cells `light up`
BOTTOM LINE: Both cells light up.

August 12th, 2008, 01:04 PM
Don't use either if you can do it in CSS. Flash is way too much overkill - and believe it or not some people don't have any kind of Flash support on their machine. If you absolutely don't want to do it in CSS, use JavaScript, but never use Flash for such a small thing.

Cobol to Java
August 12th, 2008, 02:09 PM
Hmmmm..flash is a bit heavy. CSS would be a great choice. And there are lots of ebooks on coding CSS on bittorrent sites, you might want to download some. Java would be good too.

August 12th, 2008, 02:23 PM
^^ Please don't use Java for simple elements of style like mouse rollover type stuff. Java should be reserved solely for applications.

JavaScript on the other hand, is great for such things because it has great support and is pretty much instantaneously executed by the client.

Java is not the same thing as JavaScript - so watch out for any confusion!

August 12th, 2008, 02:30 PM
Ah java=javascript for my purposes. Many thanks for clearing that up for me.

Many thanks for the replies, much appreciated. It looks like Javascript is the way to go. I am afraid CSS for the whole site will have to wait as I am still getting my head around html! lol

OK, thanks again for the advice.

August 12th, 2008, 02:40 PM
I disable JavaScript and Flash is hard on a lot of browsers. Go with CSS if you can.

August 12th, 2008, 04:53 PM
I don't talk to people using table designs >__<

Just joking n__n

..well..maybe not.

August 12th, 2008, 05:17 PM
CSS ----> javascript -----------------------------------------------------> flash

remember that flash navigations WILL NOT WORK if the persion viewing the page has eather flashblock or adblock pluss installed, both of which will stop flash content loading.

August 13th, 2008, 04:45 AM
Ok, so I will change to Javascript and start working on some new navigation jpgs.

It's very useful information to have.

I checked on my blog analytics and it conflicted a little. Though I think analytics uses java script to analyze, so if a browser doesn't have it then it will not report back properly?

I will have to go unspoken to for using tables I guess ;) Sorry!

August 13th, 2008, 04:57 AM
CSS and div's are way better than tables for design, but there are some things I can do with tables I just can't do with div's. :( It's frustrating.