وبلاگ سجاد SECAD.ir

۲۸ مطلب با موضوع «آموزشی و مفید» ثبت شده است

جمعه ۲ مرداد
شماره دو نشریه راه روشن منتشر شد

شماره دو نشریه راه روشن منتشر شد

بسم الله الرحمن الرحیم

۲۷۳

شرمنده از دوستان چندوقتیه رفته بودم روستا مطلبای سفارشی رو نتونستم آپلود کنم . ببخشند .

دو هفته پیش سردبیر نشریه راه روشن پیامک داد نشریه رو چاپ کردن خدا رو شکر. بعضی ها پرسیدن چرا اسمش عوض شده عرض کردیم که همون اسم قبلیه فقط گاه نامه شده یعنی بخاطر دیر رسیدن مطالب بسیجی های نوجوان و دیر شدن تاییدیه کمی مشکل داریم خیال همه ر راحت کردیم که سه ماه یک بار یا یکم دیر تر نسخه های جدید چاپ میشه ان شا الله.

راستی از کسانی که در مسابقه پیامکی شرکت کرده بودن هم شدیدا عذر خواهی میکم چون خط ایرانسل توی روستای ما آنتن نداشت و من هم فراموش کرده بودم .

لینک دریافت از وبلاگ پایگاه شهید سیاح.  

 http://shahid-sayyah.blog.ir/post/16

۱۳۹۴/مرداد/۰۲ ۰ نظر موافقین ۰ مخالفین ۰
سه شنبه ۱۶ تیر
آموزش ساخت ستون باز شونده با css

آموزش ساخت ستون باز شونده با css

به نقل از http://designshack.net/articles/css/verticalaccordionav

مشاهده ی دمو : http://designshack.net/tutorialexamples/verticalnav/index.html

فایل های ضمیمه : download

Code a Useful Expanding Vertical Navigation Menu

Today we have yet another awesome step-by-step CSS project for you! This time around we’re going to build a super useful expanding vertical navigation menu. It’s a great way to hide a lot of links in a fairly small space and the animations will add a nice touch to your site.

Even if you’re a complete beginner, you should be able to pull this off. I’ll guide you along every step of the way and explain how each chunk of code works so you can implement these same techniques in future projects and deepen your understanding of CSS. Let’s get started!

The Concept

Before we start coding, it’s always helpful to lay out the rough concept of what you want to achieve so you can wrap your brain around what’s going to be involved. The item we’re building today is a vertical navigation menu that’s in a sort of modified accordion format (get a sneak peek of the finished producthere).

screenshot

As you can see, the sections on the bottom are closed by default and slide open when you over over them. However, to add some nice variation we’ll also include a section that stays open all of the time. In the main section that is always open we’ll include a brief welcome message and in the sections that slide open will be sub-sections of navigation links.

Now that we have a good idea of where we’re going, let’s start outlining the structure in our HTML.

The HTML

The first thing we’re going to do is toss in some nice HTML5 to wrap the menu in. The new nav element provides a beautifully semantic container for our menu.

1
2
3
<nav>
  <!-- all nav code here -->
</nav>

Now let’s think about how our menu is going to be structured. We’re not simply going to have a list of links, each bar represents a link with an additional area below it. We’ll wrap these up in a div. Then within each div we’ll need a main link (the colored bar) and a list of sub-links (the white area). Assuming that this item will be thrown into a site that already has some default styling, let’s arbitrarily settle on h4 for the main link and a simple unordered list for the rest.

01
02
03
04
05
06
07
08
09
10
<nav>
  <div class="menu-item">
    <h4><a href="#">Portfolio</a></h4> <!-- colored bar -->
    <ul> <!-- expanding white area -->
      <li><a href="#">Web</a></li>
      <li><a href="#">Print</a></li>
      <li><a href="#">Other</a></li>
    </ul>
  </div>
</nav>

We can copy, paste and modify this section of code to make up the various pieces of our navigation menu. Here we have a Portfolio, About, and Contact section, each with three sub-links. Each section is given the same class (menu-item) so we can style them in one go.

