" FP' s Dynamic HTML Effect" vs " JavaScript" (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


Mosky -> " FP' s Dynamic HTML Effect" vs " JavaScript" (10/25/2002 8:31:58)

Why some people prefer using javascript to FP' s Dynamic HTML Effect while the latter seems easier?




Seventh -> RE: " FP' s Dynamic HTML Effect" vs " JavaScript" (10/25/2002 9:41:21)

It' s usually preference. I personally never use the FP DHTML due to it' s tricky nature. I prefer CSS for minute DHTML-like effects. I use javascript for everything else.




_gail -> RE: " FP' s Dynamic HTML Effect" vs " JavaScript" (10/25/2002 13:28:27)

quote:

ORIGINAL: mosky

Why some people prefer using javascript to FP' s Dynamic HTML Effect while the latter seems easier?


Hi mosky,

I asked the same question months ago with regard to rollovers. Though I can' t find my original thread here' s a link to the second thread I started related to the same question. Though no one at Outfront came right out and recommended the Dynamic HTML effect, some of us tested how it functioned in most every browser we could think of. Worked without a hitch and I use it.

http://www.frontpagewebmaster.com/tm.asp?m=82329&appid=&p=&mpage=1&key=&language=&tmode=&s=#82329

Good luck.

gail

btw, regarding links I placed in the tread, I' ve temporarily disabled the rollover effects until my client has time to have more photos taken by a professional.




Mosky -> RE: " FP' s Dynamic HTML Effect" vs " JavaScript" (10/25/2002 16:31:05)

I got Yr site, it looks great. And now which one do U favor?




_gail -> RE: " FP' s Dynamic HTML Effect" vs " JavaScript" (10/25/2002 17:42:30)


quote:

ORIGINAL: Mosky

I got Yr site, it looks great. And now which one do U favor?


Thank U, Mosky!

I favor the FP rollover effect, to be quite frank. For a number of reasons.

1st, it is very easy to implement for simple rollover effects - make your dual images, place them in appropriate folders in your web, insert the main graphic into the page, then use FrontPage to hyperlink it to the other graphic. Walla! Quicker than inserting and tweaking code, and typing in file paths…at least at my level of skill;

2nd, the FP rollover appears to generate less code than javascript. Everyone always talks about code " bloat" so I assume this is a plus;

3rd, as already mentioned, it works in many browsers for both pc and apple computers; I don' t recall the exact number but we tested in at least 12 different browsers. In fact, the FPRE worked in a few more than did the javascript rollovers;

4th -- and important from a business perspective -- because the FPRE is easier to implement for the particular job I' ll be using it on, it will save the client quite a bit of money. I suppose some would say that if the client saves money, I don' t make the extra money as if I recommended the other route. That has NEVER been my business philosophy. In the several businesses I' ve owned and operated, I' ve always tried to gear my customers to cost-effective ways of doing something after I' ve explained all the options. Believe me, in the long run, it' s always paid off.

Saying all this, I believe the majority of web designers use the JavaScript. Seventh, for example, says the FPRE has a “tricky nature’ and so he doesn’t use it.

So Mosky, what' s Yr opinion? Which do U plan on using and why?

Gail

Ps Seventh, why do you call it “tricky?!”




Mosky -> RE: " FP' s Dynamic HTML Effect" vs " JavaScript" (10/25/2002 22:26:21)

I got yr ideas. I didn' t have chances to test in so many browsers as U did, frankly I just did with IE and Nescape. Yr answers valued a lot to me since I used to wonder why JavaScript subject are so popular now with books, web sites, and during conversations. I thought it has something superior than FP' s DHE. Based on yr real-life experiences, I don' t think I have to go deep into JVS anymore, leave much more time into creative works. Thanks a lot for yr time spent on this thread. Please take yr time now and have a nice weekend.




Momx4 -> RE: " FP' s Dynamic HTML Effect" vs " JavaScript" (10/27/2002 22:07:46)

After reading this post I decided to investigate the FP Dynamic HTML Effects. I made some mouse-overs (what fun and how easy), I can' t believe I didn' t already know about them.

Anyway, I noticed when publishing my site after making a mouse over, that there is an " animate.js" file on the web root directory. Does this mean that the FP Dynamic HTML Effects actually uses JavaScript? Does the file have to stay on the root directory or can I move it somewhere else? Interesting!!!




Momx4 -> RE: " FP' s Dynamic HTML Effect" vs " JavaScript" (10/27/2002 23:26:53)

Another question. Can you hyperlink from the FP Dynamic HTML Effect -swap picture - mouse-over?

I want to change from picture " A" to picture " B" on the mouse over and then to picture " C" on a click. When I tried this it linked from " A" to " C" as if the FP MO effect was a hyperlink.

How do I use FP to go from " A" to " B" on a mouse over and to " C" on a click? Thanks in advance for all the help. [:D]




Mosky -> RE: " FP' s Dynamic HTML Effect" vs " JavaScript" (10/28/2002 1:45:06)

Hi momX4,
How about see this example:
http://members.aol.com:/mocchau1000/test.htm
I only upload the following files for the example:
Pict 1
Pict 2
Pict 3
and the test.htm itself. No other file needed. This may help




_gail -> RE: " FP' s Dynamic HTML Effect" vs " JavaScript" (10/28/2002 7:07:50)

MomX4,

Yes, I believe the code generated is JavaScript. Can' t answer your question about where to place the file. You can experiment but I usually just leave it where I find it.

As to your A-B-C question, I personally don' t know the answer. If someone doesn' t reply in this thread you may want to ask the question by starting an additional thread.

Mosky,

I recall reading that when you make rollovers, the dimensions (height and width) of each image should be exactly the same. Your pict 2 and the rollover pict 3 appear to be different sizes.

gail




Momx4 -> RE: " FP' s Dynamic HTML Effect" vs " JavaScript" (10/28/2002 9:40:17)

Thanks Gail and Mosky,

So it IS possible to do the A, B, C thing!!! Your example really helped, thanks for taking the time to do it. [:D] Just to clarify Mosky, you ARE using the FP Dynamic HTML effect of swap picture mouse over >>> hyperlink, right?

However, When I tried to add a hyperlink (right click>add hyperlink) to my mouse over, there was the javascript link in the line, when I tried to link to another page within the website, it removed the js link and replaced it with the new linked page.

What am I doing wrong?




Mosky -> RE: " FP' s Dynamic HTML Effect" vs " JavaScript" (10/28/2002 11:05:24)

Gail, to make an example, I bypassed the sizes of the pictures for a quick work. In reallty the sizes of the pictures must be considered seriously!
Mom, I created the example totally in FP2002, the link was created by clicking the " insert hyperlink" on the standard toolbar.
See this:
http://members.aol.com:/mocchau3000/link2.gif




Momx4 -> RE: " FP' s Dynamic HTML Effect" vs " JavaScript" (10/29/2002 0:36:36)

Thanks again Mosky. It works [:D]. I assumed that when the javascript link was replaced by the new hyperlink that it didn' t work. But it does; Hurray!!! Thanks.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.09375