Look & Feel for Web Views

Hi friends.

I can’t find any example (I know that exists) code to enhance a web view, in order to improve its look & feel, with the “OnMouseOver” property of javascript.

Can anybody help me? I’ve searched in Sandbox and can’t find this information.

Subject: Look & Feel for Web Views

You can do a lot with the look and feel of views on the web using style sheets. Have you looked there?

Subject: RE: Look & Feel for Web Views

Yes, but I only need to do this. Simply. I’ve the following in the 2 columns…:

“<tr onMouseOver="bgColor=‘#EEEEEE’" onMouseOut="bgColor=‘#FFFFFF’" bgcolor="#FFFFFF">” + FIRST_FIELD + “”

“” + LAST FIELD + “”

But not working… maybe I need to put some code on the column title…

Any help will be appreciated.

Thanks.

Subject: RE: Look & Feel for Web Views

Did you mark this text as passthru HTML?

Subject: RE: Look & Feel for Web Views

yes, in the $$ViewTemplateDefault, have marked the $$ViewBody field as “Passthru HTML”…

Any other consideration?

Subject: RE: Look & Feel for Web Views

The problem is your Javascript. How does Javascript know what element to apply bgColor to??

“<tr onMouseOver="this.style.backgroundColor=‘#EEEEEE’" onMouseOut="this.style.backgroundColor=‘#FFFFFF’" bgcolor="#FFFFFF">” + FIRST_FIELD + “”

Subject: RE: Look & Feel for Web Views

Great Carl ! Thanks a lot!

The last question… I see no link in the code to such document when user click on them… how can I refer this?

thanks again.

Subject: Look & Feel for Web Views

No? Did you try Googling? Pretty View has been up at OpenNTF.org for quite a while.