01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<nav>
    <div class="menu-item">
      <h4><a href="#">Portfolio</a></h4>
      <ul>
        <li><a href="#">Web</a></li>
        <li><a href="#">Print</a></li>
        <li><a href="#">Other</a></li>
      </ul>
    </div>
       
    <div class="menu-item">
      <h4><a href="#">About</a></h4>
      <ul>
        <li><a href="#">History</a></li>
        <li><a href="#">Meet The Owners</a></li>
        <li><a href="#">Awards</a></li>
      </ul>
    </div>
       
    <div class="menu-item">
      <h4><a href="#">Contact</a></h4>
      <ul>
        <li><a href="#">Phone</a></li>
        <li><a href="#">Email</a></li>
        <li><a href="#">Location</a></li>
      </ul>
    </div>
</nav>

I wanted to focus on those areas first because they’re all the same, but remember that the top section is actually different, both in functionality and content. Instead of holding an unordered list, it will hold a paragraph. We’ll also add in a unique class to make it that much easier to target in our CSS.

01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<nav>
    <div class="menu-item alpha">
      <h4><a href="#">Home</a></h4>
      <p>Lorem ipsum dolor sit...</p>
    </div>
       
    <div class="menu-item">
      <h4><a href="#">Portfolio</a></h4>
      <ul>
        <li><a href="#">Web</a></li>
        <li><a href="#">Print</a></li>
        <li><a href="#">Other</a></li>
      </ul>
    </div>
       
    <div class="menu-item">
      <h4><a href="#">About</a></h4>
      <ul>
        <li><a href="#">History</a></li>
        <li><a href="#">Meet The Owners</a></li>
        <li><a href="#">Awards</a></li>
      </ul>
    </div>
       
    <div class="menu-item">
      <h4><a href="#">Contact</a></h4>
      <ul>
        <li><a href="#">Phone</a></li>
        <li><a href="#">Email</a></li>
        <li><a href="#">Location</a></li>
      </ul>
    </div>
</nav>

With that, we’re already finished with the HTML. Though it’s not styled at all, the live preview perfectly showcases the hierarchy of our navigation menu. Here you can clearly see our menu beginning to take form.

screenshot

Base Styles

To start off our menu styling, we need to establish a few basics. First, we’ll clear the default margins and padding. We’ll be squishing the divs right up next to each other so any default browser spacing will ruin the layout.

Next, we’ll apply a simple color to the background so the white portions of our menu will stand out. Then we’ll toss in some basic font styles and add a slight shadow to the menu. Note that the margin set in the nav block centers the menu on the page, this is for display purposes only and should be removed when you want to nudge the menu into place.

Finally, we’ll add some dimensions and background color to the nav and menu-item selectors. Here’s the resulting code:

01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
* {
  margin: 0px;
  padding: 0px;
}
 
body {
  background: #e5e5e7;
}
 
nav {
  font-family: Helvetica, Arial, "Lucida Grande", sans-serif;
  line-height: 1.5;
  margin: 50px auto; /*for display only*/
  width: 200px;
  -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
     -moz-box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
          box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}
 
.menu-item {
  background: #fff;
  width: 200px;
}

A this point, the preview is looking like we’ve done more harm than good, but fear not, it’ll start looking spiffy in no time.

screenshot

Header Styles

Now it’s time to style our h4 tags and turn them into the horizontal bars that we saw in our mockup. To do this, we just need a little padding and a background color. While we’re here we can begin to style the typography as well. We’re inheriting the font-family we set up before so we don’t need to re-type that. Instead we just need to set a size and weight.

1
2
3
4
5
6
7
8
/*Menu Header Styles*/
.menu-item h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 7px 12px;
  background: #a90329;
}

As you can see in the image below, our link styles are still overriding some of the type styles we set here so we’ll need to go in and fix those next.

screenshot

Header Links

Obviously, the blue link is no good so we need to change that to white. We also want to ditch any text decoration (the underline). Now, we could stop here but the default behavior would be that only the text is clickable and not the whole bar, which is not ideal. To make the entire bar a link, we set the display property to block and the width to the full menu size (200px).

