NetTalk Central

Author Topic: PNG on Button problem  (Read 4567 times)

Thomas

  • Newbie
  • *
  • Posts: 27
    • View Profile
    • Email
PNG on Button problem
« on: April 21, 2008, 02:40:46 PM »
Hello,
in my own projekt I put a Button on a webform. The button has a text and a PNG image. The image is one of the images of the Accounts(31) example - customers.png.
It is displayed correctly in Accounts example - but not in my own project. What I'm doing wrong ? (IE 7 on Vista, NT4.30)
TIA, Thomas

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Re: PNG on Button problem
« Reply #1 on: April 21, 2008, 05:54:40 PM »
You have a copy of it in your project's web/images directory?
Mike Grigsby
Credify Systems
Central Oregon, USA

Thomas

  • Newbie
  • *
  • Posts: 27
    • View Profile
    • Email
Re: PNG on Button problem
« Reply #2 on: April 21, 2008, 10:26:52 PM »
Hi Mike,
double checked before posting ;-)
regards, Thomas.

Thomas

  • Newbie
  • *
  • Posts: 27
    • View Profile
    • Email
Re: PNG on Button problem
« Reply #3 on: April 22, 2008, 12:49:19 AM »
Ok - solved, I was mislead...
I looked at the Accounts(31) example and build my own buttons in the very same way. In Accouunts(31) the Buttons type is shown as "Submit", hence the problem in my project. The generated HTML for ym button was a <input... After changing the Type to "Button" everythings works well, even PNG's are displayed.
Strange thing anyway, the display of "Submit" as type in the Accounts example.
Regards, thomas

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11245
    • View Profile
Re: PNG on Button problem
« Reply #4 on: April 22, 2008, 02:18:26 AM »
Hi Thomas,

It really all depends on what you want the button to do - sometimes it's a submit button (ie sends all the form fields) sometimes that's not necessary.

Cheers
Bruce