On 12/01/07, Olaf Bosch <[EMAIL PROTECTED]> wrote:
> David Duymelinck schrieb:
>
> > Ok i will stop posting at the end of the day :) anyway nice plugin in, i
> > like it better then showing an icon that users can interpret differently
> > but what happens if a site doesn"t have a favicon? If i look at your
> > code nothing will happen. maybe you could add an option to display a
> > default icon. I don't know how you could check if an emoticon exists or
> > not.
>
> I found this, i become not to work in the Plugin, have now no time for
> further testing:
>
> <script language="JavaScript"><!-
> function testImage(URL) {
> var tester=new Image();
> tester.onLoad=isGood;
> tester.onError=isBad;
> tester.src=URL;
> }
>
> function isGood() {
> alert('That image exists!');
> }
>
> function isBad() {
> alert('That image does no exist!');
> }
> //--></script>
>
>
> > I think it should check the title attribute so it's not nessesary to add
> > a title through javascript.
>
> Hm, what will you say, (bad english, i not you), i have now the Title to
> the SPAN then overwrite not the given on A.
>
> Sorry for short answer, i must go away....
>
> For all, thanks for all ideas. *is a new Version online* look at this,
> more Options, CSS and IMG, hand in hand ;)
> http://olaf-bosch.de/bugs/jquery/links3.html
>
> --
> Viele Grüße, Olaf
>
> -------------------------------
> [EMAIL PROTECTED]
> http://olaf-bosch.de
> www.akitafreund.de
> -------------------------------
Turning out to be a useful plugin. Looking forward to a final version,
which I assume won't be in a 'bugs' folder
(http://olaf-bosch.de/jquery/favicon/ would be a good URL) and will
check the remote icon actually exists.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/