1
2
3
4
5
6
.menu-item h4 a {
  color: white;
  display: block;
  text-decoration: none;
  width: 200px;
}

Now our colored bar is looking much better. Here’s the preview:

screenshot

Making It Pretty

If you want to stick with something simple, you can skip this step, but I’m going to trudge on and add a few more visual tweaks. Go back and modify that header style block to include a gradient and some very subtle borders. You likely won’t even be able to spot the borders until the menu is closed, but combined with the gradients they’ll really help differentiate each section so they don’t all look like one big block.

01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
/*Menu Header Styles*/
.menu-item h4 {
  border-bottom: 1px solid rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 7px 12px;
   
  /*Gradient*/
  background: #a90329; /* Old browsers */
  background: -moz-linear-gradient(top, #a90329 0%, #8f0222 44%, #6d0019 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a90329), color-stop(44%,#8f0222), color-stop(100%,#6d0019)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%); /* IE10+ */
  background: linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */
}

screenshot

Hover Styles

Next we’re going to add a subtle hover style to the bar links. All we’re going to do is tweak the colors on the gradient a little so they get brighter when you hover.

01
02
03
04
05
06
07
08
09
10
.menu-item h4:hover { 
  background: #cc002c; /* Old browsers */
  background: -moz-linear-gradient(top#cc002c 0%, #6d0019 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cc002c), color-stop(100%,#6d0019)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top#cc002c 0%,#6d0019 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top#cc002c 0%,#6d0019 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top#cc002c 0%,#6d0019 100%); /* IE10+ */
  background: linear-gradient(top#cc002c 0%,#6d0019 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc002c', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */
}

screenshot

Paragraph Styles

Remember that the first item in our menu holds a paragraph and not an unordered list, so next we’ll attack this to get it looking nice. The lists will take a sizable chunk of code but the paragraph hardly requires anything. Just define the size and color, then toss in some padding.

1
2
3
4
5
6
/*First Item Styles*/
.alpha p {
    font-size: 13px;
    padding: 8px 12px;
    color: #aaa;
}

The top section is now looking great! Both the header bar and the paragraph are exactly where we need them to be.

screenshot

Unordered List Styles

There’s a ton of stuff that we need to do to get these lists straightened out. Let’s switch things up a bit and look at the code first, then I’ll walk you through it.

01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*ul Styles*/
.menu-item ul {
  background:#fff;
  font-size:13px;
  line-height:30px;
  list-style-type:none;
  overflow:hidden;
  padding:0px;
}
 
.menu-item ul a {
  margin-left:20px;
  text-decoration:none;
  color:#aaa;
  display:block;
  width:200px;
}
 
/*li Styles*/
.menu-item li {
  border-bottom:1px solid #eee;
}
 
.menu-item li:hover {
  background:#eee;
}

As you can see, the first block targets the unordered list as a whole unit. Here I set some basic sizing and font styles and removed the bullet point by setting list-style-type to none.

Next I targeted the links specifically. I moved them over, removed the underlines, set the color and performed the same display:block trick that we saw before to make the clickable area larger.

To finish things off, I applied a few custom styles to the list items themselves. The bottom border creates a separation between each item and the hover style changes the background. Here’s the result of our labor, our menu is almost finished!

screenshot

Collapse And Animate

Up to this point, we’ve kept our menu opened up so that we could see it while we style the elements within. Now that we know that all of our visual styles are exactly like we want them, it’s time to collapse each section and then set them up to pop open on hover.

By default, browsers will set the height of those unordered lists to auto, meaning they’ll be just tall enough to hold all of the content within. To collapse the menu sections so that only the bars show, we can target those unordered lists and set the height to 0. Notice that we’re leaving the paragraph alone, this will ensure that our top section is always open.

01
02
03
04
05
06
07
08
09
10
/*ul Styles*/
.menu-item ul {
  background: #fff;
  font-size: 13px;
  line-height: 30px;
  height: 0px; /*Collapses the menu*/
  list-style-type: none;
  overflow: hidden;
  padding: 0px;
}

Now our menu is much shorter and doesn’t eat up so much space. You can also finally see the benefit of those gradients and borders that we implemented before.

screenshot

Animating the Transition

Next we’ll want to open these menus back up on hover, but before we do that, let’s set up an animation so the transition is nice and gradual. Make sure you insert the various browser extensions and target the height property.

01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
/*ul Styles*/
.menu-item ul {
  background: #fff;
  font-size: 13px;
  line-height: 30px;
  height: 0px;
  list-style-type: none;
  overflow: hidden;
  padding: 0px;
   
  /*Animation*/
  -webkit-transition: height 1s ease;
     -moz-transition: height 1s ease;
       -o-transition: height 1s ease;
      -ms-transition: height 1s ease;
          transition: height 1s ease;
}

Expanding on Hover

All that’s left to do now is make it so that when you hover, the ul expands. This is tricky though so be careful. Your instinct may be to do something like “ul:hover” but that’s not what we want. Instead, we want to make it so that you can hover anywhere in that menu item, either in the bar or the unordered list. However, the item that we want expanded is still only the ul. Here’s what our selector looks like:

1
2
3
.menu-item:hover ul {
  height: 93px;
}

Sometimes reading a selector backwards is helpful when trying to figure out what it does. This tells our browser to set a height of 93px to our unordered lists when a .menu-item is hovered over.

screenshot

One important thing to note here is that we can’t just set the height to auto because for some reason this disables the animation. If you don’t want the animation, a height of auto is much more flexible and allows you to vary the number of sub-menu items. If you want to do this with the animation, you’ll have to target the height for each individually.

See It In Action

Our menu is now complete. Be sure to kick the tires in the demo to see how it all works. I’ll also throw in a link to the completed code so you can have a look at it all together.

Demo: Launch Demo
See the Code: Check out the HTML and CSS on Tinkerbin

Conclusion

I hope you enjoyed this walkthrough of building an animated vertical navigation menu. In implementation, it’s very similar to the animated download buttons that we built the other day so you should really be getting the hang of hiding and showing content using pure CSS.

Look out for an even better version of this menu to pop up on our brand new sister site, Design Curate. You’ll find a ton of great freebies there that you can download and implement in your projects today.

۱۳۹۴/تیر/۱۶ ۰ نظر موافقین ۰ مخالفین ۰

ترفند :: ابزار سرچ وبلاگ Google Custom Search

بسم الله الرحمن الرحیم.

ابزار سرچ گوگل custom seach

ابزار سرچ یا جستوجو برای وبلاگ ها بسیار حیاتی و مهم است . ابزار قدیمی گوگل که در بسیاری از سایت ها قرار گرفته کارایی خود را تا حدود بسیار زیادی از دست داده و حتی در مواردی به هیچ وجه کار نمی کند .

برای استفاده از سرچ جدید گوگل در صفحه مخصوص Google Custom Search آن پنل سرچ خود را سفارشی ترتیب دهید به اینگونه که

آدرس یا آدرس های مورد نظر خود را وارد کرده و زبان انتخابی را به All languege تغییر و برای جعبه سرچ خود یک نام انتخاب میکیند(برای تغییر آپشن ها در زمان های بعدی) و دکمه create را فشرده و کد آماده شده خود را به درون سایت یا وبلگ در جای دلخواه کپی کنید و دیگر ابزار آماده استفاده می باشد.

مزیت این کد آن جاست که بعد از سرچ درون خود صفحه شما لیست سرچ نمایش داده می شود.

۱۳۹۴/فروردين/۲۵ ۰ نظر موافقین ۰ مخالفین ۰

معرفی نرم افزار :: نرم افزار ساخت نوار menu برای سایت و بلاگ

بسم الله الرحمن الرحیم

239

نرم افزار

css3menu

ساخت نوار منو برای سایت ها

نرم افزار منو سایت

نوار منو (menu bar) برای سایت ها باعث گردش راحت تر و دسترسی سریع تر بازدیدکنندگان به مطالب سایت ها می شود. برای بوجود آوردن دستی این نوار لازم است به اصول اولیه زبان CSS , HTML آگاه بود. اما با این نرم افزار به راحتی و بدون کدنویسی می تواند نوار را به شکل دلخواه ترتیب دهی کنید.

این نرم افزار امکان کشویی بودن نوار را می دهد به طوری که در زیر هر عنوان چند زیر شاخه و زیر شاخه های بیشتری ممکن خواهد بود ؛ همان درختی کردن عناوین مختلف مد نظر .

دریافت مستقیم نرم افزار: دریافت لینک مستقیم حجم: 33.4 مگابایت | دیافت لینک کمکی از سایت پشتیبان (باید ایمیل وارد کنید)

نمایش آنلاین نمونه کار در سایت پشتیبان

۱۳۹۴/فروردين/۲۱ ۰ نظر موافقین ۰ مخالفین ۰

فیلم آموزشی برنامه نویسی c کیارش بازرگان

بسم الله الرحمن الرحیم

مطلب 206


زبان برنامه‌نویسی ++C یک زبان برنامه‌نویسی رایانه‌ای همه‌منظوره، شیءگرا، سطح بالا و چندرگه ، عمومی و با قابلیت‌های سطح بالا و سطح پایین می‌باشد. ++C به همراه جد خود C از پرطرفدارترین زبان‌های برنامه‌نویسی تجاری هست. در این درس این زبان به صورت مفصل مورد بررسی قرار میگیرد . این درس به دانشجویان همه رشته های مهندسی به خصوص دانشجویان سال اولی توصیه میشود 

کتاب پیشنهادی درس : 
برنامه نویسی به زبان C++، نویسندگان دایتل و دایتل، ترجمه دکتر مرتضی صاحب زمانی، نشر شیخ بهایی 


لینک مطالب درس، تکالیف ، امتحانات ، کوییز ها و اسلاید ها : 
اینجا را کلیک کنید 

کیارش بازرگانکیارش بازرگان ، طبق نظرسنجی اینترنتی وی یکی از برترین و محبوب ترین اساتید دانشگاه مینسوتای امریکا ست . او تحصیلاتش را در دانشگاه
صنعتی شریف در رشته الکترونیک شروع کرد و در ادامه به دانشگاه نورت-وسترن امریکا رفت . زمینه فعالیت اصلی او FPGA و VLSI میباشد . او هم اکنون دانشیار دانشگاه مینسوتای امریکاست. همچنین وی استاد مدعو در دانشگاه صنعتی اصفهان بوده است.

لیست درسها و جلسات: http://maktabkhooneh.org/course?course=bazargan466

به نقل از http://maktabkhooneh.org


توجه دانشجویان شهرستان درگز :

این مجموعه فیلم آموزشی دانلود شده و امکان کپی رایگان روی فلش وجود دارد . اگر در قسمت نظرات همین مطلب تقاضای خود را به طور خصوصی اعلام کرده و ایمیل معتبری وارد کنید . در پاسخ برای ملاقات و کپی یک قرار گذاشته می شود.

۱۳۹۳/دی/۲۱ ۱ نظر موافقین ۰ مخالفین ۰

اسکریپت اسلایدر خبری

بسم الله الرحمن الرحیم

مطلب 180


روزنامه دیواری

ترفندها

اسکریپت اسلایدر خبری

اسلایدر - اسلاید شو - slide show - slide news

در ابتدا باید بین تگ head فایل های زیر رو به سایت خودتون وارد کنید. ( این فایل ها در ضمیمه مطلب آپلود شده )

<link rel="stylesheet" href="styles/layout.css" type="text/css" />
<script type="text/javascript" src="scripts/jquery-1.4.1.min.js"></script>
<script type="text/javascript" src="scripts/jquery.slidepanel.setup.js"></script>
<script type="text/javascript" src="scripts/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="scripts/jquery.tabs.setup.js"></script>

بعد از اینکه فایل های بالا رو از ادامه مطلب دانلود کرده و در سایت خودتون آپلود کردید حالا کد های html زیر رو بین تگ های body در محل دلخواه وارد کنید.

  <div id="featured_slide">
    <div id="featured_wrap">
      <ul id="featured_tabs">
        <li><a href="#fc1">سجود برا? خدا<br />
          <span>خوش آمد?د</span></a></li>
        <li><a href="#fc2">Nullamlacus dui ipsum<br />
          <span>Nullamlacus dui ipsum conseqlo borttis.</span></a></li>
        <li><a href="#fc3">Nullamlacus dui ipsum<br />
          <span>Nullamlacus dui ipsum conseqlo borttis.</span></a></li>
        <li class="last"><a href="#fc4">Nullamlacus dui ipsum<br />
          <span>Nullamlacus dui ipsum conseqlo borttis.</span></a></li>
      </ul>
      <div id="featured_content">
        <div class="featured_box" id="fc1"><img src="images/demo/01.png" alt="" />
          <div class="floater"><a href="#">Continue Reading &raquo;</a></div>
        </div>
        <div class="featured_box" id="fc2"><img src="images/demo/02.png" alt="" />
          <div class="floater"><a href="#">Continue Reading &raquo;</a></div>
        </div>
        <div class="featured_box" id="fc3"><img src="images/demo/03.png" alt="" />
          <div class="floater"><a href="#">Continue Reading &raquo;</a></div>
        </div>
        <div class="featured_box" id="fc4"><img src="images/demo/04.png" alt="" />
          <div class="floater"><a href="#">Continue Reading &raquo;</a></div>
        </div>
      </div>
    </div>
  </div>

دقت کنید آدرس تصویر شما با توضیحات کمی از هم فاصله دارن و ابعاد عکس ها استانداردش باید 700 در 290 باشه که اگر بیشتر یا کمتر باشه مشکلی نداره .

مشاهده ی دمو

فایل های ضمیمه این مطلب

دریافت / لینک اصلاح شد.

۱۳۹۳/مهر/۱۳ ۱ نظر موافقین ۰ مخالفین ۰

معرفی سایت مرجع پس زمینه های وبلاگ و سایت

بسم الله الرحمن الرحیم

مطلب 175


روزنامه دیواری

معرفی سایت

مرجع ارائه دهنده پس زمینه صفحات وب

پس زمینه وبلاگ - پس زمینه سایت - background

http://subtlepatterns.com

سایت subtlepatterns مرجع کاملی از تصاویر یکدست پس زمینه است و تنوع بسیار زیاد تصاویر آن هر مدیر طراح وبی را متوجه خود می کند. از جمله طرح های جالب آن به بافت پارچه ، انواع کاغذ دیواری و طرح اسلیمی ، طرح های فانتزی ، طرح کودکانه ، طرح چوب ، طرح فلز ، طرح دیوار های آجری ، سیمان سفید و ... باعث شده که بسیار کامل باشد.

این سایت امکان مشاهده ی آنلاین تصویر مد نظر را دارد و دریافت رایگان طرح های خود را برای عموم قرار داده است . فایل زیپ شده تصاویر بسیار کوچک و سبک را می توانید به راحتی در سرور خود (مثل پرشین گیگ) آپلود کرده و آدرس url آن را در تگ مخصوص background قرار دهید و از پس زمینه ی جدید خود لذت ببرید.

این سایت امکان آپلود طرح مخاطبان خود را نیز دارد، اگر شما هم طراح چنین تصاویر یکدستی باشید می توانید با نام خود طرح مورد نظر را برای عموم به اشتراک بگذارید.

۱۳۹۳/مهر/۰۶ ۰ نظر موافقین ۰ مخالفین ۰

ترفند ساخت منوی تصویری - لینک دادن به قسمت های عکس

بسم الله ارحمن الرحیم

مطلب 167


روزنامه دیواری :: ترفندها

ساخت نقشه تصویری image map با استفاده از CSS

+ فیلم آموزشی

تا به حال شده که توی صفحات وب ببینید که سایت در تکه هایی از یک تصویر لینک داده؟!

نقشه تصویری راهکار جالبی است که می توان با استفاده از آن به قسمت های یک عکس لینک داد و حتی جلوه های بصری روی لینک های داخل عکس ایجاد نمود.

اموزش image map

این آموزش از کتاب مرجع html , css الگو گرفته است . لینک صفحه ی کتاب در انتهای این مطلب موجود است.

ادامه مطلب...
۱۳۹۳/مهر/۰۲ ۲ نظر موافقین ۰ مخالفین ۰

طنز نامه :: ماجرای گفتگوی مقام معظم رهبری با امیر محمد و عمو پورنگ

به نام خدا

مطلب 164 | تصاویر | طنز

مسلم آقاجانزاده تهیه کننده برنامه های عمو پورنگ با اشاره به دیدار ۶ سال پیش این گروه با رهبر فرزانه انقلاب ادامه داد: نکته جالب این بود که رهبر معظم انقلاب دیدار شش سال پیش را با جزئیات به یاد داشتند و حتی اشاره ای به گفتگوی آن دیدار با امیر محمد داشتند. از حواشی جالب توجه این دیدار نیز گفتگوی رهبر فرزانه انقلاب و امیر محمد متقیان بود که در آن رهبر معظم انقلاب به جمله عمو پورنگ در دیدار شش سال پیش اشاره می کنند که امیر محمد در آن دیدار گفته بود: عمو پورنگ من را از تخم مرغ شانسی پیدا کرده است! امیر محمد در این دیدار به رهبر انقلاب گفت: آن موقع جوان بودیم و جاهل! شما آن جمله را به بزرگی خودتان ببخشید! رهبر معظم انقلاب هم با خنده فرمودند: یعنی الان پیر شده ای؟!

منبع : لنزور

سلامتی کامل رهبر صلوات

۱۳۹۳/شهریور/۲۵ ۲ نظر موافقین ۰ مخالفین ۰

ترفند :: دکمه دانلود حرفه ای css

بسم الله الرحمن الرحیم

مطلب 162 | روزنامه دیواری :: ترفندها

کد دکمه ی دانلود حرفه ای

استفاده از CSS

download

.

.

کد زیر به CSS هست ، اون رو به فایل خارجی CSS سایت خودتون اضافه یا در متن html وارد کنید.


a.download {
    padding: 12px 20px 12px 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07rem;
    color: #c0c0c0 !important;
    position: absolute;
    
    
    overflow: hidden;
    width: auto;
    background-color: white;
    
    -moz-box-shadow: inset 0 0 0 4px #dedede;
    -webkit-box-shadow: inset 0 0 0 4px #dedede;
    box-shadow: inset 0 0 0 4px #dedede;

    background-image:
url(http://cld.persiangig.com/preview/LtUKbncIcf/501188402113973845.png);
    background-repeat: no-repeat;
    background-position: 112px -34px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;



}
a.download:link {
    text-decoration: none;
}

a.download:hover,
a.download:focus {
    color: #FFF !important;
    padding: 12px 50px 12px 20px;
    background-color: #53bf6b;
    background-position: 112px 18px;
    text-decoration: none !important;
    -moz-box-shadow: inset 0 0 0 0 #CCC;
-webkit-box-shadow: inset 0 0 0 0 #CCC;
box-shadow: inset 0 0 0 0 #CCC;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

a.download:active {

}

در کد بالا دکمه طراحی شده ؛ برای استفاده در مطلب وبلاگ یا سایت فقط نیاز به فراخوانی داره :

<p><a class="download" herf="secad.ir" >download</a></p>

فایل ضمیمه ی کد css برای لینک به سند : http://cld.persiangig.com/preview/lImAyMUhAM/download-b.css

* مورد توجه دوستان تازه کار :)

برای لینک دادن به فایل cssسه راه وجود داره:

         1- می توانید از سرویس بیان که به طور پیش فرض قابلیت کنترل کدهای css رو داره استفاده کنید.

         2- استفاده از سایت پرشین گیگ (آموزش استفاده از پرشین گیگ :  http://www.aparat.com/v/23BVO )

         3- وارد کردن کد css در داخل html به طور مستقیم :

<style type="text/css">
/* your CSS codes */
</style>

منبع : secad.ir

۱۳۹۳/شهریور/۲۴ ۰ نظر موافقین ۰ مخالفین ۰

secad.ir