This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Show Image icon infront of http URL ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Show Image icon infront of http URL ?" Watch "Show Image icon infront of http URL ?" New topic
Author

Show Image icon infront of http URL ?

Rahul Shilpakar
Ranch Hand

Joined: Aug 29, 2006
Posts: 132
Hello,

I am in need of your help. It seems urgent for myself.

Please tell me, how can i show the image icon in front of a HTTP URL?
I want the JavaScript code for it.

Thank you in advance.


Perform for today. Adapt for tomorrow.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Originally posted by Rahul Shilpakar:
Hello,

I am in need of your help. It seems urgent for myself.

Please tell me, how can i show the image icon in front of a HTTP URL?
I want the JavaScript code for it.

Thank you in advance.


Pl dont use such words like ,"urgent" , ranchers dont like that !

Basically you are talking about the "favicon.ico", image file that displays at left most of URL , Then serarch your servers 'favicon' file with your own icon ! Or google


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Rahul Shilpakar
Ranch Hand

Joined: Aug 29, 2006
Posts: 132

Originally posted by Sagar Rohankar
Pl dont use such words like ,"urgent" , ranchers dont like that !


I am sorry Sagar. My intension was not hurting anybody. It was just that i was in tension to finish my chaose.

Ok. Regarding favicon.ico-

I am able to create the favicon.ico. But don't know where can i put this icon on the server. I mean In which folder? Please elaborate it.
Rahul Shilpakar
Ranch Hand

Joined: Aug 29, 2006
Posts: 132
I don't want JavaScript code now.

I want to get the output in any form or any way? It donsn't matter the way of output.

Thank you.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39544
    
  27
I don't understand at all what your last post means, but the favicon.ico file generally goes into the root directory of a domain.


Ping & DNS - updated with new look and Ping home screen widget
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Google Favicon and you will get plenty of examples of how to add it to your site and how to create the image.

Eric
K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 1963
    
    7

Regarding icon files you put that image file in the root folder (where the index page is located) then you need that special html line in you code inside <head> in order to show that icon next to the URL. You can google that.


K. Tsang JavaRanch SCJP5 SCJD/OCM-JD OCPJP7
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Show Image icon infront of http URL ?
 
Similar Threads
Application ICON in URL
find application in market
Adding a background image
looking for a creative way to get a string from file.xml
How to change icon of Tomcat