SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Member
    Join Date
    Feb 2013
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    text/logo appear after you scroll down

    Hello.
    I've noticed that quite few websites using technique, were when user scrolls down, something more appears on page eg. it can be nav list or logo ( as in this example http://www.zippergaleria.com.br/pt/ once you scroll slightly down, there logo appears on left corner), I'm sure I've seen on sitepoint somewhere as well

    I tried figure out how to make this happen ... but ...

    Asking for your help guys, can you please explain me how to do it ?

    (by the way, I'm novice, currently learning only CSS3 and HTML5. At the moment my idea is to master CSS and HTML, try to make many cool stuff on websites without using Javascript or anything else. Surely this technique can be done with css and html only, please tell me that i'm right )

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,107
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by MrPaulius View Post
    Surely this technique can be done with css and html only, please tell me that i'm right
    Nope, you need JavaScript for that.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  3. #3
    SitePoint Member
    Join Date
    Feb 2013
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hrrr ... that means i need to start cracking java

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,107
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by MrPaulius View Post
    i need to start cracking java
    JavaScript ... which is quite different from Java.

    Yes, it's very handy, though people get carried away with it, I feel—mostly using it for fancy stuff that gets in the way more than anything.

    In a lot of situations, you can just cut and paste code rather than reinventing the wheel each time. There are many thousands of free scripts out there for doing all sorts of things, including this.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  5. #5
    SitePoint Member
    Join Date
    Feb 2013
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ralph.m View Post
    JavaScript ... which is quite different from Java.
    I am bit confused what is difference between java and javascript. Could you briefly explain me that?

  6. #6
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,107
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    The names are similar, just like "ham" is similar to "hamster", or "car" is similar to "carpet" ... but otherwise they are unrelated. They are two separate programming languages. You can read plenty about them on the web, such as Wikipedia. Javascript was designed primarily for scripting web pages, though it has much wider uses as well, wheras Java is a programming language not mainly associated with the web. (I'm not qualified to say too much, though. )
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  7. #7
    Non-Member
    Join Date
    Apr 2013
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah you'll need to start cracking javascript. But I wouldn't recommend it until you're thorough with HTML and CSS. Javascript has a lot more in it and its easier to learn once you know how to use.

    JavaSCRIPT is a scripting language used within websites and Java is a high-level programming language. they are similar in terms of syntax and rules of application which means if you know either one of them, its easy to learn the other.

  8. #8
    SitePoint Member
    Join Date
    Feb 2013
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've got a Javascript Bible by Goodman Morrison, it is HUGE It is waiting on my desk, but I'm still working on css/html. Trying to master it .

    Does anyone know that book Javascript Bible by Goodman Morrison? Is it good? It is a bit old, probably ~4/5 y old. With javascript, is it same case as with html/css as they being updated every few years ?

  9. #9
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,107
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by MrPaulius View Post
    With javascript, is it same case as with html/css as they being updated every few years ?
    Certainly new things are being added all the time, but that doesn't mean that a book from some years back is useless. My favorite JS book is from 2005, and it's perfectly relevant for today. Once you've learned the foundations, you can read about what's new. Most of the new stuff / practices are for higher level JS rather than the basics.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •