[Javascript] Please help me

Chris T christ at saeweb.com
Thu Apr 29 08:02:10 CDT 2004


I think you mean getElementById(), correct?

For a great reference on DHTML, check out:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/dhtml_reference_entry.asp
(watch wrapping)

Chris Tifer
http://emailajoke.com


----- Original Message ----- 
From: "David Lovering" <dlovering at gazos.com>
To: "[JavaScript List]" <javascript at LaTech.edu>
Sent: Wednesday, April 28, 2004 10:02 PM
Subject: Re: [Javascript] Please help me


> I'm not sure how well these methods generalize to all browsers, but if you
> know the objectID of the layer you want to have on top you can do
something
> like this:
>
> var myLayerObject = document.getObjectById("ID");
>
> myLayerObject.style.z-index = 99;  [assuming all other layers have lower z
> values]
>
> Obviously, the "ID" bit is replaced by the appropriate value for your
layer
> (usually wrapped by a DIV, and sometimes a SPAN).
>
> I'm speaking ex-cathedra here, as I don't have my code development machine
> up right at the moment.  I'm trusting that the other Javascript gurus will
> jump in if I've completely tanked the code.
>
> -- Dave Lovering
>
> ----- Original Message ----- 
> From: "Tult" <tult at dsp.com.vn>
> To: "[JavaScript List]" <javascript at LaTech.edu>
> Sent: Wednesday, April 28, 2004 7:50 PM
> Subject: Re: [Javascript] Please help me
>
>
> > i'm use code on this page:
> > http://developer.netscape.com/viewsource/antar_vrml/antar_vrml.html
> > but it display behind image control, you can modify source code to
display
> > front of  image control ? please help me
> > thanks!
> >
> >
> > ----- Original Message -----
> > From: "David Lovering" <dlovering at gazos.com>
> > To: "[JavaScript List]" <javascript at LaTech.edu>
> > Sent: Thursday, April 29, 2004 8:34 AM
> > Subject: Re: [Javascript] Please help me
> >
> >
> > > Was that "in front" of image jpg [sic]?  If so, I'd build a
transparent
> > > layer on top of the JPEG image, and use the drawing methods (noted
> > earlier)
> > > on it.  From the user's perspective, this would be the same as drawing
> > "on"
> > > the background image, but without damaging the original graphic.  With
> > layer
> > > methods (not generally usable on older Netscape browsers) you can
force
> > the
> > > "drawing layer" to appear above the "image layer".
> > >
> > > -- Dave Lovering
> > >
> > > ----- Original Message -----
> > > From: "Tult" <tult at dsp.com.vn>
> > > To: "[JavaScript List]" <javascript at LaTech.edu>
> > > Sent: Wednesday, April 28, 2004 7:13 PM
> > > Subject: Re: [Javascript] Please help me
> > >
> > >
> > > > In asp.net , i add an image control on page to display an image .jpg
,
> > > then
> > > > i'm draw an rectangle or line on this image but
> > > > rectangle or line display behind of image jpg ( i'm using source
code
> on
> > > > page http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm)
> > > > . How to draw an rectangle or line in font of image jpg use
> javascript?
> > > > If this way can't, please help me the way or give me source code to
> > draw?
> > > > Thanks,
> > > > tult
> > > >
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "allard schripsema" <allard-schripsema at procergs.rs.gov.br>
> > > > To: "[JavaScript List]" <javascript at LaTech.edu>
> > > > Sent: Wednesday, April 28, 2004 7:23 PM
> > > > Subject: Re: [Javascript] Please help me
> > > >
> > > >
> > > > > The way to do this (i think) is to put the image in the background
> and
> > > > write
> > > > > colored divs of 1 pixel on top of them
> > > > > take a look at :
> http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm
> > > > > to see how to get js to draw
> > > > > hope that helps
> > > > > Allard
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Cutter (JavaScript List)" <java.script at seacrets.com>
> > > > > To: "[JavaScript List]" <javascript at LaTech.edu>
> > > > > Sent: Wednesday, April 28, 2004 9:09 AM
> > > > > Subject: Re: [Javascript] Please help me
> > > > >
> > > > >
> > > > > > Tult,
> > > > > >
> > > > > > Not sure you can do this with JS. Think you may need to use pure
> > Java
> > > > > > for a task of this nature (nothing like a Cup of Joe to wake you
> > up;)
> > > > > >
> > > > > > Cutter
> > > > > >
> > > > > > Tult wrote:
> > > > > >
> > > > > > > Hi!
> > > > > > > I'm use javascript to draw a line and a rectangle  on image
jpg
> > but
> > > i
> > > > > > > can't.
> > > > > > > Please help me.
> > > > > > > thanks!
> > > > > > > tult
> > > > > > >
> > > > > >
> > > >
> >
>------------------------------------------------------------------------
> > > > > > >
> > > > > > >_______________________________________________
> > > > > > >Javascript mailing list
> > > > > > >Javascript at LaTech.edu
> > > > > > >https://lists.LaTech.edu/mailman/listinfo/javascript
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > Javascript mailing list
> > > > > > Javascript at LaTech.edu
> > > > > > https://lists.LaTech.edu/mailman/listinfo/javascript
> > > > > >
> > > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Javascript mailing list
> > > > > Javascript at LaTech.edu
> > > > > https://lists.LaTech.edu/mailman/listinfo/javascript
> > > >
> > > > _______________________________________________
> > > > Javascript mailing list
> > > > Javascript at LaTech.edu
> > > > https://lists.LaTech.edu/mailman/listinfo/javascript
> > > >
> > > >
> > >
> > >
> > > _______________________________________________
> > > Javascript mailing list
> > > Javascript at LaTech.edu
> > > https://lists.LaTech.edu/mailman/listinfo/javascript
> >
> > _______________________________________________
> > Javascript mailing list
> > Javascript at LaTech.edu
> > https://lists.LaTech.edu/mailman/listinfo/javascript
> >
> >
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>




More information about the Javascript mailing list