You're right, onclick on image in NS4 doesn't work, so go for the href. It's my experience that if one can avoid to create a dynlayer, one should !!
As for the scrollbar, I modified it a bit to look like Aqua scroll bar on Mac OS X, I can't do without it !!


Benoit

On Friday, March 14, 2003, at 01:10 AM, Doug Melvin wrote:

I agree the knobimage is just window dressing.
It was only there to make the scroll bar "look like the one in windows" as
was the client requirments.
It can do without..
AS for the arrow buttons...
The use of dynimage was so that I could simply use the onclick of the
dynimage object
rather then arite the html to do the clicking via an href around the image.
using the onclick of the image comes to mind..
But I do not recall this being a viable option in NS4x
we are still supporting (and testing?) ns4x right?


Or has everybody forgotten about that?

----- Original Message -----
From: "Raymond Irving" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 10, 2003 7:38 PM
Subject: Re: [Dynapi-Dev] dynImage



--- Doug Melvin <[EMAIL PROTECTED]> wrote:
WoH!! the usage of the functions.getImage() is NOT
the same as the use of the dynImage.
For instance. My scrollabr used a dynimage as the
scroll knob.
Looking at the example html it appears that the
getimage is real nice..
But I want an 'image' (layer with image in it) that
I can drag around.

I have added dynimage back to the packadge in my
copy.

Do you really need that extra object (dynimage)? all
you have to do is create a new layer and add the image
to it:

var img=dynapi.functions.getImage('whatever.gif');
var knob=new DynLayer(img.getHTML());

That's it!

PS. How about creating a scrollbar that does not use a
knob image. One that's similar to the one on your
browser. The less layers we can use to create these
basic widgets the better it is for complex widgets and
page loads.

--
Raymond Irving


__________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com


------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/




------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/




-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to