2
* FCKeditor - The text editor for internet
3
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
5
* Licensed under the terms of the GNU Lesser General Public License:
6
* http://www.opensource.org/licenses/lgpl-license.php
8
* For further information visit:
9
* http://www.fckeditor.net/
11
* "Support Open Source software. What about a donation today?"
13
* File Name: fckurlparams.js
14
* Defines the FCKURLParams object that is used to get all parameters
15
* passed by the URL QueryString (after the "?").
18
* Frederico Caldeira Knabben (fredck@fckeditor.net)
21
// #### URLParams: holds all URL passed parameters (like ?Param1=Value1&Param2=Value2)
22
var FCKURLParams = new Object() ;
24
var aParams = document.location.search.substr(1).split('&') ;
25
for ( var i = 0 ; i < aParams.length ; i++ )
27
var aParam = aParams[i].split('=') ;
28
var sParamName = aParam[0] ;
29
var sParamValue = aParam[1] ;
31
FCKURLParams[ sParamName ] = sParamValue ;
b'\\ No newline at end of file'