File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Shortcut Icon

 
Rob Hunter
Ranch Hand
Posts: 832
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Been trying to get the link tag working for shortcut icon but couldn't keep the icon from coming up consistently. Now it doesn't come up at all. Can anyone tell me when using this tag this way when and where the icon "SHOULD" come up and how I can again get it to come up in the browser? Thanks.

Rob
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64178
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when using this tag


What tag?

Including some code might help just a tad.
 
Rob Hunter
Ranch Hand
Posts: 832
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear,
First part of the message I mentioned I was trying to get the link tag working, this is the tag I'm referring to throughout. Basically I put < link rel="shortcut icon" href="full http path and also tried the relative path"> inside the < head> tag. It seemed to work at first, closed the browser down and it didn't work afterwards. I thought by putting it in it would work display before the URL and the favorites (if added there). The first (and only time) it seemed to work was was it input the URL, added to favorites, and then selected the entry in favorites to load the page. Any suggestions on why it isn't working? Thanks.

Rob
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The favicon works with the link:
<LINK href="theImage.ico" rel="SHORTCUT ICON">

It only shows up in address bar in IE if the site is bookmarked. Firefox, it shows up regardless .

Eric
 
Rob Hunter
Ranch Hand
Posts: 832
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Bear,
Does the case or order of what you typed matter then? If the case or order doesn't matter it didn't work for me the last time I tried it. I'll try giving it another go. It worked the way you spoke of the first time but not the second which points to the possiblilty of a change made but I didn't change anything. Anyway I'll give that a try but do you know of a way to display that image at the start of the URL regardless (whether bookmarked or not)? Thanks again.

Rob
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With IE it HAS to be bookmarked, there is no way around it.

Eric
 
Rob Hunter
Ranch Hand
Posts: 832
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My apologies Eric didn't realize you posted the last one. Geez that's too bad. It'd be nice to have it there regardless. Is there a way of achieving this using something other than javascript and/or HTML do you know? If there is I guess first step would be a move to another forum. Not that I NEED to do this, it's just it'd be neat to have in. Thanks again Bear AND Eric.

Rob
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic