Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder Bengal313's Avatar
    Join Date
    Jun 2002
    Location
    Metro Detroit
    Posts
    298
    Thanks
    8
    Thanked 0 Times in 0 Posts

    How to add greybox effect in Dojo's fisheye widget?

    I am trying to trying to make a menu system using dojo's toolkit's fisheye widget. I got the widgets to link to subpages. The url loads in a popup window.

    Code:
    <div dojoType='FisheyeListItem'  
    		iconsrc='images/picturegallery.png' 
    		onclick='window.open("index.html","center");' > 
    		</div>
    My next step is to have the url load in a greybox...( http://orangoo.com/labs/GreyBox/ )

    This is the sample code to launch an url in greybox.

    Code:
    <a href="http://amix.dk/" onclick="return GB_showFullScreen('amix.dk', 'http://amix.dk/')">Show amix.dk in full screen</a>

    Now, how can I add this greybox effect into dojo's fishwidget?
    "Knowledge Speaks But Wisdom Listens"

  • #2
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,493
    Thanks
    3
    Thanked 499 Times in 486 Posts
    I have something with a few more features which also has instructions for you to implement in your menu.

    http://www.vicsjavascripts.org.uk/Un...salPopUpII.htm
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/

  • #3
    Regular Coder Bengal313's Avatar
    Join Date
    Jun 2002
    Location
    Metro Detroit
    Posts
    298
    Thanks
    8
    Thanked 0 Times in 0 Posts
    The problem isn't with the popup script it is how I can add it to the dojo menu script. The dojo fisheye widget and the greybox scripts works fine by themselve but how can I use them together?
    "Knowledge Speaks But Wisdom Listens"

  • #4
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,493
    Thanks
    3
    Thanked 499 Times in 486 Posts
    try


    Code:
    <div dojoType='FisheyeListItem'  
    		iconsrc='images/picturegallery.png' 
    		onclick="return GB_showFullScreen('amix.dk', 'http://amix.dk/');" > 
    		</div>
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/

  • #5
    Regular Coder Bengal313's Avatar
    Join Date
    Jun 2002
    Location
    Metro Detroit
    Posts
    298
    Thanks
    8
    Thanked 0 Times in 0 Posts
    Thank you very much. You have saved me from a big headache....Thanx
    "Knowledge Speaks But Wisdom Listens"


  •  

    Posting Permissions

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