>>You'll have to just paste the css in the body of your message.
Or post them to pastebin http://pastebin.com/
The weird thing about your situation is that the JS is manipulating the
existing Font size attribute.
Off the top of my head... You might want to enclose the font you want to
change with a div or a span and use the ID or class to define the text you
want to change so
So instead if using the HTML attribute $('html') you could use .pixels
class define the text to change like so:
$(".increaseFont").click(function(){
var currentFontSize = $('.pixels').css('font-size');
var currentFontSizeNum = parseFloat(currentFontSize, 10);
var newFontSize = currentFontSizeNum*1.2;
$('.pixels').css('font-size', newFontSize);
return false;
});
<div class="pixels"> This div's class has a font-size property defined in
pixels.</div>
On Tue, Sep 27, 2011 at 3:09 PM, Michael Grant <[email protected]> wrote:
>
> I don't think you can attach files to HOF emails. You'll have to just paste
> the css in the body of your message.
>
>
> On Tue, Sep 27, 2011 at 2:37 PM, Torrent Girl <[email protected]>
> wrote:
>
> >
> > Hello
> >
> > I am trying to implement this jquery and it only works when I remove the
> > attached CSS.
> >
> > Any suggestions?
> >
> > http://www.shopdev.co.uk/blog/font-resize.html
> >
> >
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347758
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm