LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-11-2011, 01:19 AM   #1
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
Javascript GUI stuff on 123reg


Hi,
I went to http://www.123-reg.co.uk/ the other day, and I'm really impressed with the way, when you click on domain, it adds it to the cart WITHOUT A REFRESH.
But what I really want to know is - how does it do the slick little effect when you click "Add to basket", when it "appears" on the right hand side?

Are there any tuts on the web for this?


Thanks.
 
Old 01-12-2011, 05:25 PM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
I wasn't going to post, as I disable javascript in my browser... If you install the firefox addon Firebug (or an equivalent for whatever browser you use) it will allow you to "step through" the javascript a line at a time, so you can see what parts of the source code are doing the animation effect. If you find the relevant bits and post them, along with what you understand about the code, then we can help you to learn exactly what it's doing I don't know how much javascript you know currently, but if you're starting out (and I guess even if you're not) then www.w3schools.com is an incredibly useful and informative website
 
Old 01-13-2011, 07:47 AM   #3
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Original Poster
Rep: Reputation: 62
Wellll.... I'm not really interested in looking at other people's code, and not going through it all to find only the slick effect stuff. Just wanted to know if anyone else here already works on this type of stuff, and could post just a *small* amount of code to help me....
I just wanted some *basic* info to start with - how do you draw inside the browser? Is this effect thing using HTML5 Canvas?
 
Old 01-14-2011, 03:51 PM   #4
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Not by the looks of things, they use JQuery it's essentially manipulation of CSS properties in a javascript library
 
Old 01-16-2011, 02:14 AM   #5
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Original Poster
Rep: Reputation: 62
i see i see thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
advanced kickstart - Displaying GUI stuff from the %post section johnnymta Linux - Server 1 10-01-2009 04:44 AM
linux html-javascript GUI builder kpachopoulos General 2 12-26-2006 07:45 AM
Ubuntu Edgy/Firefox 2/Javascript - Firefox closes accessing websites with Javascript Interdictor Ubuntu 8 11-02-2006 11:58 AM
When installing new stuff in suse 9.1, do you uninstall old stuff first? randon SUSE / openSUSE 1 12-25-2004 04:37 PM
Without GUI? and other stuff M.R Linux - General 5 04-06-2004 07:14 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration