Hi Rohit,

Any solution avbl yet for the image and not text appearing
simultaneously?

Regards
Sharath

On Jun 18, 9:14 am, "Rohit Ghatol (Google)"
<[EMAIL PROTECTED]> wrote:
> Hi Sharath,
> I tried this on Windows XP box using firefox, it shows me the text
> too.
>
> Here is the complete example I tried to run in Code runner
>
> function createActivity() {
>   var title= '';
>   title = ', Title ';
>   var activity_params=[];
>   activity_params[opensocial.Activity.Field.TITLE] = title;
>   activity_params[opensocial.Activity.Field.BODY] = '<a href="/
> AppInfo.aspx"><img src="http://hosting.gmodules.com/ig/gadgets/file/
> default.jpg"/>TEXT HERE</a>';
>   var activity = opensocial.newActivity(activity_params);
>
>   opensocial.requestCreateActivity(activity,
> "HIGH",getCreateActivityResp);
>
> }
>
> function getCreateActivityResp(responseItem) {
>   console.log(responseItem);
>   var htmlout = '';
>   if(responseItem.hadError()){
>     //htmlout= 'has error: ' + responseItem.ErrorMessage;
>     //alert(responseItem.ErrorMessage +'has error');
>   }
>   else{
>     alert('create activity good!')
>   }
>
> }
>
> Thanks,
> Rohit
>
> On Jun 18, 6:16 am, sharath <[EMAIL PROTECTED]> wrote:
>
> > Hi Jason,
>
> > I am also using the same version of firefox in windows XP.
> > I am getting only image but not text.
> > Better show me the syntax to use it as two separate tags.
>
> > Thanks
> > Sharath
>
> > On Jun 18, 5:57 am, Jason <[EMAIL PROTECTED]> wrote:
>
> > > Hi Sharath. I'm seeing both the image and text in Firefox 2.0.0.14 on
> > > Mac OS X. Please provide your platform details (browser and OS) and a
> > > screenshot, and I'll look into this further. Alternatively, you could
> > > try using two anchor tags, one with the image and the other with the
> > > text to see if this fixes the issue.
>
> > > As an aside, HTML attributes should always be in double quotes. This
> > > probably isn't causing your problem, but it could cause problems
> > > later:
>
> > > activity_params[opensocial.Activity.Field.BODY] = '<a href="/
> > > AppInfo.aspx"><img src="http://hosting.gmodules.com/ig/gadgets/file/
> > > default.jpg"/>TEXT HERE</a>';
>
> > > - Jason
>
> > > On Jun 16, 3:59 am, sharath <[EMAIL PROTECTED]> wrote:
>
> > > > hello,
>
> > > > I have got the below code line for the body of an activity stream.
> > > > Only the image is getting displayed but not the corresponding text.
>
> > > > activity_params[opensocial.Activity.Field.BODY] = "<a href='/
> > > > AppInfo.aspx'><img src='http://hosting.gmodules.com/ig/gadgets/file/
> > > > default.jpg'>TEXT HERE</a>";
>
> > > > Kindly suggest the required modification
>
> > > > Thanks and Regards
> > > > Sharath
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to