COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Sarayucog on 28 Nov 2011 12:58:35 AM

Title: JS code fo shape the Value prompt
Post by: Sarayucog on 28 Nov 2011 12:58:35 AM
Hi all,

I wan to shape or cut the edges of the value prompt (it should look like the round shape at the edges). Is it possible with JavaScript. If its possible with JS code please post me this JS code to do the above task.

Your help will be appriciated.
Thanks in advance.
Title: Re: JS code fo shape the Value prompt
Post by: CognosPaul on 29 Nov 2011 01:47:44 AM
You might want to look through here: http://roshanbh.com.np/2008/04/how-to-make-rounded-corner-textbox.html for tips on it. The general idea is to wrap the input with a div that has a background image.

CSS 3 allows for rounded corners, unfortunately a vast majority of users do not use browsers that support CSS 3.
Title: Re: JS code fo shape the Value prompt
Post by: Sarayucog on 30 Nov 2011 12:07:40 AM
Thanks Paul for your valueble reply.

The same information I got from one of my friend also.