NetTalk Central

Author Topic: putting an image on browse and when click delete record  (Read 3843 times)

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
putting an image on browse and when click delete record
« on: April 07, 2009, 04:13:00 PM »
do anyone one know how to put image on a browse to perform the delete function that the the delete button does?

bshields

  • Sr. Member
  • ****
  • Posts: 392
    • View Profile
    • Inhabit
    • Email
Re: putting an image on browse and when click delete record
« Reply #1 on: April 07, 2009, 04:42:59 PM »
Hi,

Create a delete button, give it no text. Give it an image preferrably png with transparency.

In the CSS Class give it a new name, mine is called imgbutton (remember css is case sensitive).

If you don't already have one, add a new CSS file to your application. Go to your main procedure that has the server extension template on it. Go into Extensions, find nettalk, then "Settings" then on the tab within it go to "styles". Add a new file into CSS Style Files.

In this new file add something like this:

.imgbutton {
  padding: 0;
  border:  0;
  background: transparent;
  cursor:pointer;
}

This will make the button look like just an image.

Regards
Bill Shields


olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Re: putting an image on browse and when click delete record
« Reply #2 on: April 08, 2009, 05:24:12 AM »
Thanks alot bill that did do the trick.