File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes change the logo of the web site  on  fly 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 "change the logo of the web site  on  fly" Watch "change the logo of the web site  on  fly" New topic
Author

change the logo of the web site on fly

ramanuja varun
Ranch Hand

Joined: Aug 31, 2007
Posts: 47
Sir, I would like to know if it is possible to change the logo of the web site on the fly.Please let me know what will I have to do to enable the change of logo on the fly.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41865
    
  63
What exactly do you mean by that? If -instead of one particular image- you want to show some other image on a web page, then you need to change the HTML of that page to point to the other image. Creating the page dynamically using JSP (or some such technology) makes this easier.

Alternatively, you can replace the image file on the web server with the new image.
[ December 18, 2008: Message edited by: Ulf Dittmer ]

Ping & DNS - my free Android networking tools app
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61220
    
  66

To change it from the client, in JavaScript, simply change the src value of the <img> tag.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: change the logo of the web site on fly