View Full Version : Remove the word galleries from "catagories galleries"
Mac Write
Nov-08-2006, 11:18 PM
Looking at the code for "catagory name's galleries" I am unable to just hide the word galleries while keeping the rest of the text. While I am thinking of it (next stage of custimizing) I want to do an image header in he catagory top div and other then using background images, can you use html code in the catagories name to display an image there so that I don't have a 5,000 line CSS file?
Thanks
BeachBill
Nov-09-2006, 01:02 AM
Looking at the code for "catagory name's galleries" I am unable to just hide the word galleries while keeping the rest of the text. While I am thinking of it (next stage of custimizing) I want to do an image header in he catagory top div and other then using background images, can you use html code in the catagories name to display an image there so that I don't have a 5,000 line CSS file?
Thanks
Sure, some examples, put one of these in your javascript section.
Text and HTML:
YE.onAvailable('categoryTitle', function() { this.innerHTML = 'Random text and <u>HTML</u>'});
An image:
YE.onAvailable('categoryTitle', function() { this.innerHTML = '<img src="http://url/to/image.jpg">'});
An example of this can be seen on my home page. I use this logic to replace/customize the "most popular photos" and "recent galleries" titles. Note both include an HTML anchor to another page.
vBulletin v3.5.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.