Results 1 to 3 of 3

Thread: Fire Fox Error

  1. #1
    Join Date
    Feb 2008
    Posts
    23

    Default Fire Fox Error

    Hello,

    I use the following code in my detail_link.html

    <a $url%>">
    <img src="<%$site_url%>/thumbs/<%$logo%>.jpg" OnError="ImageLoadFailed()" src="<%$site_url%>/thumbs/nologo.jpg" /></a>

    IF the image is available in the thumbs folder it show perfect, if not it uses nologo.jpg..

    This goes perfectly in IE, but in FireFox

    OnError="ImageLoadFailed()" src="<%$site_url%>/thumbs/nologo.jpg" /

    show a blank image

    What goes wrong?

    Regards,

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Perhaps because OnError is incorrect, onerror is correct

  3. #3
    Join Date
    Feb 2008
    Posts
    23

    Default

    This works

    onerror="this.src='<%$site_url%>/thumbs/nologo.jpg'"

    Google is your friend.

Similar Threads

  1. Parse error: syntax error, unexpected
    By eltony in forum v5.x
    Replies: 6
    Last Post: 01-27-2008, 08:56 PM
  2. Error 500-Internal server error
    By samourai in forum v5.x
    Replies: 2
    Last Post: 10-12-2007, 06:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •