Showing posts with label web. Show all posts
Showing posts with label web. Show all posts

Saturday, 6 October 2012

Web Mart E-Shopping Website Project

Web Mart E-Shopping Website Project

Tech:
C# .Net
Web App
VS 2008
Sql Server 2005


Abstract:
Online Shopping Project Web based.


Link: http://www.mediafire.com/?dw6yc042pps1f3c

How to use session in Java web Project

Creating / Using session : Java Web Project



// NameSpace imports
import java.util.Map;
import com.opensymphony.xwork2.ActionContext;
/* Use openSymphony .jar for above import
//Declaration of Session
private Map session;
//Create setter getter
session = ActionContext.getContext().getSession();
//Use session.put & session.get
session.put(“Id”,userID );
String userId = (String)session.get(“Id”);

How to animate web buttons

Animate web buttons (zoom in zoom out)

Exactly not an animation. Use this javascript code to zoom in zoom out buttons on mouse hover.

--- Below is Javascript code ---



function buttonZoom(id){
      var x = Number(document.getElementById(id).width);
      for(var i=x; i<=Number(x+20); i++){
            document.getElementById(id).width = Number(i);
      }
    }
   
    function buttonZoomOut(id){
      var x = Number(document.getElementById(id).width);
      for(var i=x; i>=Number(x-20); i--){
            document.getElementById(id).width = Number(i);
      }
    }
----- Below is JSP Code ---
<embed id="button" type="image/svg+xml" src="" onclick="as();"
onmouseover="buttonZoom(this.id);" onmouseout="buttonZoomOut(this.id);" width="60"/>

Note: Specifying width in jsp embed tag is necessary

Shopping Cart Website Project

GSM Shopping Cart

Tech:
C# .Net
Web App
VS 2008
Sql Server 2005


Abstract:
Online Shopping Project for Mobile Phones/ GSM stuff.

Link: http://www.mediafire.com/?dw6yc042pps1f3c