aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Shortcut Icon Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Shortcut Icon" Watch "Shortcut Icon" New topic
Author

Shortcut Icon

Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 826
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

Joined: Jan 10, 2002
Posts: 61648
    
  67

when using this tag


What tag?

Including some code might help just a tad.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 826
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Apr 09, 2002
Posts: 826
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
With IE it HAS to be bookmarked, there is no way around it.

Eric
Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 826
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
 
Consider Paul's rocket mass heater.
 
subject: Shortcut Icon