Javascript or CSS Method To Change Favicon?

  • Profile Image
    markashton
    Asked on August 20, 2013 at 05:08 AM

    Hi,

    I use custom domain with jotforms ... works great. I do not want to embed source code into html pages. Like the simple system of just changing url.

    However, there is still a jotform favicon ... so I was looking into how I may change this.

    Looks bleak ... as we can't access the <head> section. Can with CSS ... but I don't think it is possible to handle favicons with CSS.

    So, I wondered if there was a way to use the free html function and add some javacsript ... that may do the job.

    Came across this ... https://gist.github.com/mathiasbynens/428626#file-change-favicon-js

    Anyone have a lightbulb moment with this ?? I'm a bit stumped .. and I note that the JS is lost in the html tool ... so was wondering whether there was a syntax to force it ..

    Hope someone can help. Be most grafetul

    Thanks Mark

  • Profile Image
    jonathan
    Answered on August 20, 2013 at 08:09 AM

    Hi Mark,

    From what I learned so far, is that, you cannot influence the form(look & feel, functionality, behaviour) with outside function via javascript code if you will not use its source code to embed.

    To my knowledge JS + Source Code will have to always come together if you want to apply complex customization the form. I mean those customizations, that no known injected CSS can address.

    I think it is appropriate that we submit this to our next level support as built-in feature instead. The dev can alter the form's backend  code and make the "Change Fav Icon" capability within the form.

    I will elevate this to our next level support for approval on the requested feature.

    We will update you for any results on the request.

    Thanks.

  • Profile Image
    markashton
    Answered on August 20, 2013 at 08:29 AM

    Ok close this thread in favour of this one: http://www.jotform.com/answers/241824-Feature-Request-Favicon-Function