It is possible to put same class to every link on a page. But i don`t want to put every link a class cause page is changing every minute(some autoupdate...). EDIT, <a href="../index.htm" onclick="return hs.htmlExpand(this, { objectType: 'ajax'} )"> click here. </a> Something like this...Bold part need to show after <a href="../index.htm", but on every link on page.. Thanks for future help! Regards, Fluor
1) if it is php page, put it in the page that generate that html page. 2) if it is template based, put the class in the template, for example in .tpl file, but it depends on CMS that you are using
I know, but i can`t put put, isn`t php, it`s javascript and i don`t understand it very well to put script Any CSS tip to make this? Regards, Fluor
Just want to clear something, do you want to make this bold onclick="return hs.htmlExpand(this, { objectType: 'ajax'} )" and NOT the 'click here.' ? If it is, then AFAIK there's no css tricks to make that. since the onclick is part of the Anchor (<a>) tag properties, not the content of the A . Though i'm not sure why you want it bold, since its javascript prop .. and will not be displayed on the browser, and css is to deal with presentation (things that displayed on the screen,print, etc ). If you want to make the 'click here.' to be bold instead just define the anchor tag properties. i.e a{ font-weight:bold; } /*this will make every anchor bold on everypage where the css applied, unless its overrided by other css style*/ or, #wrap a{ font-weight:bold; } /*this will make every anchor inside the #wrap container bold.
Ah, i see now.. i think i misunderstood your question. Ok, if you want to put that js class on everylink, you'll need to change the js. No css trick could do that. sorry for the misunderstanding earlier
designmonkey is right, you need to change js file to make it work. Hire someone to do it for you, you can find people here cheap.