javascriptだけでテキストを画像に置き換えることが出来ます。コーディング作業が楽になります、
今まではテキストを画像に置き換える場合はCSSでbackgroundに画像を指定していたと思いますが、
JQueryプラグインjQirを使うと以下のコードだけでテキストを画像に置き換えることが出来ます。
コーディングしている方にはかなり良いプラグインではないでしょうか?
- jquery.js - ダウンロードページかならず必要ですのでダウンロードして下さい
コード
<script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jquery-jqir.js"></script> <script type="text/javascript"> $(function(){ $(".jpng").jQIR("png", "image/");//png、imageフォルダの指定 $(".jjpg").jQIR("jpg", "image/");//jpg $(".jgif").jQIR("gif", "image/");//gif }); </script> <!--▲head内--> <h1 id="imagename" class="jpng">テキスト</h1>
DEMO - DOWMLOAD
classを指定することでどこからでも呼び出すことが出来ます。
idにはファイルの名前を入れます。CSSで画像を制御したい場合は#idname img{}で出来ます。
マークアップやコードの簡略化にとても役立つプラグインですね。
更に詳しい内容を知りたい方は作者さんのページへどうぞ。
9月 25th, 2009 at 15:45:52
いいネタのご紹介ありがとうございます!
見出し回りのテキストと画像の面倒なコーディングが少し楽になります。
7月 6th, 2012 at 13:57:06
We stumbled over here different web page and thought I should
check things out. I like what I see so now i am following you.
Look forward to looking over your web page repeatedly.
Feel free to surf to my web page: Micro Niche Site
7月 18th, 2012 at 17:09:05
Thank you for the good writeup. It in fact was a amusement account it.
Look advanced to more added agreeable from you! However, how can we communicate?
Here is my web page - グッチ 人気商品
9月 20th, 2012 at 21:57:44
This is the right blog for anybody who really wants to find out about this topic.
You realize a whole lot its almost tough to argue with you (not that I really would want to HaHa).
You certainly put a fresh spin on a subject that has been written about for ages.
Excellent stuff, just great!
My web site: Vending Machines
9月 22nd, 2012 at 10:59:57
I visit every day some sites and information sites to read articles or reviews, however this web site gives quality based content.
Feel free to visit my web blog; グッチ
9月 24th, 2012 at 14:57:33
Hey There. I found your blog using msn. This is an extremely well
written article. I’ll be sure to bookmark it and come back to read more of your useful information. Thanks for the post. I will certainly comeback.
my site: シャネル 長財布
9月 27th, 2012 at 8:17:07
Hello my loved one! I wish to say that this article is awesome, great written and come
with approximately all important infos. I would like
to peer extra posts like this .
my website - pozycjonowanie
9月 29th, 2012 at 4:19:18
Oh my goodness! Amazing article dude! Thank you so much, However I am going through problems with your RSS.
I don’t know the reason why I am unable to subscribe to it. Is there anybody getting identical RSS problems? Anybody who knows the answer can you kindly respond? Thanx!!
Here is my weblog - jobs in boston
9月 30th, 2012 at 23:44:53
I was very happy to uncover this page. I wanted to thank you for ones
time due to this wonderful read!! I definitely appreciated every bit of it and I
have you saved to fav to see new stuff on your site.
Look into my homepage チャンルー ストール
10月 3rd, 2012 at 5:59:09
certainly likе your ωebsite howeveг
уou haνе to take a loоk at thе spelling on quite a few οf уour posts.
Seveгаl of them are rife with ѕρelling problеms and І
in finding іt vегy troublеsome to inform
the truth then again I’ll surely come back again.
Feel free to visit my site - wesele wrocław
10月 8th, 2012 at 4:03:22
I’m amazed, I must say. Seldom do I encounter a blog that’s
both educative and engaging, and let me tell you, you have hit
the nail on the head. The issue is something not enough folks are speaking intelligently about.
Now i’m very happy that I found this in my hunt for something regarding this.
My homepage :: モンクレール秋冬
10月 13th, 2012 at 12:55:46
I am extremely impressed with your writing skills as
well as with the layout on your weblog. Is this a paid theme or did you modify it yourself?
Either way keep up the nice quality writing, it’s rare to see a nice blog like this one nowadays.
Also visit my web site gucci 財布
10月 13th, 2012 at 13:42:54
Your style is really unique in comparison to other folks I have read stuff from.
Thank you for posting when you’ve got the opportunity, Guess I will just bookmark this site.
Also visit my blog post :: グッチ トート バッグ
10月 15th, 2012 at 12:26:40
Gгееtings! Very useful advice wіthіn
thiѕ article! It’s the little changes that produce the largest changes. Thanks for sharing!
Feel free to visit my blog post … hostel wrocław
10月 28th, 2012 at 2:13:37
Howdy! This blog post could not be written much better!
Looking at this post reminds me of my previous roommate!
He constantly kept preaching about this. I am going to forward this post to him.
Pretty sure he’ll have a good read. Many thanks for sharing!
my blog post - グッチ バッグ
11月 6th, 2012 at 9:14:02
Wonderful goods from you, man. I have understand your stuff previous to and you are just extremely magnificent.
I actually like what you’ve acquired here, certainly like what you’re saying
and the way in which you say it. You make it enjoyable and you still care for to
keep it wise. I can’t wait to read far more from you. This is really a terrific web site.
Here is my website … ルイヴィトン コピー 財布
11月 9th, 2012 at 21:11:14
I don’t know if it’s just me or if perhaps everyone else experiencing issues with your website.
It appears like some of the written text on your content are running off the
screen. Can somebody else please comment and let me know
if this is happening to them as well? This could be
a problem with my internet browser because I’ve had this happen before. Thank you
My page: Ugg
12月 3rd, 2012 at 19:11:58
enough persons are talking intelligently about.
I’m very joyful that I stumbled throughout this in my
Also visit my web-site: akcesoria kominkowe
12月 8th, 2012 at 15:14:50
Thanks for sharing your thoughts about Ajax. Regards
Also visit my blog post army e learning
12月 10th, 2012 at 15:46:06
Right away I am going to do my breakfast, afterward having my breakfast
coming again to read further news.
Have a look at my web site - drew myers facebook
12月 29th, 2012 at 9:15:22
An impressive share! I’ve just forwarded this onto a friend who was doing a little homework on this. And he actually ordered me dinner simply because I found it for him… lol. So allow me to reword this…. Thank YOU for the meal!! But yeah, thanx for spending time to discuss this matter here on your website.
my web page - Marti
1月 6th, 2013 at 17:18:45
I simply couldn’t depart your web site prior to suggesting that I actually enjoyed the standard information an individual supply in your guests? Is going to be back incessantly in order to investigate cross-check new posts
Also visit my page SEO articles and page rank information for search engine optimization
1月 8th, 2013 at 0:45:27
hey there and thank you on your information ? I have certainly picked up something new from proper here. I did then again expertise a few technical points using this site, since I experienced to reload the site a lot of times previous to I could get it to load correctly. I have been considering in case your web hosting is OK? Now not that I’m complaining, but sluggish loading circumstances instances will often affect your placement in google and could injury your high-quality score if ads and marketing with Adwords. Well I am including this RSS to my e-mail and can look out for a lot extra of your respective exciting content. Ensure that you replace this again very soon..
1月 21st, 2013 at 21:21:28
Helpful info. Lucky me I discovered your site by accident, and I’m stunned why this twist of fate didn’t took place earlier! I bookmarked it.
2月 5th, 2013 at 2:07:50
Having read this I thought it was extremely informative. I appreciate
you taking the time and energy to put this article together.
I once again find myself personally spending a significant
amount of time both reading and posting comments.
But so what, it was still worth it!
Feel free to visit my weblog: グッチアウトレット
2月 7th, 2013 at 7:52:10
You could enter as numerous websites as well as pages whenever you like and possess NHSEO encourage each in addition, there is no velocity decrease in adding more websites
2月 19th, 2013 at 7:25:12
Hello there! I could have sworn I’ve visited this web site before but after browsing through many of the posts I realized it’s new to me.
Anyhow, I’m definitely delighted I came across it and I’ll be bookmarking it and checking back frequently!
Look into my blog; posicionamiento en buscadores
3月 14th, 2013 at 18:54:11
You actually make it seem so easy with your presentation but I find this matter to be actually something that I think I would never understand.
It seems too complicated and extremely broad for me.
I am looking forward for your next post, I will try to get the hang of
it!
Feel free to surf to my site :: shoes size
4月 14th, 2013 at 22:46:46
Ugaitio ueleuwe, Acting Out By Stuart Stone Casting Directorccda inlaiave zeebazada.
4月 16th, 2013 at 22:48:35
This is because farmacia on line works by expanding the blood
vessels of the lungs are constricted, decreasing
blood flow to the penis during sexual stimulation.
In the Shreve High football stadium, I think that
in a moment; on the bottom, while the mother was in labor, very slow
or arrested heartbeat. Psychological factors that can cause erectile problems.
My page; Ian