SitePoint Sponsor

User Tag List

Page 5 of 5 FirstFirst 12345
Results 101 to 125 of 125
  1. #101
    SitePoint Addict
    Join Date
    Jul 2011
    Location
    Hyderabad,India.
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    atleast what i have done is correct or not.
    is that code can be done in much shorter way.....

  2. #102
    SitePoint Addict
    Join Date
    Jul 2011
    Location
    Hyderabad,India.
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ravi951 View Post
    atleast what i have done is correct or not.
    is that code can be done in much shorter way.....
    i have checked the shopping cart plug in u given me.it is simple.i have 2 js files namely jquery-1.3.2.min and jquery.smartcart-2.0 so we need not worry
    how these code is written as they are ready made....
    is that so..
    so we need to worry about only php ansd css right.....

  3. #103
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by ravi951 View Post
    so we need to worry about only php ansd css right.....
    That's all included as a part of the smart cart package.
    Smart Cart - flexible and feature rich jQuery plug-in for shopping cart - Tech Laboratory
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  4. #104
    SitePoint Addict
    Join Date
    Jul 2011
    Location
    Hyderabad,India.
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi,
    in the smart cart plugin in Smart Cart - jQuery shopping cart plugin
    http://http://plugins.jquery.com/plu.../shopping-cart
    version 0.95 beta i want products on one page and no of items selected on other page.
    please kindly tell me how to do that.......

  5. #105
    SitePoint Addict
    Join Date
    Jul 2011
    Location
    Hyderabad,India.
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by paul_wilkins View Post
    --------------------------------------------------------------------------------

    hi,
    in the smart cart plugin in Smart Cart - jQuery shopping cart plugin
    http://http://plugins.jquery.com/plu.../shopping-cart
    version 0.95 beta i want products on one page and no of items selected on other page.
    please kindly tell me how to do that.......

  6. #106
    SitePoint Addict
    Join Date
    Jul 2011
    Location
    Hyderabad,India.
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by paul_wilkins View Post
    hi,
    i want to implement a simple shopping cart with 3 items with their id,name,description and price.
    tell me the logic how really the shopping cart works.what is the logic behind it using arrays...

  7. #107
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by ravi951 View Post
    tell me the logic how really the shopping cart works.what is the logic behind it using arrays...
    Well, arrays are a common way to store information about a varying number of items.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  8. #108
    SitePoint Addict
    Join Date
    Jul 2011
    Location
    Hyderabad,India.
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    tell me exact logic in the shopping cart using flow diagram which gives better idea

  9. #109
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by ravi951 View Post
    tell me exact logic in the shopping cart using flow diagram which gives better idea
    You'll have to rely on what is mentioned in their documentation of the project. I cannot take the time to document that further for you.

    Mostly their documentation is to help you use their plugin, not to help you learn how to write it yourself.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  10. #110
    SitePoint Addict
    Join Date
    Jul 2011
    Location
    Hyderabad,India.
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    tell me which one to use when like there isjquery.js and jquery-min-1.3.2.js and many other.how to know which file includes which function.....

  11. #111
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by ravi951 View Post
    tell me which one to use when like there isjquery.js and jquery-min-1.3.2.js and many other.how to know which file includes which function.....
    That information is in their documentation.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  12. #112
    SitePoint Addict
    Join Date
    Jul 2011
    Location
    Hyderabad,India.
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    do u know any websites online or offline that teaches jquery form the scratch so as we can be implemented in real projects......

  13. #113
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by ravi951 View Post
    do u know any websites online or offline that teaches jquery form the scratch so as we can be implemented in real projects......
    That's a good question, and it's one I don't readily know the answer to. There are some books though that the author of jQuery has written, which you might want to take a look at. John Resig - JavaScript Programmer

    Mostly though when it comes to jQuery, it is good JavaScript programming techniques that are used, along with jQuery documentation to help you learn about the specifics of jQuery itself.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  14. #114
    SitePoint Addict
    Join Date
    Jul 2011
    Location
    Hyderabad,India.
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any book you know for shopping cart using jquery like implementation of shopping cart using jquery.....
    tell me good book for studying from scratch

  15. #115
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by ravi951 View Post
    any book you know for shopping cart using jquery like implementation of shopping cart using jquery
    Nope, none not that I know of, no.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  16. #116
    SitePoint Addict
    Join Date
    Jul 2011
    Location
    Hyderabad,India.
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    reply

    the book u mentioned for john resig is not available....
    kindly tell me online tutorials for jquery using the same.....

  17. #117
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by ravi951 View Post
    the book u mentioned for john resig is not available....
    kindly tell me online tutorials for jquery using the same.....
    Examples of online jquery tutorials are:
    http://docs.jquery.com/Tutorials
    10 Visual jQuery Tutorials for Designers
    19 Unique jQuery Tutorials for Web Developers
    20 jQuery Tutorials and Plugins to Impress Your Friends
    30 Best jQuery Tutorials
    40+ Excellent jQuery Tutorials
    51+ Best jQuery Tutorials and Examples

    And as far as the books go, this Amazon page lists John Resig's books and gives more information about them for you.
    http://www.amazon.com/gp/search/ref=..._id=B001JPAMBM
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  18. #118
    SitePoint Addict
    Join Date
    Jul 2011
    Location
    Hyderabad,India.
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i want exclusively jquery book from the scratch..
    is it available......

  19. #119
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,183
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Is this what your looking for?

    http://www.sitepoint.com/books/jquery1/
    Blog/Portfolio | Evolution Xtreme | DFG Design | DFG Hosting | CSS-Tricks | Stack Overflow | Paul Irish
    Having lame problems with your code? Let us help by using a jsFiddle

  20. #120
    SitePoint Addict
    Join Date
    Jul 2011
    Location
    Hyderabad,India.
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    reply

    hi in my below jsfiddle my code is not executing kindly tell me how tom execute it.....
    below is my link to jsfiddle.....

    http://jsfiddle.net/ravi951/JwLeD/

  21. #121
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,183
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    The answer to your question can be found here
    Blog/Portfolio | Evolution Xtreme | DFG Design | DFG Hosting | CSS-Tricks | Stack Overflow | Paul Irish
    Having lame problems with your code? Let us help by using a jsFiddle

  22. #122
    SitePoint Addict
    Join Date
    Jul 2011
    Location
    Hyderabad,India.
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so i need to create a javascript for id=sc_cart and for class=smartcart() then i have to write
    the code for both is it......

  23. #123
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,183
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    The problem overall is you don't have a jQuery plugin called smartCart() which is causing the issue, if you comment out the line that tries to create a new instance of the non-existent plugin the rest of your code should run without any issues otherwise we can help you solves any issues that may arise after doing so.
    Blog/Portfolio | Evolution Xtreme | DFG Design | DFG Hosting | CSS-Tricks | Stack Overflow | Paul Irish
    Having lame problems with your code? Let us help by using a jsFiddle

  24. #124
    SitePoint Addict
    Join Date
    Jul 2011
    Location
    Hyderabad,India.
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    actually i am a beginner in jquery i want to do it by simple method by just using class and id function......
    whether is it possible with both of them..
    if not then i have to go for pluins.....

  25. #125
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by ravi951 View Post
    k below is my link to the script......http://jsfiddle.net/ravi951/NfjwK/
    Okay, from what I see of the code, about the only thing that the validate function is doing, is to preload the arrow - which isn't very useful from a validate perspective.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


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
  •