SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Member
    Join Date
    Jul 2002
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Try to figure this out....a challenge !!!

    I am intrigued by the jscripts of this site, click on the 4 icon at the bottom of the page. Really neat how it increased the font, decreases and splits the columns ...Cam someone tell me how to do this?

    http://www.iht.com/articles/63755.html

  2. #2
    Sultan of Ping jofa's Avatar
    Join Date
    Mar 2002
    Location
    SvÝ■jˇ­
    Posts
    4,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://www.iht.com/scripts/ihtArticle.js

    Search for the functions eventFaceLarger(), eventFaceSmaller(), eventOneColumn() & eventThreeColumn()

  3. #3
    SitePoint Addict psychedelic's Avatar
    Join Date
    Feb 2002
    Location
    Boston
    Posts
    284
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can download the script from the man who created it:

    http://www.smokinggun.com/demos/sg_layout.php

    It's called sg layout and it's under GPL

    A friend showed this to me a few months ago, def. pretty cool.
    The Internet is prettier on a Mac.

  4. #4
    SitePoint Wizard DougBTX's Avatar
    Join Date
    Nov 2001
    Location
    Bath, UK
    Posts
    2,498
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    OT..

    Nice script

    Small bug if anyone is interested: if you put it in single columb mode, the number of pages counter still goes up (saying in page 1 of 4 for example)

    Hmm, there's something funny about that counter: if you are in single columb format, click print, then click back, it says that you are on page 1 of 0.

    Anyway, still nice script, and I'll spend some time reading it over to find out how it does its stuff

    Douglas
    Hello World

  5. #5
    Gone!
    Join Date
    Aug 2001
    Location
    Witty Location Parody
    Posts
    3,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Interesting feature on the front page of this site:

    http://www.pirated-sites.com/


  6. #6
    SitePoint Columnist Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,066
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Pirated Sites seem to be over stepping the mark a bit. So someone created their own implementation of a feature that exists in something that's been GPLd anyway? The clippings thing is a nice idea, and there's absolutely nothing wrong with copying / adapting nice ideas. If there was then there would only be one car company manufacturing cars with electric windows.

  7. #7
    Gone!
    Join Date
    Aug 2001
    Location
    Witty Location Parody
    Posts
    3,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Skunk
    Pirated Sites seem to be over stepping the mark a bit. So someone created their own implementation of a feature that exists in something that's been GPLd anyway? The clippings thing is a nice idea, and there's absolutely nothing wrong with copying / adapting nice ideas. If there was then there would only be one car company manufacturing cars with electric windows.
    Agreed. Even if that was worthy of inclusion on the site (which it isnt), then it surely doesnt deserve to be plastered in the "spotlight" section. Its like saying having Smileys on your BB is an infringement.

  8. #8
    Perl/Mason Guru Flawless_koder's Avatar
    Join Date
    Feb 2002
    Location
    Gatwick, UK
    Posts
    1,206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @ SKUNK!

    you mean YOUR car has electric windows TOO!



    Flawless
    ---=| If you're going to buy a pet - get a Shetland Giraffe |=---

  9. #9
    SitePoint Member
    Join Date
    Jul 2002
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Talking nice script but not downloable

    I tried to download the files but there are some bugs on them...anywhere else to download besides www.smokinggun.com


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
  •