0

Hi there

Im doing my web site and i have came across a little bit of coding i wish to change - i thought it could be changed in CSS but i don't think it can.

Basically im using a "title="Image 3" tag to use as a brief description of the image, this is working fine BUT the text has ( ) either side them? and i want them removed - i was looking at <em> tags as well but the java & jquery code i "think" adds the ( )

this is what i have - is it possible to remove them?

<script type="text/javascript">

$(document).ready(function(){

	$("h2").append('<em></em>')

	$(".thumbs a").click(function(){
	
		var largePath = $(this).attr("href");
		var largeAlt = $(this).attr("title");
		
		$("#largeImg").attr({ src: largePath, alt: largeAlt });
		
		$("h2 em").html(" (" + largeAlt + ")"); return false;
	});
	
});
</script>

<a href="img4-lg.jpg" title="Pure seal a logo designed for the love of roofs"><img src="img4-thumb.jpg" /></a>

let me know if i have missed anything out - im very new

Simon

Edited by Ezzaral: Added code tags. Please use them to format any code that you post.

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by @developer
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.