PDA

View Full Version : Sticky Note Dynamic Content Script



jjvoice
05-23-2006, 06:08 PM
Hi,

I've used this script and it's really neat. I was wondering if it is possible to change where the sticky note content appears on the screen? The way the script is set up, it always appears in the center of the screen. I would like it to appear at the bottom of the screen. Any way to make that happen? Thanks.

Bob

jscheuer1
05-23-2006, 06:13 PM
Yes.

Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

jjvoice
05-23-2006, 06:31 PM
Professor,

Sorry for the poor posting format. Here is a link to the script I am refering to: http://www.dynamicdrive.com/dynamicindex17/stickynote.htm

Bob

jscheuer1
05-23-2006, 09:59 PM
That's Ok, I was in a rush or I would have hunted it down. Here is an archived post that answers that question:

http://www.dynamicdrive.com/forums/showthread.php?t=5269

Also, since you want it on the bottom, you might try:


objref.style.bottom="10px"

As a replacement for the two lines mentioned in that post but, this will place it at the absolute bottom of your page which, might not be where you expect it to be, depending upon your layout.

Another good choice could be:


objref.style.top=scroll_top+docheight-objheight-10+"px"

jjvoice
05-23-2006, 10:06 PM
John,

Thanks for the reply. I actually went into the code and figured it out myself, and came up with exactly your second suggestion. Thanks again!

Bob

MaTySeK
07-24-2006, 07:11 PM
Hi,
I want put another site in this box which shows in this script (sticky note), could you help me with code?
Thanks
Best regards Marcin / MaTySeK