Changes between Version 13 and Version 14 of pcauto_pconline_3.3.0/web-intf


Ignore:
Timestamp:
11/19/2012 10:06:28 AM (13 years ago)
Author:
daiyuwen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_pconline_3.3.0/web-intf

    v13 v14  
    161161 
    162162 
     163http://xxx.xxxxx.xxxx/xxxxxx?pre=0&next=1&orient=0 
     164<script> 
     165function getURLParameter(findKey){ 
     166        var href=window.location.href; 
     167        var params=href.slice(href.indexOf("?")+1,href.length); 
     168        var param=params.split("&"); 
     169        for(var i  in param){ 
     170                var keyVal=param[i].split("="); 
     171                var key=keyVal[0],val=keyVal[1]; 
     172                if(key==findKey){ 
     173                        return val; 
     174                } 
     175        }; 
     176        return ""; 
     177} 
     178 
     179function showPre(){ 
     180        return getURLParameter("pre"); 
     181} 
     182function showNext(){ 
     183        return getURLParameter("next"); 
     184} 
     185function Orientation(){ 
     186        return getURLParameter("orient"); 
     187} 
     188 
     189</script> 
     190 
    163191 
    164192}}}