If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2

Thread: JQUERY Problem

  1. #1
    Senior Member igeek's Avatar
    Join Date
    Oct 2005
    Member #

    im having an issue with JQUERY im trying to use this "browser tweak" from the JQUERY web site to fix png transparency in IE.

    the image below (logo.png) displays with a light gray border around it and has a red X like the image was not loaded.. also the CSS for the image is being ignored.

    im not sure why this is happening...anyone have any suggestions.

    <script language="javascript" type="text/javascript" src="../scripts/javascript/jquery-1.2.1.js"></script>
    <script language="javascript" type="text/javascript" src="../scripts/javascript/jquery.ifixpng.js"></script>
    <script language="javascript" type="text/javascript" >
    		<div id="header_container">
    			<div id="header_logo">
    				<a href="../index.php">
    				<img src="../styles/images/logo.png" border="0" width="577" height="52" style="width="577" height="52" style="padding-top:30px; height:52px; width:577px;">


  3. #2
    Senior Member Shani's Avatar
    Join Date
    Nov 2004
    Member #
    All the code looks right. JQuery just updated to 1.2, but the plugin has not, maybe that is an issue?

    Not sure about the "X" or the CSS either.

    Are the paths to your external files all correct (may seem simple, but if that's the issue, it would resolve everything, supposedly right)?

    edit: I wonder about the period in the selector. It should be literal and not matter, but since the period, in jQuery generally indicates a class, I wonder if taking it out would make a difference. [minicode]$('img[@src$=png]')[/minicode]

    I have an eye for detail like you'd never believe.

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 12:30 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: