Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

change the logo of the web site on fly

 
ramanuja varun
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64848
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To change it from the client, in JavaScript, simply change the src value of the <img> tag.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic