Welcome to TalkGraphics.com
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23
  1. #11

    Default Re: display layer on page load

    Amazing, John!
    Thank you!

  2. #12
    Join Date
    Feb 2009
    Location
    UK
    Posts
    472

    Default Re: display layer on page load

    John, I'm trying to work out how you forced Layer 1 to pop up on page load in the example you posted for me in this thread.

    Looking at the generated HTML I can see the answer is probably in the line:
    '<script type="text/javascript"> window.open(document.getElementById('my_popup1').h ref,'_self');</script>'

    But I can't find this in the .web document - where is it defined?

  3. #13
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: display layer on page load

    Quote Originally Posted by gpholman View Post
    John, I'm trying to work out how you forced Layer 1 to pop up on page load in the example you posted for me in this thread.

    Looking at the generated HTML I can see the answer is probably in the line:
    '<script type="text/javascript"> window.open(document.getElementById('my_popup1').h ref,'_self');</script>'

    But I can't find this in the .web document - where is it defined?

    It is placed in the page Tracker code (the same place I suggested Markku).
    Hovewer I had to change your design a bit to use graphical buttons instead of text links that pop up that layer. The button was given a name and this name was used in the script.
    But anyway, this all is not very usefull for you as your design concept requires locking layers.
    John.

  4. #14
    Join Date
    Feb 2009
    Location
    UK
    Posts
    472

    Smile Re: display layer on page load

    Thanks John, all is clear!

  5. #15
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Question MouseDown?

    I read the section in Help you recommended. The below is unclear to me.
    (See comments in red).
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Can you answer.png 
Views:	104 
Size:	221.7 KB 
ID:	58688  

  6. #16
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: MouseDown?

    MouseDown - is the second type of the rollower layer (the first one is MouseOver). It works the same way as MouseOver, and it contains graphics that is used for the mouse down state (when you pressed the left mouse button on the object).

    The "Bold" is mistake in help. It was intended to make all rollover layers bold in the following list.
    John.

  7. #17

    Default Re: display layer on page load

    Quote Originally Posted by jclements
    What is meant by a MouseDown layer? Can a .web ile be posted which uses/demonstrates this?
    After running through Gary Priester's tutorial or Vista-style buttons, I adjusted a few things to illustrate a MouseDown state. See attachment.
    Attached Files Attached Files

  8. #18
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default Re: display layer on page load

    Curt:

    Thank you for your example. It makes things clear. It is going in my Design Gallery for referral.

  9. #19

    Default Re: display layer on page load

    Note, by the way, that for proper function, the layer order must be:
    MouseDown
    MouseOver
    MouseOff

  10. #20
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: display layer on page load

    Quote Originally Posted by cursor View Post
    Note, by the way, that for proper function, the layer order must be:
    MouseDown
    MouseOver
    MouseOff
    MouseOver and MouseDown layers are equal so they may be swapped this way:

    MouseOver
    MouseDown
    MouseOff
    John.

 

 

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
  •