hi..sry for nt posting the code ............here is my code....

HTMLPane pnPane = new HTMLPane();
            pnPane.setContents("<div style=\"height:40px\">" +
            "<table border=\"0\" cellpadding=\"1\" cellspacing=\"1\">" +
            "<tbody>" +
          "<tr>" +
          "<td style=\"color:#ca0002\"; valign=\"center\">&#149 &nbsp;</td>"+
          "</td>" +
          "<td valign=\"top\">" +
          "<a href=\"http://www.cnn.com/2011/11/27/us/egypt-americans-freed/
index.html?eref=igoogledmn_topstories \" target=\"_blank\" class =
\"common-links-1\">Three American students detained in Egypt back in
U.S.</a>" +
          "</td>" +
          "</tr>" +
          "</tbody>" +
          "</table>" +
          "</div>");



now in tht set content section above html code is working perfectly
but i want to create one vertical accordian panel and want to put
above data in tht panel........... but java script code of tht
accordian panel is not working with html panel........ is their any
way exist by which i can use java script code to devlop my required
application......

On Dec 9, 1:21 pm, Ed <[email protected]> wrote:
> I don't understand what you are trying to do.
> But have a look at the GWT class HistoryImplTimer which defines a
> javascript method and then uses it. Maybe the example will help you.
> The GWT code contains more of these kind of examples.
>
> You are talking about "my htmlpanel" but you don't show the code of
> your panel so it's hard to help you.
>
> - Ed
>
> On Dec 9, 8:30 am, yashujn <[email protected]> wrote:
>
>
>
>
>
>
>
> > hi ,  I want to add some javascript function in my htmlpanel like
> > accordian plane... but htmlpanel not accepting javascript ... can some
> > bdy tell me how to use javascript function in gw portlet??

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to