Results 1 to 6 of 6

Thread: Sticky Note Dynamic Content Script

  1. #1
    Join Date
    May 2006
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Sticky Note Dynamic Content Script

    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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Yes.

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2006
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Professor,

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

    Bob

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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/s...ead.php?t=5269

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

    Code:
    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:

    Code:
    objref.style.top=scroll_top+docheight-objheight-10+"px"
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    May 2006
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  6. #6
    Join Date
    Jul 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •