+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Sitefinity and sIFR

Sitefinity and sIFR

6 posts, 0 answered
  1. Nitin
    Nitin avatar
    51 posts
    Registered:
    14 Aug 2007
    03 Oct 2007
    Link to this post
    Hi.

    Just curious if anyone has implemented sIFR with Sitefinity....

    The css style for sIFR shown below does not seem to work with dynamically generated pages (blog pages, news etc)

    img  
    {  
        behavior: url('../Files/pngbehavior.htc');  

    The css file containing the style is located under App_Themes\MySkin folder.

    Thanks

    Nitin
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    08 Dec 2016
    08 Oct 2007
    Link to this post
    Hi Nitin,

    According to me path to .htc file is not correct. If I understand your file structure correctly, it should be:

    .img   
    {   
        behavior: url("../../Files/pngbehavior.htc");   
    }  

    Also what browser are you using? Support of DHTML behaviors is limited to systems running Internet Explorer 5 or later. Browsers not supporting DHTML behaviors will ignore the proposed CSS behavior attribute when encountered on the page, causing the element to render as usual but without the behavior being applied.

    Hope this helps.

    Kind regards,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Nitin
    Nitin avatar
    51 posts
    Registered:
    14 Aug 2007
    08 Oct 2007
    Link to this post
    Pepi,

    I am using IE 6/7

    The relative path does not work with the blogs/news page. I am assuming it has something to do with Url rewriting.

    I tried copying all the sIFR related files (.js, .css, htc etc) to my skin folder and the issue seems to go away :)

    Thanks!

    Nitin

  4. Meister
    Meister avatar
    262 posts
    Registered:
    09 Nov 2007
    14 Sep 2008
    Link to this post
    i've played around with this, but all the formatting went crazy, got any advice for a newbie to sifr?

    cheers
  5. sweety
    sweety avatar
    28 posts
    Registered:
    28 Jun 2010
    04 Aug 2010
    Link to this post
    Hi pepi

    I am also facing the same problem that you had ...I am using png fix but there is relative path problem...

    I am using the following code in my css ,I put the .htc file in images folder but yet it not recognised the path..

     .png {behavior: url("images/iepngfix.htc")

    Any suggestion regarding this..

  6. Mark
    Mark avatar
    86 posts
    Registered:
    08 Feb 2010
    04 Aug 2010
    Link to this post
    use absolute
     .png {behavior: url("/images/iepngfix.htc")

    or if using sifr, give up and use cufon

    much neater and easier to integrate
Register for webinar
6 posts, 0 answered