[Fwd: Re: Dojo-interest Digest, Vol 59, Issue 26(TitlePane header)]

View: New views
1 Messages — Rating Filter:   Alert me  

[Fwd: Re: Dojo-interest Digest, Vol 59, Issue 26(TitlePane header)]

by sankar-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
On the click of the button,I created a function.But right now the
problem is that while clicking on the Button,the "TitlePane" is
expanding.Thats also right.But when I clicked on the Button again,the
"TitlePane" is collapsing.I dont want to collapse the "TitlePane".

My Requirement is :
1. Initially the TitlePane should display in the collapse mode.
2. When Click on the Button in the TitlePane header,it  is keep on
expanding.

Here is my Example:
<div class="tp" dojotype="dijit.TitlePane" open="false" id="dij"
title="<button id='button1'>Add Server</button <span style='float:right;
font-size:14px'>25.09.09 - 09.09.09</span>"></div>


Thanking You,
sankar


Thank You David Leonardi ,
It works....Looks cool...Thanks for sharing your valuable time.

dojo-interest-request@... wrote:

> Send Dojo-interest mailing list submissions to
> dojo-interest@...
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
> or, via email, send a message with subject or body 'help' to
> dojo-interest-request@...
>
> You can reach the person managing the list at
> dojo-interest-owner@...
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Dojo-interest digest..."
>
>
> Today's Topics:
>
>    1. TitlePane header (sankar)
>    2. Dojo/OpenLayers mashup (Andre Steenveld)
>    3. Re: TitlePane header (David Leonardi)
>    4. Re: scrollbar issue (Bill Keese)
>    5. Re: scrollbar issue (Vishwajeet Borade)
>    6. tabcontainer active tab (J?nos Prepuk)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 09 Nov 2009 12:58:34 +0530
> From: sankar <sankaranarayanan.a@...>
> Subject: [Dojo-interest] TitlePane header
> To: dojo-interest@...
> Message-ID: <4AF7C4A2.1040608@...>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
> Could you just provide how to create a button in the header of the
> "TitlePane" with a small example
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 9 Nov 2009 10:59:09 +0100
> From: Andre Steenveld <andre.steenveld@...>
> Subject: [Dojo-interest] Dojo/OpenLayers mashup
> To: dojo-interest@...
> Message-ID:
> <143ad7010911090159m2faec16fme5389fd2e62cfe7@...>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello fellow JS programmers,
>
> I have been working on integrating openlayers into a dojo widget. This
> widget can be configured with an XML file and can act and behave like a dojo
> widget as well as an instance of OpenLayers.Map. I am planning to write some
> code that makes it possible to configure the widget declaratively or via
> JSON.
>
> This is all fine and well and works, with one very important exception.
> Panning does not work, more specific there are layers in which it doesn't
> work. Panning works in the Google layers because the drag and drop
> functionality is delegated to the Google layer. However for the "native"
> openlayers layers the events do fire but the map is not updated. Panning and
> then zooming in or out will cause the map to center on the correct point and
> so will panning and then resizing the window. It is not limited to a
> specific browser, I have tested FF3.5, IE8, IE7 emulation and Opera 10 all
> running on a windows XP box.
>
> My hypothesis is that there is a mix up with some events that are attached
> via dijit._Widget and OpenLayers.Map, but I can't find exactly where or how
> to fix it properly. You can find the widget by typing "dijit.byId( 'map' )"
> in your console. The result will be a objet which inherets from
> OpenLayers.Map and mixes dijit._Widget.
>
> If anyone has any suggestions at all I'd love to hear them. Any other
> feedback or suggestion are welcome as well. For a demo you can point the
> browser of your choice to
> http://bonsai.nmpo.nl/experiments/mapviewer.v2.html
>
> For a zip file with the source, http://bonsai.nmpo.nl/experiments/viewer.zip.
> If you want to see more layers you can uncomment the layers in the XML file,
> they all work and have the data needed to fill them is supplied in the zip
> as well.
>
> This message has been sent to the oplayers and dojo mailing lists.
>
> Best regards, Andre Steenveld
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mail.dojotoolkit.org/pipermail/dojo-interest/attachments/20091109/81757a2a/attachment-0001.htm 
>
> ------------------------------
>
> Message: 3
> Date: Mon, 9 Nov 2009 12:20:30 +0100
> From: David Leonardi <david@...>
> Subject: Re: [Dojo-interest] TitlePane header
> To: dojo-interest@...
> Message-ID:
> <ec7e9fb90911090320q22b5277ak296b180fc726ac88@...>
> Content-Type: text/plain; charset=ISO-8859-1
>
> <div class="tp" dojotype="dijit.TitlePane" open="false"
> title="<button>click me</button <span style='float:right;
> font-size:14px'>25.09.09 - 09.09.09</span>">
>
> something like this should work.
> notice that since you're enclosing html within " 's , you must use 's
> for your markup in there.
> Its a nasty hack and will never ever validate in w3c, but it works crossbrowser.
>
>
>
> On Mon, Nov 9, 2009 at 8:28 AM, sankar
> <sankaranarayanan.a@...> wrote:
>  
>> Hi,
>> Could you just provide how to create a button in the header of the
>> "TitlePane" with a small example
>> _______________________________________________
>> FAQ: http://dojotoolkit.org/support/faq
>> Book: http://docs.dojocampus.org
>> Dojo-interest@...
>> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>>
>>    
>
>
>
>  


_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest@...
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest