Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » No matter how hard i try i can't get it to work


No matter how hard i try i can't get it to work

Reply
  #1 (permalink)  
Old 08-24-06, 08:48 AM
xxvatarxx xxvatarxx is offline
Wannabe Coder
 
Join Date: May 2005
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
No matter how hard i try i can't get it to work

http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html

If i read that, download the example and then upload it to my server it works fine.
But as soon as i implement it on my own page it doesn't work.
I don't know why, i've tried so many things...
Can someone explain to me what i need to do...
I uploaded the htc file, i linked to it in css sheet, i uploaded all the necessary images... but im just stuck..
Can anyone help please?

Also not sure if this is the right place to post..
Reply With Quote
  #2 (permalink)  
Old 08-24-06, 05:26 PM
Christian's Avatar
Christian Christian is offline
Community VIP
 
Join Date: Mar 2005
Location: ProgrammingTalk
Posts: 2,449
Thanks: 0
Thanked 6 Times in 5 Posts
Mind posting your code for us to have a look see?
__________________
:: ImperialBB :: New version in the works! :: http://www.imperialbb.com ::

:: Have a question about the board? The Rules? An Infraction/Warning? :: Contact Form ::
Reply With Quote
  #3 (permalink)  
Old 08-25-06, 04:34 PM
Spaced Spaced is offline
Newbie Coder
 
Join Date: Jul 2006
Location: Winnipeg MB
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Without any code the bets I can guess is you didn't reference the image from the right.
Code:
<img src="THE LOCATION OF THE IMAGE/blank.gif" style="width: 100px; height: 100px; filter:
progid:DXImageTransform.Microsoft.AlphaImageLoader(src='THE LOCATION OF THE IMAGE/image.png', sizingMethod='scale')" />
I did that the first time I tried it out.
Reply With Quote
  #4 (permalink)  
Old 08-27-06, 03:09 PM
xxvatarxx xxvatarxx is offline
Wannabe Coder
 
Join Date: May 2005
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Yeh thats fine and it works, the problem is some of the png's are set in the css file, and if i just put the filter on it doesn't work very well..
It works in ie if i set the background image to blank.gif, but then in ff the background just appears as blank.gif, so do i have to create "if ie" for each one? or is there and easier way to do it?
Like using the .htc file (further down the page) but i can't get that to work...
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freelance PHP Developer needed to work with Amberfly Ltd petebarr Job Offers & Assistance 3 07-03-09 12:23 PM
The Art Nexus seeking PHP programmers TheArtNexus Job Offers & Assistance 5 02-26-08 03:08 AM
I'm desperate for work, I'll do any work for cheap [PHP/MySQL] Anastas Job Offers & Assistance 17 02-12-06 11:18 AM
Programmers Needed Quasicom Job Offers & Assistance 0 08-13-05 03:41 PM
Grafix Work Submitting in PHP ports1980 PHP 1 08-09-04 11:31 AM


All times are GMT -5. The time now is 08:54 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.