Script showing different data based on which site user is
Closed
Tobruk
Posts
9
Registration date
Thursday February 6, 2014
Status
Member
Last seen
February 9, 2014
-
Feb 7, 2014 at 12:29 PM
Blocked Profile - Feb 7, 2014 at 08:21 PM
Blocked Profile - Feb 7, 2014 at 08:21 PM
Related:
- Script showing different data based on which site user is
- Tmobile data check - Guide
- Anu script manager 7.0 free download filehippo ✓ - Windows 7 Forum
- Phpmyadmin access denied for user 'root'@'localhost' - Guide
- Gta 5 data download for pc - Download - Action and adventure
- Based on the values in cells b77 b81 ✓ - Excel Forum
1 response
Tobruk,
Those are server side produced. What that means, is the server can ask the client all sorts of cool stuff, and then based on a logical set of instructions, PRODUCE a specific Page/Link/URL/download listing based on O/S, for that user.
A widget, is the same thing, but on a "third party platform".
You must remember, you have to design your product to be used by 100% of the people, and if I have my scripting turned off my browser, your <script> won't work on my client, as it is read by the client, and performed by the client. A server side script is capable of changing the HTML code based on different logic of the user(client in this example).
But then again, what do I know!
--
"If you can't soar with the eagles, then don't fly with the flock!" - Oliver Sykes; Bring Me The Horizon
Those are server side produced. What that means, is the server can ask the client all sorts of cool stuff, and then based on a logical set of instructions, PRODUCE a specific Page/Link/URL/download listing based on O/S, for that user.
A widget, is the same thing, but on a "third party platform".
You must remember, you have to design your product to be used by 100% of the people, and if I have my scripting turned off my browser, your <script> won't work on my client, as it is read by the client, and performed by the client. A server side script is capable of changing the HTML code based on different logic of the user(client in this example).
But then again, what do I know!
--
"If you can't soar with the eagles, then don't fly with the flock!" - Oliver Sykes; Bring Me The Horizon
Feb 7, 2014 at 07:32 PM
<%IF request("admin")="employee" then%>
<!--#include file="employeeheader.txt"-->
<script src="\common\vip\VIPcommon.js" type="text/javascript" language="javascript"></script>
<%ELSE%>
<!--#include file="vistorheader.txt"-->
<script src="\common\common.js" type="text/javascript" language="javascript"></script>
<%END IF%>
NOTICE the differences based on the VARIABLE of the return of REQUEST("ADMIN")!
Feb 7, 2014 at 08:21 PM
<script language="javascript">
<!--
function closeit() {
window.opener.location.href=window.opener.location.href + "<%=thevariable%>";
window.close();
}
-->
</script>